convert j2me camera application(.jar) to blackberry (.cod)
I have developed J2ME application for capturing image and its working in all Nokia phones.
Now I want to use this aplication in Blackberry,
for that I converted this .jar application to .cod, using RAPC....
And I successfully created the .cod file.
I also able to install successfully in my BB 8900 Device
But problem is, when I start application in Real Device/Simulator the camera region is showing
only small size like 1/4 of screen on top left corner...
And when I capture, then application caught in Un-handled Exception...
As this is perfactly running in Nokia phones, and Even successfully converted to .cod also,
then why its not running same as nokia phone...???
Please help me..
Thanks in advance
Hi there akash_unlimitedsky,
Firstly -- I moved your post to the developers help forum since it fits in much better over here.
Now. The reason it isn't working is because Nokia and RIM use different API's. The fact that you have converted the Nokia app over to RIM and it runs is astonishing considering accessing the camera requires an API that I'm assuming you haven't bought? To get this to work you'll need the RIM API's and set the camera display width to Display.getWidth() and height to Display.getHeight().
In all honesty, it may be a ton easier just to rewrite the application for the BlackBerry (I'll help you through the forums on anything you need!).
Tags for this Thread