01-18-2013 03:35 PM
Hello All.
With BB10 finally around the corner, we decided to return to the world of BB and begin to port our apps. We work in CS6, and one of the first hurdles was getting things to work since CS6 doesn't officially support AIR 3.1
I believe (with the help of member here) got the swf to compile properly as swfdump shows:
<swf xmlns='http://macromedia/2003/swfx' version='14' framerate='30' size='15360x25600' compressed='false' >
However, as before (just building in AIR 3.5) the app will install to the device, but will not actually launch (pretends to launch, then returns to icons list). We've tried bundling the Graphical AID as well as command line -- using variations of the below:
blackberry-airpackager -devMode -debugToken "DebugToken.bar" -package MyApp.bar -installApp -launchApp -forceAirVersion 3.1 -device IP_ADDRESS -password DEVICE_PASS MyApp-app.xml MyApp.swf icon57x57.png icon114x114.png splash.png anes\*.ane
We've tried the above without -forceAirVersion, with and without the anes etc. All results in the same. The .bar being used was built and signed with the Graphical Aid.
Anyone else have experience here?
01-18-2013 03:38 PM
I'll also add, that in case it's something with the device, I tried to install to the simulator as well, but can't seem to get a proper IP address for that. I wish I'd at least get an error message telling me why the app won't launch.
01-18-2013 03:48 PM
Hi. Do you have some warning result after "successfully" build with Graphical Aid.?
Also At the web room where is hosted the portbb10 could help? do you aks there.
01-18-2013 03:51 PM
Hi DitoAu,
I am not sure what the web room is that you mentioned? Can you clarify?
There are no errors after the build. Here's the output:
Info: Bar signed.
Info: Signing successful (RDK)
Info: Bar signed.
Info: Signing successful (AUTHOR)
01-18-2013 04:05 PM - edited 01-18-2013 06:03 PM
ok. here is
retry the loging. , please re post here.
thax.
01-18-2013 04:08 PM - edited 01-18-2013 04:30 PM
Thanks, I'll try that.
*edit* blah, a bunch of noise/chit-chat going on in there. Hopefully RIM takes a breather and has time to update AIR and/or do a writeup on how to get things working.
01-19-2013 08:48 PM
i am having the same problem, please help!!!!
01-19-2013 08:55 PM
I package the .bar with Flash builder 4.6 , if you came from .swf from cs5.5 or cs6, what I did was using the loader method, with urlRequest to load the swf to display list, if you don't use any qnx lib.
01-19-2013 09:11 PM
Hi All, I solved my own issue (for the most part). The biggest issue was that there was an ANE that wasn't supported still in the app's XML file. Once removed, I can actually build with AIR 3.5 and it would run on the device, so long as I specified the forceAirVersion flag.
So, if anyone else is having an issue, I would first try a REALLY simple project and see if it builds and runs, then work back from there.
01-21-2013 09:36 AM
Thanks for your help, still a no go.