03-05-2011 03:50 AM - edited 03-05-2011 03:55 AM
What does the [working directory] represent?
I am also unable to get my app to get past the loading screen, but I don't know what to input in place of that tag
03-05-2011 07:06 AM
I 've been trying all night to test my app out but I still can't get past the loading. My splash image comes up and then I get the grey screen with the loading dots.....
I move all my files into the same directory as the SDK.
I try this:
blackberry-airpackager -package squivos_app.bar -C ./ -installApp -lanuchApp blackberry-tablet.xml squivos_app-app.xml squivos_app.swf squivos_icon.png squivos_splash.png squivos_runtime_info.xml -device 192.xxx.xxx.xxx -password squivo_hopes_this_works
I tried with and without the -C ./ but I can't seem to shake the loading page. It should be noted I built my swf with Flasch CS5 (windows 7) and when I test it internally it runs great.
03-05-2011 08:47 AM
CD (change directory) to the directory of your project file. The -C would then be the /bin-debug directory since that is where the compiled information is at. You can also just add the path to each resource being included. For example:
blackberry-airpackager -package squivos_app.bar -C bin-debug -installApp -lanuchApp bin-debug/blackberry-tablet.xml src/squivos_app-app.xml bin-debug/squivos_app.swf bin-debug/assets/squivos_icon.png bin-debug/assets/squivos_splash.png bin-debug/squivos_runtime_info.xml -device 192.xxx.xxx.xxx -password xxxxxx
Made some assumptions where the files should be
03-05-2011 11:10 PM
Thanks for elaborating for me. I get it, I think, but I'm still having problems.
The -C bin-debug command throws an error:
File or dir C:\user\squivo\squivo_app\bin-debug does not exist
I've replaced 'bin-debug' with the directory all my files are in - [squivo_app] - that will compile and launch in the simulator but won't run.
Is there something I've forgotten to do or include? All the reading and documentation is for Flex and Flash Builder. My squivo_app.swf was built straight from an External AS3 Class loaded into the squivo_app.swf in plain old Vanilla Flash CS5. So I even tried including my squivo_app.as into the build.... same result....
keep chuggin away at it I guess
03-06-2011 12:32 AM - edited 03-06-2011 02:31 AM
I understand why I need Flex Now.
Or... at least... I thought I did. I'm so confused now. There's another thread on this forum regarding Apps developed in Flash CS5 not getting past the loading screen.
Something I've discovered is the loading screen on the tablet is actually EXACTLY the same screen you get if you click on a .swf published for AIR2.5. In other words, I get the same problem when I preview my published .swf in an environment outside the Flash test environment
03-06-2011 03:53 AM
Okay. I can't believe I still can't get it to work! I've tried almost everything... and will try anything once! And after everything I've read and half understood... It looks like this SHOULD work:
C:\squivo_app_folder>blackberry-airpackager -package squivo_app.bar -C bin-debug -installApp -launchApp src/squivo-app.xml bin-debug/squivo.swf bin-debug/blackberry-tablet.xml bin-debug/squivo_icon.png bin-debug/squivo_splash.png bin-debug/squivo_runtime.xml -device 192.xxx.xxx.xxx -password xxxxx
here's my file structure inside my /squivo_app_folder:
I'm going to make an app that makes apps for you once I've figured this
03-06-2011 10:53 AM
Here is a full command that I use that works. I "cd" to the top level directory of the project where I have this in a script file (.bat for windows). Does this help?
"C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\bin\blackberry-
airpackager" -package Clock.bar -C bin-debug -installApp -launchApp src/Clock-app.xml bin-debug/Clock.swf bin-debug/blackberry-tablet.xml bin-debug/assets/icons/clock_icon_86.png bin-debug/assets/splash.png -password xxxxxx -device 192.168.xxx.xxx
03-06-2011 11:38 AM - edited 03-06-2011 11:39 AM
I've tried both 0.9.3 and 0.9.2 with the same result.
I even tried mixing them: compiling with 0.9.3 for 0.9.2 simulator and vice versa