Create Android Simple List View App

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android, then  Select Blank App, then give Project Name and Project Location. Step 2 : Next, Open Solution Explorer->Project Name->Resources->layout, then Main.axml. After that click Open Design View. Step 3 : Go to Toolbar, select ListView, Drag and Drop in Design Page and then change id as android:id=”@+id/listView1″. XMLCode :- <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:minWidth=”25px” android:minHeight=”25px”> <ListView android:minWidth=”25px” android:minHeight=”25px”…

Create Android Application to Check Network And GPS Status

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android, then select Blank App,then give Project Name and Project Location. Step 2 : Next go to Solution Explorer->Project Name->Properties, then AndroidManifest.xml to open the Code page. Then give the Permission for Network and Location services. <uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE” /> <uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” /> <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” /> Step 3 : Next to open Solution Explorer->Project Name, then MainActivity.cs open and write the following C#…

Create Get Android GPS Current Location App

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android, then select Blank App (Android),Give Project Name and Project Location.   Step 2 : Next go to Solution Explorer-> Project Name->AndroidManifest.xml open xml code and give the Permission for Location, Network, Coarse Location services. XML Code :- <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” /> <uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION” /> <uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” /> <uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE” /> Step 3 : Next open Solution Explorer-> Project Name->Resources->layout->Main.axml click to…

Create Android Progress Bar

Introduction The progress bar uses a visual indicator when we use any operation that times in order to check the process of percentage completed. More information can be seen here. Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android->, then select Blank App (Android). Then give Project Name and Project Location. Step 2 – Next open Solution Explorer->Project Name->Resources->layout->Main.axml and click Open Design View. Step 3 : Go to Tool Bar then select…

Create Android ISharedPreferences App

Introduction This application is to create and maintain Session Values in Xamarin Android. Let’s start Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android->Blank App->Select Blank App (Android). Then give Project Name and Project Location. Step 2 : Next go to Solution Explorer-> Project Name then Right Click to Add->Class and open new Dialog box.   Step 3 : Dialog box to select Class and give the Name AppPreferences.cs, Step 4…

Create Android Splash Screen App

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android->Blank App, then select Blank App (Android). Then give Project Name and Project Location. Step 2 : Next go to Solution Explorer->Project Name->Resources->Values. Right Click to Add->New Item, then open new Dialog box. After that select XML File and then give name for styles.xml.   Step 3 : Again go to Solution Explorer->Project Name->Resources->Values then Right Click to Add->New Item. Open new Dialog…

Create Android Circle Image App

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#->Android->Blank App, Select Blank App. Then give Project Name and Project Location. Step 2 : Next go to Solution Explorer-> Project Name-> References then Right Click to Manage Nuget Packages then open new Dialog box. This dialog box to search the Refractored.Controls.Circleimageview then Install the Package.     Step 3 : Then Open Solution Explorer-> Project Name->Resources-> drawable then Right Click to…

Passing Value One Activity To Another Activity

Let’s start, Step 1 : Open Visual Studio->New Project->Templates->Visual C#-> Android->Blank App, then select Blank App. Give Project Name and Project Location. Step 2 : Next we need to create Second page, so go to Solution Explorer->Project Name->Resources->layout. After that right click on Add->New Item, then open new Dialog box. Step 3 : Select Android Layout and give name Secondpage.axml. Step 4 : And then we need to add one more…

Create Google Map Draw Circle Around Marker

Let’s start, We already created a Google Map with Marker in my article. If you did not create this please follow this link, Xamarin Android: Create Xamarin android Google Map With Add Markers. After creating Google Map with Marker App in Xamarin Android, then follow the below steps, Step 1: Open MainActivity.cs page, then give following code, Name Space:  using Android.Gms.Maps.Model; // Add this Two Name Space using Android.Graphics; C# Code:…

Create Xamarin Android Google Map With Add Markers

Let’s start Before we create a Google Map application we need  Signed Fingerprint SHA1 KEY. So, I already explained how to create SHA1 KEY. Step 1:Open Visual Studio->New Project->Templates->Visual C#->Android, then click Blank App, and select Blank App. Then give Project Name and Project Location.    Step 2:Next Click to select Solution Explorer->Project Name->Properties-> AndroidManifest.xml file. Step 3: Here will be Copy and paste of the already created Google Map…