Creating NationalParks.Droid

We will begin by creating a new Android project and adding it to our existing NationalParks solution created in the previous chapter. Xamarin Studio allows both Android and iOS projects to be part of the same solution. This proves to be very useful particularly as we move towards the later chapters that are focused on code reuse. You will find that the next chapter, Chapter 6, The Sharing Game, will show you exactly how to do this.

To create the national parks Android app, perform the following steps:

  1. You first need to launch Xamarin Studio and open the NationalParks solution created in the previous chapter.
  2. Following this, select the NationalParks solution in the Solution pad on the left-hand side of Xamarin Studio, right-click on it, and navigate to Add | Add New Project…, as shown in the following screenshot:
    Creating NationalParks.Droid
  3. Navigate to C# | Android on the left-hand side of the dialog box and Android Application in the middle section, as follows:
    Creating NationalParks.Droid
  4. You now need to enter NationalParks.Droid in the Name field and click on OK. Xamarin Studio will then create a new project, add it to the NationalParks solution, and open it.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.27.244