Creating a native Android app using Visual Studio for Mac
In this section, we will take a look at how to create a native Android solution for the first time. We will begin by developing the basic structure for our application, as well as adding the Xamarin Media Plugin NuGet package and designing the user interface using XML for our PhotoLibrary
application.
We will also learn how to update the Strings XML file to include values for our UI control elements that are contained in our XML file. Finally, we will create the styles
XML file for our Photo Library app that will be used to style our UI control elements.
Before we can proceed, we need to create our PhotoLibrary
project. It is very simple to create this using Visual Studio for Mac. Simply follow these steps:
- Firstly, launch the Visual Studio for Mac application.
- Next, choose the
New Solution…
option, or alternatively chooseFile|New|Solution...
, or simply press Shift + command + N. - Then, choose the
Android App
option, which is located under...