Pergunta

I am creating an android application, In which I am implementing the "new gesture creation" and "gesture detection". I have searched in the internet.

I found this link, https://stackoverflow.com/a/7778361/1485254

They mentioned,

"Android 1.6 and higher SDK platforms include a new application pre-installed on the emulator, called Gestures Builder. You can use this application to create a set of pre-defined gestures for your own application..."

But I should create these gestures from my application. Is it possible to do it from my application(Gesture creation). Can anyone give me a suggestion regarding this.

Foi útil?

Solução

Android supports the Gesture API since version 1.6. The API can be located in the package android.gesture, and lets you store, load, draw and recognize gestures. The below tutorial will show you a proof-of-concept application how you can make use of Gesture API.

Here you have the source code of Gesture Builder

Gesture builder is installed in the emulator , but you can download it from here

And gesture source code examples here

Check out the Create Gesture Programmatically in Android

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top