Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010

    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

  2. #2
    Join Date
    Aug 2009
    Gowen, Michigan
    Just ask!
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.