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
Posts: 126
Registered: ‎06-08-2009
My Device: Not Specified

How to write same code for bold and storm

Hi,

 

I want to write same code for bold and storm. but in storm i used virtual keyboard.. on JDE 4.6 (Bold) it gives error.. can anybody tell how i achieve this.. means like ifdef.. i found DeviceInfo.getSoftwareVersion().. i used it in if-else condition.. execute this code for storm and this for bold but didn't worked..

Highlighted
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to write same code for bold and storm