convert j2me camera application(.jar) to blackberry (.cod)
Results 1 to 2 of 2

Thread: convert j2me camera application(.jar) to blackberry (.cod)

  1. #1
    akash_unlimitedsky is offline BlackBerryOS Noobie
    Join Date
    Aug 2010
    Posts
    2
    Liked
    0 times

    convert j2me camera application(.jar) to blackberry (.cod)

    Hi,

    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...

    Why??

    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
    ShimmyShine's Avatar
    ShimmyShine is offline BlackBerryOS Inspired Follow ShimmyShine On Twitter
    Join Date
    Aug 2009
    Location
    Gowen, Michigan
    PIN
    Just ask!
    Device
    9800
    OS
    6.0.0.337
    Posts
    242
    Liked
    1 times
    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!).

    Shimmy
    "Shimmy, I love it when you talk nerdy to me!" - Natemz

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
  •