×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Image Capturing with Flash Light

    hiii

    i want to do Image capturing using J2ME code with Flash light
    as i am using Nokia 3710 fold as my project i have made application without flash light,
    but i am not getting good quality image so i need flash light at the time of image capturing

    Can anyone help me out with sample code for Image Capturing with Flash Light??

  2. #2
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Image Capturing with Flash Light

    first of all
    is it possible with J2ME??????

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Image Capturing with Flash Light

    Nokia 3710 fold as per the spec's support JSR 234 Advanced Multimedia Supplements 1.1 (camera)[1]
    1 contains CameraControl, SnapshotControl, FlashControl, FocusControl and ZoomControl

    This means that you can set the flash On,using this API.

    You can use -
    public interface FlashControl extends javax.microedition.media.Control

    FlashControl controls the flash of the camera device.

    When the flash is on (mode is not OFF), the flash is used when the snapshots are taken. Setting up the flash usually takes some time so when the flash is used and a snapshot is taken either by VideoControl or SnapshotControl, the exact time when the snapshot will be taken depends on the flash device. If the flash device will not be able to flash, for instance, because the battery of the device cannot charge the flash, taking the snapshot will result in an error.

    The default mode for flash is OFF.
    Thanks,
    Ekta

  4. #4
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Image Capturing with Flash Light

    can any one provide me sample J2me code for Flash Control ????

  5. #5
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Image Capturing with Flash Light

    as you suggest i use Flash Control in my project

    but it is giving null value when i am using following code

    CameraControl camera = (CameraControl) player
    .getControl("javax.microedition.amms.control.camera.CameraControl");


    so it is not working

    i have tried it with many e series mobiles and others

    but all are giving "camera" value as null


    can anyone help me????

  6. #6
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Image Capturing with Flash Light

    dose anyone have sample code??????

    i need it urgently.

    Thanks

Similar Threads

  1. How to turn the camera flash light always on?
    By haroldf in forum Symbian
    Replies: 5
    Last Post: 2010-12-09, 06:20
  2. how to control photo flash(flash light) ?
    By nokia_lin in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-05-07, 12:08
  3. How to enable camera flash light?
    By zhj8407 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2009-03-19, 01:58
  4. i want to load flash light on my app
    By 1symbian1 in forum Symbian
    Replies: 4
    Last Post: 2008-10-08, 17:52
  5. Nokia 5700 flash light
    By Jezz in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2007-09-23, 22:27

Posting Permissions

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