Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2013

    Angry FrameAnimator Gesture Drag error

    Hello, I'm trying to develop an app and I'm using the frame animator and gesture api from nokia. On the SDK 1.0 for the Asha 501 the drag method does not allow negative values, but when I scroll down the drag has a negative sign. Otherwise in the SDK 1.1 the drag method does not crash the entire app when a negative value is entered. Any help?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013

    Re: FrameAnimator Gesture Drag error

    the drag method accept X and Y coordinates of the new position for the movement, the coordinates are expressed in screen dimensions so obviously negative values does not exists (the screen starts at 0,0).
    It doesn't matter at which direction your trying to drag an object, this are new values of its position not relative to the previous position.
    I hope that helps.
    Heard of DVLUP? Join here

Similar Threads

  1. Replies: 4
    Last Post: 2012-04-18, 17:11
  2. How to use a gesture api?
    By karuna. in forum Mobile Java General
    Replies: 2
    Last Post: 2011-08-17, 10:44
  3. Using Gesture API
    By jcospina in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2011-07-17, 18:31
  4. Gesture recognition
    By djsid in forum Symbian
    Replies: 9
    Last Post: 2008-08-12, 21:14

Posting Permissions

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