01-30-2011
10:56 PM
- last edited on
08-08-2011
01:04 PM
by
MSohm
to compile without debug information.
Way too many duplicate questions going on, so I figured I would just make one thread to hold the most common. Feel free to post anything that comes up a lot and I'll try to edit it into this post and keep it updated.
Please note this is not an official thread and simply represents the collective knowledge of the developers in this forum.
Here are some useful articles that will help you get started:
I've submitted my app. How long will it take for me to know if it is approved?
Usually, Blackberry App World app approval should take around 2 weeks.
How can I code-sign my app?
This thread provides a walkthrough for signing your app. If you have any issues, please read through the whole thread. Chances are your issue is discussed there.
I don't have Flash Builder 4. Can I develop an app using another apllication?
Yes. Develop your app using your application of choice (e.g. Flash Pro, FlashDevelop) and then follow this guide to use the command line to package a BAR file that you can submit.
How can I lock my screen orientation to landscape mode?
In your *-app.xml file under <initial window> make sure these values are present:
<autoOrients>false</autoOrients>
<aspectRatio>landscape</aspectRatio>
I don't see BlackBerry Tablet OS when I start a new Flex or Actionscript mobile project?
Make sure you installed (and ran) the SDK and Flash Builder as "administrator".
Make sure during installation you select "English: International".
Will my MouseEvents trigger from a touch?
Every TouchEvent will also fire off a MouseEvent, so you should be fine. However, MouseEvents will not be abel to handle Multi-Touch input.
How can I access the GPS/Camera/Accelerometor on the simulator?
There is no way to access these with the current simulators. Check this thread for a method of testing GPS provided by jtegen.
What size should my app's icon be?
86x86. Icons larger than this will not display. For more info read the docs.
You will also need 480x480 icon for display in Blackberry App world.
When trying to test my app on the simulator I get this error: "Error: Username or password is invalid or not specified or time on the device is out of sync."
Make sure that the time and date on the simulator matches the time and date on your system. See this thread for more info.
How can I test an orientation change on the simulator?
Swipe up from the bottom right corner of the device.
How can I navigate between screens in my app?
Navigating through pages/screens is simply a matter of adding and removing the relevant pages (children) as necessarry.
See this post for an example.
Where should I save my app data to on the Playbook?
See this thread for more info.
How to i build a .bar file for production? / My App name is myApp-debug how to get rid of the -debug?
(Burrito 4.5, courtesy of JRab)
Go to Projects > Export Release Build
From there near the bottom choose the option to "Export and sign a plat-form..." and then hit finish and your exported .bar file should be under the root directory of the project you just exported.
There will be a pop up stating it could not be installed just hit ok and ignore it for now.
You can confirm the bar file creation success by installing it on to your device via the command line:
blackberry-deploy -installApp -package [PackageName].bar -device [DeviceIP]
and clicking on it in the device and see it run.
make sure you are in the directory of your newly created bar file for the command line to work.
Or:
In FB4, in the project's Properties window, under Flex Compiler, you can add
-debug=false
01-31-2011 12:18 AM
great thread RottenOgre. I couldnt agree with you more. but right now im drawing a blank and anything i can come up with you have already covered. if i do come up with something i'll post a follow up. great read!
01-31-2011 12:40 AM
01-31-2011 01:23 AM - edited 01-31-2011 01:27 AM
Wow, that's a lot of kudos
Thanks JRab, I guess this thread saves you the most trouble ![]()
Thanks jffurlan, added it in (along with a few more I thought of). The more generic problems we can get in here the better. There's no reason that the same questions need to be answered again and again.
Hopefully this thread will stay near the top so that newcomers will see it and solve their problem before making a new thread.
01-31-2011 02:37 AM - edited 01-31-2011 04:09 AM
Very good idea RottenOgre,
i noticed a lot of dublicates lately as well. Hope this will help a little, would be great if a mod could pin this to the top.
How about adding some general usefull links at the top like:
01-31-2011 08:33 AM
Note that the latest SDK and sim are labelled 0.9.2, not 0.9.3.
01-31-2011 12:23 PM
Great idea willyr. Added.
Good catch Peter.
01-31-2011 12:49 PM
I'd add something about:
Cheers,
Steve
01-31-2011 01:14 PM
@RottenOgre, another suggestion to keep this (brilliant and timely) thread from being too noisy: don't respond to each suggestion directly. Just edit the original post with appropriate changes, as you see fit. That way people can stay subscribed (for those of us who like to get updates via email) without it being a burden reading too many "thanks" or "good catch" emails. :-)
M. Sohm, could this topic can be made "sticky" for a while to keep it at the top?
02-01-2011 02:26 AM
How to i build a .bar file for production? / My App name is myApp-debug how to get rid of the -debug?
(Burrito 4.5, courtesy of JRab)
Go to Projects > Export Release Build
From there near the bottom choose the option to "Export and sign a plat-form..." and then hit finish and your exported .bar file should be under the root directory of the project you just exported.
There will be a pop up stating it could not be installed just hit ok and ignore it for now.
You can confirm the bar file creation success by installing it on to your device via the command line:
blackberry-deploy -installApp -package [PackageName].bar -device [DeviceIP]
and clicking on it in the device and see it run.
make sure you are in the directory of your newly created bar file for the command line to work.
Or:
In FB4, in the project's Properties window, under Flex Compiler, you can add
-debug=false
to compile without debug information.