×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Brisbane, Australia
    Posts
    158

    n73 camera capture functionality

    Hi all,
    I am trying to make a midlet that uses the camera of an n73. As I need to take photos of text I would like to enable the macro mode and autofocus. I am unsure if this is possible through J2ME but have found this page http://forum.nokia.com/info/sw.nokia..._1_en.zip.html
    which seems to suggest it is possible through symbian c++.

    I am relatively new to midp programming and have no idea about symbian. Will I have to use symbian for the whole application if I need the camera functionality?
    If it is not possible to access the camera functions through Java can I make a combination of a symbian and midp application?

    the use of symbian would restrict the portability to nokia phones wouldn't it?

    Thanks in advance for any help

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: n73 camera capture functionality

    Accessing autofocus and macromode is not possible through Java on N73. If you want to use those, I would suggest you to implement the whole application with Symbian C++.
    MIDlet and the native app could talk to each other using a socket connection (see midpjni.com for details) but I do not think that this approach would work well in here

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Brisbane, Australia
    Posts
    158

    Re: n73 camera capture functionality

    Thanks for your answer. Just wondering why you think midpjni would not work well in this case?

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: n73 camera capture functionality

    Some thoughts

    Well, you already need to implement the macromode handling and the autofocus in the native app, and to achieve seamless operation, you likely need to implement the picture taking too in Symbian C++. So why not go all the way than trying to hack around the Java sandbox?

    You need to have the native app running on the background. You cannot start that from the MIDlet. So you have to ask the user to start two applications or then you need to start the native app at the phone start-up. But what happens if the user closes the native app running on the background and then tries to use your app?

    Depending how you divide the tasks between the Java app and the native app, there will be a number of API access confirmations asked. By using native app only you will get rid of this.

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Brisbane, Australia
    Posts
    158

    Re: n73 camera capture functionality

    Thanks for your help.

    It's so annoying that this phone doesn't support JSR 234!!! if only I had known before I bought it. My application can take photos, they're just not focused at all.

    looks like my only options are:
    -try and return the phone
    -implement my whole application in c++
    -or make the user take the photo in the normal camera application - save it - then open my midlet and load the image to do the further processing.

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. Camera API on Symbian 9.1 (Nokia N80)
    By srigans1 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-10-20, 05:31
  3. N73 front camera access
    By dudi in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-04-05, 16:42
  4. N73 camera can't start
    By nemotse in forum Symbian
    Replies: 1
    Last Post: 2006-09-17, 14:05
  5. N73 camera can't start
    By nemotse in forum General Development Questions
    Replies: 1
    Last Post: 2006-08-31, 15:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×