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

Posts: 48
Registered: ‎04-07-2011
My Device: 9550
My Carrier: Desktop
Accepted Solution

My Application opened two times How to fix this ?


Hi all,


 My application opened two times , application contains only bbm sharing what I am doing wrong what is the problem of my app.



Thanks & Regards,

Nagarjuna Metla.

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: My Application opened two times How to fix this ?

Put break points in your app and figure out why it is starting twice.  From your description, I would put one in my main() at the start. 


My suspicion is that you have an alternate entry point which uses a different 'arg' and that is why you are getting two different invocations of your application.  You will need to figure out what is initiating each of the invocations and why they are using different args.