×

Discussion Board

Results 1 to 6 of 6

Thread: camera

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    22

    camera

    Hello,
    please how I can detect if the device has a frontal camera and then how I can access to it using Qt/Qt Mobility ?

    thank you

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: camera

    If I remember right the mobility 1.1.0 has full camera example, as well as if I do remember it right, it has functionality for selecting the camera. Can not excatly check it at this point of time, but I would suggest looking into the Camera class in that example and to see how it handles things.

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: camera

    Hi,

    Check the list of available camera devices using QCamera::availableDevices(), then use the QByteArray that corresponds to the front camera (if available) to pass to QCamera constructor.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    22

    Re: camera

    Quote Originally Posted by symbianyucca View Post
    If I remember right the mobility 1.1.0 has full camera example, as well as if I do remember it right, it has functionality for selecting the camera. Can not exactly check it at this point of time, but I would suggest looking into the Camera class in that example and to see how it handles things.
    I found only this Symbian C++ example http://www.forum.nokia.com/info/sw.n...a_Example.html

    But I did not found any camera example with Qt/Qt mobility

  5. #5
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: camera

    Quote Originally Posted by kenouz1234 View Post
    I found only this Symbian C++ example http://www.forum.nokia.com/info/sw.n...a_Example.html

    But I did not found any camera example with Qt/Qt mobility
    The camera API in Qt mobility is available here, But still only beta version is available.
    Just see this page : http://developer.qt.nokia.com/wiki/CameraAPI

    Best regards,

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    32

    Re: camera

    And the examples are included in the qtmobility package:
    http://qt.nokia.com/products/qt-addons/mobility

Similar Threads

  1. Replies: 0
    Last Post: 2010-06-14, 13:02
  2. how to capture the camera shutter open event from the camera phones?
    By kanishk_408 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2009-06-10, 11:06
  3. how to capture the camera shutter open event from the camera phones?
    By kanishk_408 in forum Mobile Java General
    Replies: 1
    Last Post: 2009-06-05, 12:50
  4. Problems with Camera. Camera run on java class and it failed on midlet.
    By Kaisser in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2008-04-17, 10:23
  5. Replies: 0
    Last Post: 2003-06-20, 20:59

Posting Permissions

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