views:

86

answers:

2

Does the Droid SDK support sliding your finger across the screen to go back to the previous screen, instead of using the back key?

A: 

There is nothing built in for that. You are welcome to watch for that gesture and call finish() on your activity, if you want. However, that is unusual and may cause confusion for your users.

CommonsWare
+3  A: 

I assume that you mean "slide" as the unlocking system of i-phone.

Nothing is inbuilt for going back to previous screen..for implementing finger detection Implement GESTURE and implement OnFling() function.

OnFling() is the function that fired when the same kind of action performed as event unlocking the i-phone.

PM - Paresh Mayani
That's exactly what I was looking for. Once you pointed me in the right direction, this link had a good example http://stackoverflow.com/questions/937313/android-basic-gesture-detection
Kevin Barker
@Kevin Barker...glad to know your reply....
PM - Paresh Mayani