Book Image

Xamarin 4 By Example

By : Engin Polat, Mark Radacz
Book Image

Xamarin 4 By Example

By: Engin Polat, Mark Radacz

Overview of this book

The mobile app market is increasing exponentially every year. Xamarin Studio with its modern and powerful IDEs makes creating applications a lot easier by simplifying the development process. Xamarin will allow you and your team to create native applications by taking advantage of one of the most evolved programming language in the world: C#. This book will provide you with the basic skills you need to start developing mobile apps using C# and Xamarin. By working through the examples in each chapter, you will gain hands-on experience of creating a complete app that is fully functional by all means. Finally, you will learn to publish the app you created on the app market. Each project in this book will take you one step closer to becoming a professional app developer.
Table of Contents (16 chapters)
Xamarin 4 By Example
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
7
Monkey Puzzle Game – Processing Images

Monkey Puzzle Game


We will develop a classic 14-15 puzzle using a monkey image.

The game will contain a Start button, a chronometer, and a tiled image.

After pressing the Start button, the user will just tap a tile to move it into an empty position.

The user will use the numbers in the lower-right corner of each tile as a guide.

When the user successfully completes the puzzle, they will be rewarded with a popup.

We will start developing a prototype and then we will add features to this prototype in order to explore the Xamarin.Forms capabilities with images.

In the next chapter, we will also use this project to explore Bluetooth communication.

Starting up – the first prototype

We need to create a new Xamarin.Forms PCL solution named MonkeyPuzzle:

As we've learnt before, Xamarin Studio Template will prepare four projects:

  • MonkeyPuzzle is the Xamarin.Forms project

  • MonkeyPuzzle.Droid is the Android-specific project

  • MonkeyPuzzle.iOS is the iOS-specific project

  • MonkeyPuzzle.UITests is the test project...