×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    30

    how to capture image from 3G phones camera

    Hi.
    Is any possibility to get snapshot from this small camera used for video talk
    in 3G phones?
    Greetings
    Piotr

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: how to capture image from 3G phones camera

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

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    30

    Re: how to capture image from 3G phones camera

    Hi.
    Thanks for Your answer.
    Did you know if it works on other devices.
    I've tried on SE k800i and when i get Player from "capture://devcam1" it works but capture is taken from main camera. The same is with "capture://devcam0".
    Greetings
    Piotr

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

    Re: how to capture image from 3G phones camera

    Hmmm... at least the SE Java Developers' Guidelines doc does not even include those capture locators, so my guess is that not supported (the same way as on S60 phones)
    http://developer.sonyericsson.com/ge...do?docId=65067

    Hartti

Similar Threads

  1. Fast Image Capture
    By Tobias_80 in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2007-06-18, 12:29
  2. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  3. Replies: 2
    Last Post: 2006-05-02, 07:19
  4. digital camera image standards (DCIM)
    By jozart in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-12-23, 02:11
  5. HELP: Mutable Image to Immutable Image?
    By rj_cybersilver in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-03-26, 09:58

Posting Permissions

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