Creating your own gestures

In the past three recipes of this chapter we learned how to use the camera and how to create animations to enhance the user experience. However, the animations are passive in a sense that your user can only watch them. In this recipe, we will try to engage our future users by proposing custom gestures for our application.

Getting ready

This recipe can only be achieved with the use of a physical Android phone. That said, create a new solution named CustomGesture in Xamarin Studio.

How to do it...

  1. Go to the Google Play store and install the Gesture tool app created by davemac: https://play.google.com/store/apps/details?id=com.davemac327.gesture.tool&hl=en
  2. Create some gestures with the tool, as shown in the following screenshot: ...

Get Xamarin Studio for Android Programming: A C# Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.