×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    45

    taking snapshot using front side camera

    hi everyone. i want to make an application with which i'll be able to take snapshot using the front side camera of a nokia phone. currently i am considering nokia N70. is there any way to take snapshot and video from my application using the front side camera? if it is not possible for N70, then for which device it is possible? any help will be appreciated highly. thanks

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: taking snapshot using front side camera

    Hi,

    Here is an example for taking pictures:
    http://wiki.forum.nokia.com/index.ph...ure_in_Java_ME

    All you have to do is modify the line:
    Code:
    player = Manager.createPlayer("capture://video");
    to
    Code:
    player = Manager.createPlayer("capture://devcam1");
    in order to make it use the front camera.

    Normally it should work. You can test it on a device you don't have by using RDA
    Last edited by bogdan.galiceanu; 2010-09-08 at 21:18. Reason: RDA

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    45

    Re: taking snapshot using front side camera

    so you mean just using the following line i can use the front camera? i dont have to do anything else?

    player = Manager.createPlayer("capture://devcam1");

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: taking snapshot using front side camera

    You take the code example in the link I gave and see that it contains this line: player = Manager.createPlayer("capture://video");
    Replace that line with player = Manager.createPlayer("capture://devcam1"); and try the application.

  5. #5
    Registered User
    Join Date
    Aug 2010
    Posts
    45

    Re: taking snapshot using front side camera

    thank you for your help. i'll try it.

  6. #6
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: taking snapshot using front side camera

    this example in http://wiki.forum.nokia.com/index.ph...ure_in_Java_ME does not work for th Nokia X3.

    PNG is not supported, and for some reason using that exact example (and many others) the camera only works when starting the app the second time.

Similar Threads

  1. How to disable alerts with Taking snapshot ....
    By MitchDoan in forum Mobile Java General
    Replies: 1
    Last Post: 2007-08-29, 02:39
  2. taking snapshot from pc by cellphone camera
    By fatbird51 in forum Mobile Java General
    Replies: 0
    Last Post: 2007-04-01, 17:29
  3. taking a snapshot
    By lmdomene in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-10-06, 06:23
  4. OutOfMemoryError when taking a snapshot
    By hoesta03 in forum Mobile Java General
    Replies: 4
    Last Post: 2006-07-14, 07:11
  5. Taking snapshot by the internal camera of the 6230????????????????????
    By n3po in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-01-11, 20:40

Posting Permissions

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