Overview
Xamarin is a development platform, which allows us to code native, cross-platform iOS, Android and Windows Phone apps in C#. This tutorial focuses on Xamarin Android Intent Action to launch the phone dialer.
Requirements
- Visual Studio RC 2017
- Xamarin Studio Packages Should be installed
The steps are given below, which should be followed.
Please follow my steps to create launching the phone dialer and use this tutorial effectively. An intent is an abstract description of an operation to be performed.
Step 1
Launch Visual Studio RC 2017 and go to File-> New-> Project.
Step 2
Now, we need to select the Android template from the List, name the Application, press to create the Project and select where to save the project.
Step 3
We go to our new project, which has been created and then we need to navigate to Designer Page. To open the designer page, you need to open Solution Explorer ViewàSolution Explorer.
Step 4
To open Designer Page, we need to select the following-> Solution ExploreràResourcesàLayoutàMain.Xaml.
Step 5
Add the code given below in Main.Xaml Source page. This main.xaml file is our designer page and here, our Intent Action will be present. This is the Designer Page for our Application.
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <Button
- android:id="@+id/MyButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="99510256" />
- </LinearLayout>



Join the conversation! Your thoughts help the community grow.