xxx

xxx


1. Jump Right In

Welcome to Xamarin.Android! Once the installation is complete, follow these simple instructions to write and test your first Android C# code in minutes! You can also visit our Developer Center.

1.1. Running the Sample Application

First, let’s open the Tasky sample application, which can be done in either Xamarin Studio or Visual Studio. Tasky is a simple To-Do application that you can use to track tasks. It’s a cross-platform sample that shares its core code between Android and iOS and illustrates good cross-platform architectural design including data access, business logic, and native-UI elements.

Download Tasky


The solution and project structure in the Solution pane shows all the files in the solution and should look familiar to any Modern IDE user. It consists of two projects containing a number of C# files.

If you cannot see the solution tree, choose View → Solution from the menu.


Introduction to Xamarin.Android Solution

Watch the video

Check that the Debug configuration is selected in the toolbar and choose Run → Debug from the menu or press Command + Return to start debugging with the Android Emulator.

Before an emulator can start you need to choose an Android Virtual Device (AVD) to use, as shown in these screens:


Once the emulator has started you can add some tasks to see how the application works - touch the Add Taskbutton to begin!


Report Page