Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User Darkmew's Avatar
    Join Date
    Mar 2012
    Posts
    4
    So i finally built a small application for my phone (yells out don't touch me when shaken)

    no terribly impressive I know but a start...

    So I got the sound effect part sorted..it yells when a button is pressed but I cannot figure out how to access th gestures properly specifically the import

    I'm using the Qt SDK and I get the "not installed" warning for gestures

    "import QtSensors 5.0"

    source: http://doc.qt.nokia.com/5.0-snapshot...s-shakeit.html


    Now I think this may not be in 4.7 but do we have an alternative

    edit I did search this forum before posting

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    You don't have a ny target devices which would include Qt 5.0, which indeed is still under construction. So instead you should use APIs available on Qt 4.7.

    If the Gestures API is not there, then you would need to do your own recognition API which would then use the Sensor APIs directly.

  3. #3
    Registered User Darkmew's Avatar
    Join Date
    Mar 2012
    Posts
    4
    Can I have an example of how to use the accelerometer to do shake stuff

    qread ? getting close at all ?

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    wiki would be good place for code samples, here's one: http://www.developer.nokia.com/Commu...valuation_Tool anyway, you might need to do your own logic for detecting any gestures there.

Similar Threads

  1. Need Help on Simulating Gestures
    By sathyr in forum Symbian C++
    Replies: 2
    Last Post: 2010-11-18, 15:15
  2. Gestures on PR1.2 - QT4.6
    By nowheremanmail in forum Nokia N9
    Replies: 6
    Last Post: 2010-06-16, 10:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved