Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


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.


Reply
Developer
Posts: 59
Registered: ‎07-01-2009
My Device: Android HTC One X
My Carrier: Cellcom

Re: A small discussion about system modules

OK - it appears that versions compiled by Eclipse install fine, and versions compiled by me via ANT appear both in the Application list and the Modules list, but not anywhere else in the device. I cant fire em up.

The app. is a ported Midlet, compiled for BlackBerry via RAPC.

 

Is this a preverification issue? Anything else?

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: A small discussion about system modules

Seems that you have set wrong parameters in ant script that does compile action.
Developer
Posts: 59
Registered: ‎07-01-2009
My Device: Android HTC One X
My Carrier: Cellcom

Re: 9000 - Tried OTA and USB installations - Can't find my app

Here is my ant task:

 

 <exec dir="${final.dir}" executable="${bb.home}/bin/rapc.exe">

<arg line=" import=${bb.home}/lib/net_rim_api.jar "/>

<arg line=" codename=${MIDletSuite} "/>

<arg line=" ${final.dir}/${MIDletSuite}.jad "/>

<arg line=" ${final.dir}/${MIDletSuite}.jar "/>

<arg line=" -quiet "/> </exec>

 

bb.home points to the jde 4.6 eclipse plugin.

 

Is there simething wrong here?

Developer
Posts: 59
Registered: ‎07-01-2009
My Device: Android HTC One X
My Carrier: Cellcom

Re: 9000 - Tried OTA and USB installations - Can't find my app

Something else worth noting: when installing the working version via OTA, the installation ends with the option to run the app. The other installs end with just the OK button. Also, the faulty ones do not raise the "untrusted application" warning.
Highlighted
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: 9000 - Tried OTA and USB installations - Can't find my app

[ Edited ]

I would strongly recommend you to use BB Ant Tools: http://bb-ant-tools.sourceforge.net/docs

 

There is rapc task and use it instead of exec.

 

Message Edited by tbilisoft on 14-07-2009 04:07 PM
Developer
Posts: 59
Registered: ‎07-01-2009
My Device: Android HTC One X
My Carrier: Cellcom

Re: 9000 - Tried OTA and USB installations - Can't find my app

Seems that I have made some progress. My ant task was missing the -midlet parameter. But when I add it, RAPC does not modify the jad file, so no BB info is added.

 

For compitability with other projects here, I would like to try and solve this without using the ant-bb-pack.

 

So - how do I force RAPC to modify the JAD?

Developer
Posts: 59
Registered: ‎07-01-2009
My Device: Android HTC One X
My Carrier: Cellcom

Re: 9000 - Tried OTA and USB installations - Can't find my app

[ Edited ]

RAPC does not update the jad while the -midlet property is enabled. Therefore I decided to give up, and now I'm using bb-ant-tools' JADTOOL task to do the job. I still invoke RAPC through the EXEC task though. If it's working, don't fix it.

Message Edited by vaiden on 07-16-2009 09:32 AM