Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-22-2010 06:06 PM
each time I install an app. on the Simulator, it appears with suffix "xxxx-debug".
Anybody would know how to deploy app. in "production" mode ?
I use "-target bar" as argument (and not "target bar-debug"), but doesn't look to change anything...
Is it a bb-packager command line option ? Or a project property option ? Or a app-xml param ?
I'm kind of confused here...
Solved! Go to Solution.
12-22-2010 06:38 PM
i dont know what you are using to compile your app but here's what i did to remove the ugly -debug from my icon:
I use flash builder burrito. i created a new project. then i looked under the bin-debug folder and saw there was a -app.xml file. i went ahead and opened it and saw there were two references to the word debug. First the id was appname.debug and the name was appname-debug. so i got rid of both those and put in just hte app name:
<!-- A universally unique application identifier. Must be unique across all AIR applications. Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. --> <id>MyTest.debug</id> <!-- Used as the filename for the application. Required. --> <filename>MyTest</filename> <!-- The name that is displayed in the AIR application installer. May have multiple values for each language. See samples or xsd schema file. Optional. --> <name>MyTest-debug</name>
new and updated:
<!-- A universally unique application identifier. Must be unique across all AIR applications. Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. --> <id>MyTest</id> <!-- Used as the filename for the application. Required. --> <filename>MyTest</filename> <!-- The name that is displayed in the AIR application installer. May have multiple values for each language. See samples or xsd schema file. Optional. --> <name>MyTest</name>
after i did that i went to the command line and typed in the following (in the bin-debug directory):
first package it:
blackberry-airpackager -package -target bar MyTest.bar MyTest-app.xml MyTest.swf
now that it was packaged into a bar file i typed in the following:
blackberry-deploy -installApp -package MyTest.bar -device 172.16.176.130
after that i checked the simulator and the application name was just what i wrote as the ID/Name.
if you have the same set up and follow those steps it should work for you. good luck!
12-22-2010 06:51 PM
quick answer, thx for the reply.
I was searching in the meanwhile, but I didn't see any "debug" reference in any of my config files...
So I couldn't apply your solution.
But I got it to work, here is what I did, it is almost the same logic as yours:
-In project properties/Flex Build Packaging: enable target "BlackBerry"
-Then "Project/Export Release Build", using BB target, in a specific directory:
that creates the .bar file
-Now use the command line as you described:
blackberry-deploy.bat -package appName.bar -installApp -device x.x.x.x
(I also use Burrito, "what else ?" )
12-22-2010 06:54 PM
haha you'd be surprised... there are some crazy folk out there that compile their AS files with the mxmlc.exe command line compiler instead of the good ol' burriot. so wasn't sure. glad you got it figured out!