12-29-2011 07:42 AM
Hi Friends,
I am confusion with Preprocessor which was given by RIM in follow link,
http://supportforums.blackberry.com/t5/Java-Develo
as they said i have done preprocessor concept for Different OS as follows,
I have installed Eclipse with BlackBerry Java Plug-in Version: 1.3.0.201102031007-19 (which is having by defalult os if 6.0.0) so i don't have lower OS.
if i want to write a code for both OS 5 and OS 6 how do i write.
For Preprocessors, i have added manually BlackBerryOS5.0.0 to the Bulid path. in my code it is defines as ,
//#ifdef BlackBerrySDK6.0.0
import net.rim.device.api.gps.LocationInfo;
//#endif
When i installed in OS 6 Devices it runs successfully but
when i installed in OS5 Devices it shows, net.rim.device.api.gps.location not found.
Please help me here.
Regards,
K.Narasinga Rao.
Solved! Go to Solution.
12-29-2011 06:18 PM
12-30-2011 12:38 AM
Hi,
I have already installed Blackberry OS 6.0 then how can i install downgrade version of the blackberry. If possible can you please provide me a link to it to download OS5.0 and install into Same Eclipse Folder path.
K.Narasinga Rao.
12-30-2011 11:25 AM
I went to the developer site, this is the link for the plugin: http://us.blackberry.com/developers/javaappdev/jav
Look at "Eclipse updates" to be able to download the 5.0 SDK. Then you can change which SDK the project uses, it will automatically change the preprocessor to be 5.0.
01-01-2012 11:25 PM
thank you,
I will check and download the API 5.0 and respond with the result..
01-02-2012 01:43 AM
hi
thanks for this help. I got the required SDK.