Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Indonesia - East Java

    how to access forn camera

    dear all,

    does any body know how to access front camera with j2me???

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Bangalore , India

    Re: how to access forn camera

    4.8 Recording sound and video
    Sound and video recording can be done by using RecordControl. On the S60 platform, sound and video
    recording is supported from 2nd Edition onwards. Series 40 platform supports sound recording from 3rd
    Edition, FP1 onwards. You can check the support by using the following system properties:
    • supports.audio.capture - for audio recording
    • supports.video.capture - for video recording
    These properties return true if recording is supported.
    When creating a Player for audio or video capture, or specific capture, the locator URL must be used as a
    parameter to the createPlayer method of the Manager class. The following code line creates a
    Player instance for audio capture:
    Player p = Manager.createPlayer("capture://audio");
    Camera snapshot for pictures or video recording use the following locators:
    • Series 40 platform:
    • capture://image (for photo capture)
    • capture://video (for video recording)
    • S60 platform:
    • capture://video (for video recording and image capture)
    • capture://devcam0 (for video recording and image capture)
    • capture://devcam1 (second camera, if the device has two cameras)
    • Audio capture locator:
    • capture://audio
    You can also define the exact recorded media type to the locator URL. The supported parameters vary
    between platforms and devices. Note that SDKs might not support capture features at all, so testing should
    be done with the actual mobile devices.
    REF: MIDP: Mobile Media API Developer's Guide v2.0


    An initiative by Developers for Developers.
    http://www.mobiquil.com - Alpha - Launched.

  3. #3
    Registered User
    Join Date
    Mar 2003

    Re: how to access forn camera

    Found this sourceforge open source project
    that uses J2ME to capture snapshot
    from camera then manipulated the image
    by the RGB (according to the website).

    I tried the .jar and .jad files, seems to work for me.


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. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  3. N80 Dual Camera Access
    By vanevery in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-10-05, 02:00
  4. Does NOKIA 6103 Supports Camera Access/Local File Access?
    By aditya.binju in forum Mobile Java General
    Replies: 1
    Last Post: 2006-07-13, 13:03
  5. Access to camera device in 7650
    By marcin_polak in forum Symbian
    Replies: 2
    Last Post: 2005-02-26, 09:54

Posting Permissions

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