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

Reply
Developer
magnify
Posts: 22
Registered: ‎06-11-2009
My Device: Bold 9700
Accepted Solution

ApplicationDescriptor returns null

Hello,

 

When I'm debugging on a real device, it seems that ApplicationDescriptor().getApplicationDescriptor() returns null.

 

When I debug it in the simulator, it returns the expected result. I suspect this has to do with how the application is being loaded to the device via eclipse.

 

 

Has anyone else experienced simular behaviour?

Please use plain text.
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook

Re: ApplicationDescriptor returns null

I think you have to do an actual install (OTA/DM) for the application descriptor to be available. From my testing the application descriptor refers to the jad/alx file, while you can still get the info directly from the cod using the CodeModuleManager.

Please use plain text.
Developer
magnify
Posts: 22
Registered: ‎06-11-2009
My Device: Bold 9700

Re: ApplicationDescriptor returns null

Odd, after restarting my device this problem no long is occuring....

Please use plain text.