I had some fun today playing with the BlackBerry Tablet SDK. In addition to getting a little demo up and running I got to show off some cool multiscreen goodness. Basically, I wrote one AIR app targeted at the Samsung Galaxy tab and the BlackBerry PlayBook (emulator, no device for me yet). I got them both to compile and install at the same time.
They also both ran, which was even awesomer.
I’ve embedded GISTs of the ANT script and properties file. Enjoy.
Dude. I was looking into this today. Thank you!
LikeLike
I’ve run into a problem. I’m using a smaller version of your code that will only compile and package for Android. It will not install. So just the two steps. The ANT script is failing with:
[mxmlc] Loading configuration file C:Program Files (x86)AdobeAdobe Flash Builder Burritosdks4.5.0frameworksairmobile-config.xml
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(10): Error: Definition com.adobe.utils:XMLUtil could not be found.
[mxmlc] import com.adobe.utils.XMLUtil;
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(11): Error: Definition com.adobe.xml.syndication.rss:Item20 could not be found.
[mxmlc] import com.adobe.xml.syndication.rss.Item20;
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(12): Error: Definition com.adobe.xml.syndication.rss:RSS20 could not be found.
[mxmlc] import com.adobe.xml.syndication.rss.RSS20;
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(66): Error: Type was not found or was not a compile-time constant: RSS20.
[mxmlc] var rss:RSS20 = new RSS20();
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(59): Error: Access of undefined property XMLUtil.
[mxmlc] if(!XMLUtil.isValidXML(data))
[mxmlc] C:UsersRaymondAdobe Flash Builder Burrito PreviewSimpleRSSsrcviewsSimpleRSSHome.mxml(66): Error: Call to a possibly undefined method RSS20.
[mxmlc] var rss:RSS20 = new RSS20();
These are all classes available to my project via the libs folder. So somehow mxmlc is missing them.
LikeLike
Ok, so adding:
Seemed to work well. Any reason why _not_ to use this?
LikeLike
Nope, no reason to not do that. Unless you’d rather selectively pull them in.
LikeLike