×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    46

    how to listen camera in s60 phone

    we use the camera in phone not CCamera class
    how I can listen to the action?

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: how to listen camera in s60 phone

    Quote Originally Posted by guhog
    we use the camera in phone not CCamera class
    how I can listen to the action?
    Hi guhog,

    you can get information that camera application started or not by checking camera UID in tasklist, you can go through TApaTaskList class.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    46

    Re: how to listen camera in s60 phone

    thanks to kis_spn very much,
    can u describe detail or code for explaining?

  4. #4
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: how to listen camera in s60 phone

    Quote Originally Posted by guhog
    can u describe detail or code for explaining?
    Hi guhog,

    First of all You find out Camera UID...then after implement timer class and check every 1 sec or 2sec or 60 sec. the task exists or not by this way.
    #include <W32STD.H>
    #include <apgtask.h> ///add lib in mmp file ws32.lib apgrfx.lib

    const TInt KCameraUid={0x.......};


    TUid id(TUid::Uid(KCameraUid));
    TApaTaskList taskList(iSession);//RWsSession iSession;
    TApaTask task=taskList.FindApp(id);
    if(task.Exists())
    {

    ///add code here
    }

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    46

    Re: how to listen camera in s60 phone

    3x upstairs,I gree to u;
    but I don't know what is the camera's id;

    i don't use CCamera ,instead i listen to the camera of hardware,
    i can't get the handle.

  6. #6
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: how to listen camera in s60 phone

    Quote Originally Posted by guhog
    3x upstairs,I gree to u;
    but I don't know what is the camera's id;

    i don't use CCamera ,instead i listen to the camera of hardware,
    i can't get the handle.
    hi guhog,

    Go through this link...
    Download this AppUidViewer sis file and installed in your phone and get camera uid.
    http://newlc.com/How-to-Display-the-Uid-of.html

  7. #7
    Registered User
    Join Date
    Dec 2005
    Posts
    46

    Re: how to listen camera in s60 phone

    3x kis_spn,Let me try;

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. Error on building under S60 3.0 Phone (GCCE) Release configuration
    By gliganc in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 9
    Last Post: 2006-09-27, 08:20
  3. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  4. Get SIM ID and phone number - S60 v2, fp3
    By mew1979 in forum Symbian
    Replies: 7
    Last Post: 2006-06-01, 09:26
  5. Replies: 0
    Last Post: 2005-02-25, 10:09

Posting Permissions

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