Hello,
I had my first dabble with the gesture library today. Two issues
reared their heads:
1) if I have a view that I'm not interested in scrolling, I still
can't have simple straight line gestures in both directions
(orientation has to be horizontal or vertical). Is there some way of
getting round this ?
2) Every developer defines their own gestures hard-coded to the
application functionality. One image program might use left-stroke for
'Previous Image' and another for 'Scroll Left'. It would be better IMO
to organize things like this:
- applications publish *named actions* (e.g. in manifest) that
gestures can be hooked to ("Next Image", "Add Contact" etc)
- there is a device-wide gesture library that the user can add
*named gestures* to with Gesture Builder ( "Straight Up", "Cup" etc)
and link the gesture to whatever actions are available
- in onGesturePerformed, apps get passed only a string "Next Image"
or whatever and run the appropriate code
Advantages:
- users can define gestures they like, to do what they like, in
whichever app they like.
- the published actions could be linked centrally with other input
forms e.g. accelerometer gestures, voice command, hard button presses
OK, bit late maybe :-)
Lee
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---