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
New Contributor
Posts: 2
Registered: ‎11-17-2011
My Device: 8520
My Carrier: airtel

How to handle external events in blackberry(converted j2me code -jar to cod)

I developed the game in j2me and converted jar to cod file for blackberry. Its working fine. But i am not able to handle external events (incoming calls,sms) and Red/green key pressed in blackberry. how i fix this problem using j2me code

Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to handle external events in blackberry(converted j2me code -jar to cod)

welcome to the support forums.

not all of the things you want can be handled with j2me, you have to use some BB APIs.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 2
Registered: ‎11-17-2011
My Device: 8520
My Carrier: airtel

Re: How to handle external events in blackberry(converted j2me code -jar to cod)

Any sample code ?
Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to handle external events in blackberry(converted j2me code -jar to cod)

take a look at the samples you get with the eclipse plugin, the development guide(s) and enter some keywords into the search field on top, this should get you well started.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter