01-27-2011 08:11 PM
01-27-2011 08:26 PM
To clarify. It does not have to be in the /src folder, in or under it works. Typically, there is an /assets folder under /src where things like icons and images are placed.
I was told it needed to be in src to work and it has only ever worked for me when it has been in the src folder. All my other images are in assets and they work fine.
Please don't take this as me being rude (just curious), but jtegen are you able to get it working if you put your icon in anything other than src?
01-27-2011 08:34 PM
01-27-2011 08:40 PM
01-27-2011 08:51 PM
01-27-2011 09:04 PM
Hmm.. when FlashBuilder compiles it expects everything to be under the "src" directory unless explicitly linked...
Having said that, my assets directory is under src, so that's definitely not the issue. I've also tried having it directly in the same directory as the blackberry-tablet.xml, to no avail.
01-27-2011 09:21 PM
I am new to this, but the only way I've ever gotten it to work is when blackberry-tablet.xml is directly under src. Might be worth a shot if you have it under src but in a different folder.
01-27-2011 09:25 PM
To analyze a problem like that, inspect your .bar file. A .bar file is just a zip file with a different file extension. Either use a zip extraction program that doesn't care about the extension, or add ".zip" to it yourself and then extract.
In the air/ folder you should see both the blackberry-tablet.xml file, and your icon. The filename for your icon should match the name specified in that blackberry-tablet.xml file.
If both of those items are in the .bar and correct then it would be hard for things not to be working.
So I finally got around to checking my .bar file and guess what, no blackberry-tablet.xml* and no splashscreen.png. Both show up in my bin-debug folder but not in the .bar file. How might I get them in there?
*I'm not sure how this makes sense as my icon shows up.
01-27-2011 10:14 PM
hmm, i don't see a way to define it in the blackberry-airpackager options... Am I blind? (could be)
Am I supposed to point to the AIR app xml, or the blackberry-tablet.xml when doing something like:
blackberry-airpackager -package myApp.bar myApp-app.xml myApp.swf
As I tried to hint there, I'm pointing to the AIR one atm
01-28-2011 07:46 AM
Here is the command I use (Windows):
"C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.2\bin\blackberry-