×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    43

    how to create a player for camera...??

    sir,

    is there any code for creating a player only for camera in j2me....

    im in need of that one please help me sir

    thank you.....

  2. #2
    Regular Contributor
    Join Date
    Oct 2007
    Location
    Pune
    Posts
    189

    Re: how to create a player for camera...??

    Hello,

    Is this what you are looking for?

    What do you mean by creating a player only for camera ?
    Regards,
    Dinanath


    It's a matter of attitude.

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    43

    Re: how to create a player for camera...??

    Quote Originally Posted by dinanath.d View Post
    Hello,

    Is this what you are looking for?

    What do you mean by creating a player only for camera ?
    sir,
    you have given the above code...
    public void cameraPlayer() {
    try {
    player = Manager.createPlayer("capture://video");
    player.realize();

    videoControl = (VideoControl)player.getControl("VideoControl");
    player.start();
    } catch (Exception e) {}
    }


    ** i have excecuted this code using NetBeans IDE but i am unable to know the output...if i run the same application on mobile does the application automatically opens the camera on my mobile...

  4. #4
    Regular Contributor
    Join Date
    Oct 2007
    Location
    Pune
    Posts
    189

    Re: how to create a player for camera...??

    Hello

    I have modify the article please look at it.

    I checked its working on Netbean/SUN WTK and Nokia N95.
    Regards,
    Dinanath


    It's a matter of attitude.

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: how to create a player for camera...??

    Hi,

    Try the below link it has a tutorial on using Camera in J2ME.

    http://developers.sun.com/mobility/m...icles/picture/
    Sunil
    Mobile Application Developer

Similar Threads

  1. application error with 3gp file in J2ME
    By ruchig_iic in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2012-01-16, 21:40
  2. Replies: 48
    Last Post: 2009-09-18, 15:56
  3. VideoStreaming player realize takes too long
    By cristi.mota in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2008-10-03, 10:29
  4. cannot able to play a video file.
    By shalini.mishra in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-11-13, 16:54
  5. Chaining Player instances smoothly
    By jrosebor in forum Mobile Java General
    Replies: 3
    Last Post: 2005-10-18, 06:36

Posting Permissions

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