how to create a raw file of android gestures
Asked Answered
J

3

10

I have noticed in the android gesture examples, that it reads the gestures from the res/raw folder. it would be a great thing for my application to include a 'getting started' list of gestures. that way a user can use the app without having to train it for their own personal gestures. i would even expect that the majority of users would be happy to use a default set of gestures.

however, i cannot figure out how to generate that initial set of gestures that i would include in the res/raw folder of my application.

anyone have ideas of how to create this file or where to look for more info?

Joletta answered 20/8, 2010 at 21:40 Comment(0)
M
6

Use the Gestures Builder tool.

UPDATE: Apparently, that tool no longer exists, sorry.

Mode answered 20/8, 2010 at 21:48 Comment(1)
I guess that I just need to read 'with comprehension'... "Every time you add or edit a gesture in the Gestures Builder, a file is generated on the emulator's SD card, /sdcard/gestures. This file contains the description of all the gestures, and you will need to package it inside your application inside the resources directory, in /res/raw."Joletta
A
0

Download this sample project "Gesture Builder" to create gesture file. This gesture file will be saved to your SD card , copy and paste it to your project's raw folder. https://android.googlesource.com/platform/development/+/master/apps/GestureBuilder/

Aleris answered 20/3, 2015 at 11:29 Comment(0)
V
0

Here is the playstore link : Gesture Builder You can start building your patterns and a file is saved in SD card with name gestures

Volnak answered 22/9, 2015 at 16:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.