Xamarin Mobile Application Development for Android(Second Edition)
上QQ阅读APP看书,第一时间看更新

Creating the POI app

Now that we already have our development environment ready, let's begin by building the POIApp.

The following section will walk you through the several steps involved to create, build, and deploy the POI application into the Android device:

  1. Launch Xamarin Studio.
  2. From the File menu, navigate to New | Solution. The New Solution view will be presented, as shown in the following screenshot:
    Creating the POI app
  3. Select the Android section on the left-hand side of the screen, navigate to App | Android App, and then click on Next.
  4. Enter the app name as POIApp and the application identifier as com.packt.poiapp.
  5. From the Compatibility selection, select Maximum Compatibility to make your application compatible on a full range of devices.
  6. From the Themes drop-down menu, you may select from the range of available themes and click on Next:
    Creating the POI app
  7. Review the project location and adjust it if desired. Click on Create:
    Creating the POI app
  8. Xamarin Studio will create a solution and the required project folders. The project folder will contain a default MainActivity.cs class and a Main.axml layout file.