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

New Developer
Posts: 103
Registered: ‎05-05-2009
My Device: Not Specified
Accepted Solution

which field in ApplicationDescriptor is unique

which field in ApplicationDescriptor is unique ?


in javadoc, function of getIndex() should be unique. but , I see every value from getIndex() is 0.

however, function of getModuleHandle() gives different numbers. may this be unique? or how can I get unique field for every application ?

BlackBerry Development Advisor
Posts: 15,809
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: which field in ApplicationDescriptor is unique

getModuleHandle should give a unique value for every application installed on a particular BlackBerry smartphone. However, these values do not directly relate to an application, meaning if you get the module handle for the same application on another BlackBerry smartphone you will likely get a different value.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.