I would like to know if it's possible to use glass gestures on the touch-pad to implement a number picker. The goal is that when you swipe forward and back a number displayed on the screen increases when you swipe forwards and decreases when you swipe back.
Related Questions in GOOGLE-GLASS
- Displaying details on card from an async task
- AndroidManifest.xml file auto-generates to previous, incorrect version
- Creating multiple cards to scroll on google glass
- How to manage multiple menus for voice and touch input in Android / Google Glass
- Bad camera image with ZXing
- Is Google Glass Mirror API dead?
- Dynamic option menu --> how to get the selected item?
- Glass AlertDialog upsizing icon
- How to install and launch Metaio app on Google Glass?
- google glass wrong field of view
- Indeterminate Slider being dismissed
- Google Glass GDK view error, sad cloud TableView
- Changing ISO setting in Google Glass
- What is the best way to auto play YouTube videos on Glass?
- Reverse Screencast? Show phone screen on Google Glass?
Related Questions in GOOGLE-GDK
- Displaying details on card from an async task
- Creating multiple cards to scroll on google glass
- How to manage multiple menus for voice and touch input in Android / Google Glass
- Dynamic option menu --> how to get the selected item?
- Glass AlertDialog upsizing icon
- Indeterminate Slider being dismissed
- Google Glass GDK view error, sad cloud TableView
- Reverse Screencast? Show phone screen on Google Glass?
- Connecting Google Glass to a computer
- Google Glass number picker with gestures
- Not able to run Google Glass developers Samples
- OutOfMemory Exception while encoding Base64
- navigation to a location is not working google glass
- Google Glass SimpleWeatherApp getCity function return null
- Google Glass GDK: menuItem setActionView not respected in onCreateOptionsMenu (doesn't update view)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As mentioned in the comment, the Timer sample's
SetTimerActivityuses aGestureDetectorto detect motion events on the touchpad and change the value accordingly.The main logic is in the
ScrollListener#onScrollimplementation:The other listener implementations are used for adding some physic simulation such as an inertial scrolling effect when the user swipes fast enough.