O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required