Introduction:

Android allow us to integrate google maps in our application so we need to generate an API Key using google developer account. This article shows you how to generate Google map API key from google developer account .


Setup New Xamarin Forms Project:

We need to associate package name to google API so before create API key. Let Start create new Xamarin Forms Project in Visual studio.

Open Run ➔ Type Devenev.Exe and enter ➔ New Project (Ctrl+Shift+N)➔ select Blank Xamarin.Forms Portable template



It will automatically create multiple project like Portable, Android, iOS, UWP. You can refer my previous article for more - http://www.c-sharpcorner.com/article/how-to-create-first-xamarin-form-application/

Register Google Maps Android API

I have shown below steps for register google maps for android application.

Step 1: Navigate to google developer API account https://console.developers.google.com
Step 2: if you asked to sign in, provide google user id, password and click on Sign in.
Step 3: Select My project list and select existing project or create new project.


Step 4: Provide your project name and project name must be between 4 and 30 characters and click on create button.



Step 5: make sure your project selected in header like step 3 and Click on Google Maps Android API


Step 6: click on Enable button for access



Step 7: Click on Credentials for get API key



Step 8:in credentials page, click on “What Credentials do I need?”


Step 9: You can get public API key or if you want to restrict limit which web sites, IP address, mobile apps can call this API Key then you can click on “Restrict Key “.



Step 10: Change API name as your application name (Demo App Name: DevenvExeMyLocation ) > Select Application type as Android App > Click on + Add Package name and fingerprint



Step 11: Add your package name and SHA-1 signing-certificate fingerprint to restrict usage to your android apps. follow below steps for get package name and SHA-1 fingerprint.



Step 12: How to get Package Name?

Go back to your xamarin Application and Select Droid project from solution explore > Right click and select as Property > Click on Android Manifest and change or add package name > select location and map permission



Step 13: How to generate SHA-1 certificate fingerprint?

The SHA1 signature of a Xamarin.Android app depends on the .keystore file that was used to sign the APK. Typically, a debug build will use a different. keystore file than a release build.

Step 13.1: Navigate to AppData Folder

Click Windows key + R ( Run ) > type %AppData% and click Ok > Goto AppData folder > Local > Xamarin >Mono for Android and note the debug.keystore file location - C:\Users\<username>\AppData\Local\Xamarin\Mono for Android

Step 13.2: Find KeyStore.exe for execution

Keystore fill will run by Keytool . key tool is free certificate tool provided by Oracle as part of the Java software. If you have Java installed on your Windows computer, you can find it using these

Goto C:\Program Files (x86)\Java > Select Java Version (jdk1.7.0_55) > Select bin folder > Find Keytool.exe file .

Step 13.3: Now you can open CMD and navigate keytool.exe folder path like below

Goto C:\Program Files (x86)\Java > Select Java Version (jdk1.7.0_55) > Select bin folder > Press Alt + D or select Address > replace location path to CMD > press enter



Step 13.4: run keystore.exe from following cmd

keytool.exe -list -v -keystore "%LocalAppData%\Xamarin\Mono for Android\debug.keystore" -alias androiddebugkey -storepass android -keypass android



Step 13.5: The result look like below



Step 14: Now again go back to google developer website and update package name and SHA1 key > click on save


Step 15 : In Visual Studio Project ,go to your Xamarin Droid project and under property folder > open AndroidManifest.xml and added below line with your API key

<meta-data android:name="com.google.android.geo.API_KEY" android:value="API Key” />

I will share google map implementation in my next article. If you have any question or feedback, please share in the comment box.

Introduction:

We all knew xamarin and visual studio is great technology. You are no longer restrict develop only phone and tablet now you can develop Android wearable apps using xamarin. Android wear was officially released by google on 2014.

In this article, I will show how to setup and create Android Wearable App using xamarin ,



System Requirements

Mac / Windows 7++ Machine with 8 GB RAM.

Xamarin Studio 5.0 or new version/ Visual Studio 2012 or new version.

Visual Studio required professional or higher version because the Xamarin extension for Visual Studio will only be supported for non-express editions. Download Visual studio from here( https://www.xamarin.com/visual-studio)

Install Android SDK & Tools:

You can start open visual studio in Windows machine. Open Visual Studio (Run => type “Devenev.exe”)



You can verify all required SDK was installed in Visual Studio. If you do not have the latest SDK and tools installed, download the required SDK tools and the API. Go to Tools menu =>Android =>Android SDK manager. Android SDK manager window will visible in your system like below


Create Android Wear emulator

In order for us to run the android wear application we need to first setup an emulator. You can create one by following these few steps. Go to Tools in Visual Studio > Andriod > Andriod Emulator Manager. See below



Following screen, you will get know already created emulator. if you want to create new emulator click on “Create “button



After click on create button and provide following information AVD name, Device Name, chose correct Target platform and click on Create.



If you get any error "No CPU /ABI system image available for this target” means target SDK not installed. you can chose different target or install specific target SDK. when creating the device, make sure that the correct target of the OS is selected, but especially that the CPU is Android Wear ARM. after creating emulator you will receive following message for confirmation



After click on Okay you will get following screen for list of emulator


Create New Project:

You can follow below steps for Create your first Android Wear app and run it on a Wear emulator . File => New => Project. you can select project as Android and select template is Wear App. Now automatically project and wear reference will added .



See below screen for project structure and reference



In the Solution ,included xamarin android wearable reference and icon for tile image ,3 layout for rectangle and round watch and phone layout with common MainActivity class

Round / Rectangle Main.xaml:

I have included sample reference axaml code .you can modify as per your requirement

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
tools:deviceIds="wear_round">
<Button
android:id="@+id/msdnbutton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/msdn" />
<Button
android:id="@+id/csharpbutton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/csharp" />
<Button
android:id="@+id/bloggerbutton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/blogger" />
</LinearLayout>

MainActivity.CS

In MainActivity Class, create onbutton click and show the notification

using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Support.Wearable.Views;
using Android.Support.V4.App;
using Android.Support.V4.View;
using Java.Interop;
using Android.Views.Animations;

namespace DevEnvWear
{
[Activity(Label = "DevEnvWear", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
int count = 1;

protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
// Set our view from the "main" layout resource
SetContentView(Resource.Layout.Main);
var v = FindViewById<WatchViewStub>(Resource.Id.watch_view_stub);
v.LayoutInflated += delegate
{
// Get our button from the layout resource,
// and attach an event to it
Button buttonmsdn = FindViewById<Button>(Resource.Id.msdnbutton);
Button buttoncsharp = FindViewById<Button>(Resource.Id.csharpbutton);
Button buttonblog = FindViewById<Button>(Resource.Id.bloggerbutton);
buttonmsdn.Click += delegate
{
var notification = new NotificationCompat.Builder(this)
.SetContentTitle("MSDN")
.SetContentText("https://social.msdn.microsoft.com/profile/j%20suthahar/")
.SetSmallIcon(Android.Resource.Drawable.StatNotifyVoicemail)
.SetGroup("group_key_demo").Build();
var manager = NotificationManagerCompat.From(this);
manager.Notify(1, notification);
};
buttoncsharp.Click += delegate
{
var notification = new NotificationCompat.Builder(this)
.SetContentTitle("C# Corner")
.SetContentText("http://www.c-sharpcorner.com/members/suthahar-j")
.SetSmallIcon(Android.Resource.Drawable.StatNotifyVoicemail)
.SetGroup("group_key_demo").Build();
var manager = NotificationManagerCompat.From(this);
manager.Notify(1, notification);
};
buttonblog.Click += delegate
{
var notification = new NotificationCompat.Builder(this)
.SetContentTitle("My Blog")
.SetContentText("www.devenvexe.com")
.SetSmallIcon(Android.Resource.Drawable.StatNotifyVoicemail)
.SetGroup("group_key_demo").Build();
var manager = NotificationManagerCompat.From(this);
manager.Notify(1, notification);
};
};
}
}
}

Output Screen:

You can refer below screen for output. Click on tile => click on any button => swipe to home and see the notification



Issue:

In Xamarin Form , While adding reference Sqlit PCL or PCl storage ,etc . if you get following error

Severity Code Description Project File Line Suppression State
Error Unable to resolve dependencies. 'Xamarin.Android.Support.v4 23.0.1.3' is not compatible with 'Xamarin.Android.Support.Design 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)', 'Xamarin.Forms 2.2.0.45 constraint: Xamarin.Android.Support.v4 (= 23.3.0)'. 0.

Just follow below steps for resolution

Step 1:

Close Visual Studio

Step 1:

Navigate following Folder C:\Users\<username>\AppData\Local\Xamarin
and Remove “ Zib “ Folder (it will re-create automatically while build solution )

Step 2:

Right Click on Your Solution /Project ➔ manage nuget Package➔ Click Update ➔ Update Xamarin Form like below


Step 3:

Restart Visual studio⇒Open project ==> Clean Solution and build

Step 4:

Add your Nuget package Now .



After upgrade xamarin Form , if you get below issue
Issue :

obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:8: error: package android.support.v7.internal.widget.ActivityChooserModel does not exist

android.support.v7.internal.widget.ActivityChooserModel.OnChooseActivityListener
^
obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:28: error: package android.support.v7.internal.widget does not exist

public boolean onChooseActivity (android.support.v7.internal.widget.ActivityChooserModel p0, android.content.Intent p1)
^
obj\Release\android\src\mono\android\support\v7\internal\widget\ActivityChooserModel_OnChooseActivityListenerImplementor.java:33: error: package android.support.v7.internal.widget does not exist

private native boolean n_onChooseActivity (android.support.v7.internal.widget.ActivityChooserModel p0, android.content.Intent p1);
^
obj\Release\android\src\mono\android\support\v7\internal\widget\FitWindowsViewGroup_OnFitSystemWindowsListenerImplementor.java:8: error: package android.support.v7.internal.widget.FitWindowsViewGroup does not exist

android.support.v7.internal.widget.FitWindowsViewGroup.OnFitSystemWindowsListener
^
obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:8: error: package android.support.v7.internal.widget.ViewStubCompat does not exist

android.support.v7.internal.widget.ViewStubCompat.OnInflateListener
^
obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:28: error: package android.support.v7.internal.widget does not exist

public void onInflate (android.support.v7.internal.widget.ViewStubCompat p0, android.view.View p1)

obj\Release\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java:33: error: package android.support.v7.internal.widget does not exist

Resolution :

Step 1:

go to following folder

C:\Users\<username>\AppData\Local\Xamarin

Step 2:

clear all the folder and files.

Step 3:

Rebuild solution

Issue:

Android Emulator Keyboard not displaying and not able to Type using hard keyboard

Solution:

Try to follow below steps in Android Emulator

Open Android Emulator

Click on Setting

Select Language & Input



Go to the "Keyboard & Input Methods”.

Select Default

Disable the Hardware Keyboard by switching the hardware keyboard from on to off. Like below screen

Problem:

I have installed VS 2015 with update 3 and created Blank xamarin Form application. I can able to build the application but when I run android app with VS emulator is running but not starting my app and not getting any error message

Solution:

Just follow below 5 steps for resolution
Open the Hyper-V manager
Select the Android emulator you are trying to use
Right-click and select settings
Expand processor and select Compatibility
Set checkbox “Migrate to a physical computer with a different processor version”

For Debug your application we need follow below steps

1. Open zenfone Settings and scroll down and click on About link.
2. Scroll down and select Software Information.
3. Click on Build Number 7 times to enable Developer Options.
4. Come back to Settings and scroll down to find Developer Options.



5. Click on Developer Options and enable USB Debugging
6. Go to Visual Studio check your device will visible






Introduction

Let we look regarding list view binding. The cross-platform applications with Xamarin.iOS, Xamarin.Android the ListView control binding is structurally similar.

Xamarin.IOS

UITableViewSource

Xamarin.Android

BaseAdapter

Your need follow Below steps for customizing a list view appearance


Step 1: Layout:

We need to create layout with List View controls.

HelloApp (ProjectName) è Resources è layout (Right Click) è Add New Item è Select ( Android layout ) è Click Add

File Name: ListDemo.axaml and drag drop List View control into layout page

<?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"
android:minWidth="25px"
android:minHeight="25px">
<ListView
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/UserList" />
</LinearLayout>
****ListView Control name : UserList

Step 2: Model :

Create Model and add whatever property is required.

Model Name: User

Namespace :HelloApp.Model

namespace HelloApp.Model
{
public class User
{
public string UName;
}
}

Step 3: Adapter

Create adapter class and derived from BaseAdapter .

BaseAdapter is abstract class. we need implement following methods. We need select Row template and

namespace HelloApp.Adapters
{
class UserAdapters : BaseAdapter<User>
{
List<User> userlist;
Activity useractivity;
public UserAdapters(Activity context ,List<User> item):base()
{
useractivity = context;
userlist = item;
}
public override User this[int position]
{
get
{
throw new NotImplementedException();
}
}
public override int Count
{
get
{
return userlist.Count;
}
}
public override long GetItemId(int position)
{
return position;
}

public override View GetView(int position, View convertView, ViewGroup parent)
{
var item = userlist[position];
if(convertView == null)
{
convertView = useractivity.LayoutInflater.Inflate(Android.Resource.Layout
SimpleExpandableListItem1,null);
}
convertView.FindViewById<TextView>(Android.Resource.Id.Text1).Text = item.uname;
return convertView;
}
}
}

Step 4: Activity

HelloApp (ProjectName) (Right Click) è Add New Item è Select ( Activity) è Click Add

Source Code :

namespace HelloApp
{
[Activity(Label = "ListDemoActivity" , MainLauncher = true)]
public class ListDemoActivity : Activity
{
private ListView UserListView;
private List<User> userlist;
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
base.SetContentView(Resource.Layout.ListDemo);
UserListView = FindViewById<ListView>(Resource.Id.UserList);
userlist = new List<User>();
userlist.Add(new User { UName = "Sutahahr" });
userlist.Add(new User { UName = "Suresh" });
userlist.Add(new User { UName = "Sumathi" });
userlist.Add(new User { UName = "Sujatha" });
UserListView.Adapter = new UserAdapters(this, userlist);
}
}
}

Source code explanation:

1. [Activity(Label = "ListDemoActivity (Title Of Text)" , MainLauncher = true(Initial launcher))]

2. private ListView UserListView – Find Control and assign to local variable

3. private List<User> userlist; - Assign Collection value

4. base.SetContentView(Resource.Layout.ListDemo); - Assign layout content in activity

5. UserListView = FindViewById<ListView>(Resource.Id.UserList); - Find user control from layout page

6. userlist = new List<User>(); - add collection

7. UserListView.Adapter = new UserAdapters(this, userlist); - Assign user collection into adapters








Questions

1 Can you tell about Xamarin ?
2 History of Xamarin
3 What is Xamarin.iOS Application compiler?
4 What Xamarin.Android Application compiler?
5 Can we develop Windows mobile application using xamarin Studio in mac OS?
6 Can we develop iOS application using VS in Windows machine?
7 Can we develop iOS application using Xamarin Studio in Windows machine?
8 Did we develop Xamarin Mobile cross platform Application using Visual Studio?
9 Can you share iOS,Android,Windows Mobile application design guide line?
10 What is TestFlight?
11 What is hockeyapp?
12 How to use version control in Xamarin Studio?
13 What are the way to share the code to different platform?
14 What is Portable class libraries?
15 What are the benefits for PCL?
16 What is Shared Project?
17 Do we have any output file for share project?
18 What is the Version of xamain Studio and Visual Studio will support Share project?
19 What is iOS platform SDK Access?
20 What is Android Platform SDK Access?
21 What is Windows Platform SDK Access?
22 What is use of __MOBILE__ Conditional Compilation?
23 How to get library path in Xamarin.Android?
24 How to get library path in Xamarin.iOS?
25 How to get library path from UWP?
26 What is HttpClient ?
27 Did we have Xamarin.iOS unit testing framework?
28 How to make iOS native libraries accessible in Xamarin apps?

Xamarin. Android 

29 What is Xamarin.Android ?
30 What is the file format for Android Designer File and where its located?
31 How to setup first PAGE (Launch page) in xamarin android?
32 What all Contains in AndroidManifest.xml file?
33 How to enable Debugging on Android Device?
34 How to Set Icons for Different Android Screen Densities?
35 Can you Explain about Activities?
36 Differentiate Activities from Services?
37 What is adb?
38 What are the four essential states of an activity?
39 What is ANR?
40 What is a Fragment?
41 How to specify Control ID in xamarin.Android?
42 How to Register button control in MainActivity Class?
43 How to add button click event?
44 Can you explain about Activity State?
45 Can You explain about Activity lifecycle?
46 When open the app, what are activity method will execute?
47 When Back Button Pressed, what are activity method will execute?
48 When home button pressed, what are activity method will execute?
49 When open App another app from notification bar or while open SETTING, WHAT are the activity method will EXECUTE?
50 When any dialog open on screen, What are the activity method will execute ?
51 After dismiss the dialog or back button from dialog, What are the activity method will execute ?
52 Any phone is ringing and user in the app, What are the activity method will EXECUTE?
53 What is Different between Home and back button?
54 What is use of OnSaveInstanceState ?
55 What is use of OnRestoreInstanceState ?
56 What is indent?
57 Can You explain about 2 Different type of Intent?
58 How to Add Androidmanifest.xml file? If the application does not already have an AndroidManifest.xml .
59 How to Add Required Permission from Android Application? ( eg: Camera ,Call Phone )
60 How to Prevent orientation change for a page?
61 How you can use animation in xamarin android application?
62 What are different type Animation in Xamarin.Android?
63 How to Specify Supported Architectures?
64 How do you handle orientation changes on Activity?
65 What are two different type orientation technique?
66 How to Identify Orientation status?
67 How to play Audio in ANDROID?
68 How to recording Audio in Android ?
69 Do we need to Enable any required permission for Debug recording Audio?
70 Is there a way to disable screenshot?
71 How to Send SMS ?
72 How to Initializing and Playing Audio?
73 What is local Notification in Xamarin.Android ?
74 What are the Two Daffern type of Notification layout ?
75 What are the two different Android notification layouts?
76 What is the class will use for Notification?
77 How to Enable Notification SOUND?
78 How to Enable Notification Vibrate?
79 What is Google Cloud messaging?
80 What is a Push notification on Android?
81 How to implement Local Storage in Xamarin.Android?
82 What are the different way for Local storage?
83 What are the Advantages of using a Database?
84 How to retrieve library path in xamarin.Android?
85 What is CardView widget?
86 How to create Splash Activity?
87 What is use Grid View control?
88 What is different Grid View and Grid Layout ?
89 What is LinearLayout?
90 What is Android Beam?
91 How Android Beam will work?
92 What are the required device permission for Fingerprint Authentication?
93 What is App-Linking?
94 What is ProGuard?
95 How to Disable Debugging in release mode using conditional compile?
96 How to use Localization?
97 How Launch Android Emulator using Command line?
98 Can we develop Android Wear application ? 

Xamarin.iOS


99 Can you tell about Xamarin.iOS?
100 Can we develop ios Application using Xamarin Studio in Windows machine?
101 What is use of Appdelegate.cs file?
102 What is use of info.Plist file?
103 How to read Custom .Plist file ?
104 What is use of entitlements.plist file?
105 What is UIViewController lifecycle?
106 What is content View Hierarchy?
107 How to change button text in Runtime?
108 How to enable to disable Button?
109 How to dismiss keyboard while button click?
110 What is use of NSURl?
111 What is code for Show alert?
112 How to deploy application to Device?
113 What is Device Provisioning?
114 What is storyboard?
115 How to use PushViewController on UIViewContoller ?
116 Can you explain about Navigation Controllers and Segues?
117 What Event with UIKit?
118 What is delegate?
119 What is use of NSAutoReleasePool?
120 What is UNUserNotificationCenter?
121 How to add Image in code behind file ?
122 How to set Launch Screens with Storyboards?
123 What is Different FromBundle VS FromFile?
124 Can we create Resource folder from iOS project ?
125 What is Build Action for image ?
126 What are the .plist file?
127 What is use info.plist file?
128 What is class we can use for FileSystem?
129 How to get subdirectory from Current Directory?
130 How to read the files?
131 How to get MyDocument Folder path?
132 How to write file to ios local storage?
133 How to create DIRECTORY?
134 What is use of UIFileSharingEnabled?
135 What is of SetSkipBackupAttribute?
136 How to generate unique ID?
137 How to create App URL Scheme in Xamarin.iOS?
138 How to Use or Debug App URL Scheme in Xamarin.ios?
139 How to open Setting in Iphone?
140 How to add Control inside the View ?
141 What is use of VieDidLoad()?
142 What is the use of LoadView() ?
143 What is Background Task?
144 What are the Application State?
145 What are the Application lifecycle?
146 What is App Switcher?
147 What are the different type of Background Fetch Interval?
148 What is use of BackgroundFetchIntervalNever ?
149 What is use of BackgroundFetchIntervalMinimum ?
150 What is use of BackgroundFetchIntervalCustom ?
151 What are setting need to Enable for implement Location in your application?
152 How to Check Location Service Enable or Not?
153 What is NSUserDefault?
154 How to use NSUserDefault?
155 What is use of Auto layout?
156 What is Storyboard?
157 How can show a pdf, stored on the device, in an UIWebView?
158 What is different between UITextField vs UITextView?
159 How can we get selected text index in UITextView in IOS?
160 How to Set TextView as Read only?
161 What is UIControlState?
162 What is use of Slider control?
163 What is use of Switch Control?
164 What are the UITableView Parts ?
165 What is UICollectionView?
166 What is use of Tabbed Application?
167 What is Binding Objective-C?
168 What is use of new Reference Counting System?

Xamarin .Forms


169 Can you tell about Xamarin.Forms?
170 Can you tell what are the platform will support xamarin.Forms?
171 What s version visual Studio Will support Xamarin.Forms?
172 How to convert Portable solution to Xamarin.Forms Applications?
173 How to Show Alert Box on all the platform ?
174 What is Page in Xamarin.Forms ?
175 What is different type of pages in xamarin.Forms ?
176 What is ContentPage?
177 What is MasterDetailpage?
178 What is NavigationPage?
179 What is TabbedPage
180 What is TemplatePage?
181 What is CarouselPage?
182 What is Layouts?
183 What are the different type of layouts?
184 What is Xamarin.Forms View?
185 What is StackLayout?
186 What is Xamarin.Forms ListView?
187 Can you tell about different type ContentPage Navigation?
188 What is Hierarchical Navigation?
189 Can you write code for Create RootPagenavigation ?
190 What is PushingPage NAVIGATION?
191 What is PoppingPage Navigation?
192 What is PopToRoot Navigation?
193 How to disable back action from login Success screen?
194 How to pass Data through BindingContext?
195 What is Model Navigation?
196 How to disable back Button press?
197 What is ResourceDictionary?
198 What is differentness between Static vs. StaticResources?
199 How to Set as Home page in xamarin Forms?
200 What is “MainPage” property from App Class?
201 What is Property Dictionary?
202 How to Save Property Dictionary?
203 How to Get Property Dictionary?
204 How to access Application.Current.Properties from a Native Class?
205 What is App Lifecycle?
206 What is Behaviors?
207 Why we need Behaviors?
208 What is Attached Property?
209 How to Create Custom Entry Control?
210 How to Consume Custom Control in Xaml Page?
211 How to Consume custom Control in C# Page?
212 What is Custom Render?
213 How to create Custom Render Class?
214 What are the steps to create PageRenderer?
215 How to IMPLEMENT Camera page using PAGERENDERER?
216 What is DependencyService?
217 How DependencyService Wokrs?
218 How to Dismiss Keyboard after entry using xamarin.forms ?
219 How to use FileSystem?
220 Do we have any Common Package for File System?
221 What is use of TapGestureRecognizera()?
222 What is use of PinchGestureRecognizer?
223 What is use of PanGestureRecognizer?
224 What is MessagingCenter?
225 How the messagingcenter Works?
226 What is Subscribe Message?
227 What is Send Message?
228 How to send message?
229 How to Subscribe message?
230 How to PASSING / receiving as argument from messaging?
231 How to unsubscribe Message?
232 What is Action Sheet?
233 How to display UIActionSheet?
234 What is Xamarin Forms Control Templates?
235 What is Data Templates?
236 What is trigger?
237 What are the Different type TRIGGER?
238 What is property Trigger?
239 What is Data Trigger?
240 What is Event Trigger?
241 What is Multi Trigger?
242 What are the build a Color instance?
243 How to assign Web Image from Image control?
244 What is different between Entry VS Editor?
245 How to Fix the Image size to the Screen?
246 What is WebView?
247 How to display website inside the apps?
248 How to Display Html Design inside the apps?
249 How to Send email from Shared code in Xamarin.Forms?
250 What is CocosSharp?
251 What are the COCOSSharp features ?
252 What is SkiaSharp?
253 What is urhoSharp?

Questions

1 Can you tell about Xamarin ?
2 History of Xamarin
3 What is Xamarin.iOS Application compiler?
4 What Xamarin.Android Application compiler?
5 Can we develop Windows mobile application using xamarin Studio in mac OS?
6 Can we develop iOS application using VS in Windows machine?
7 Can we develop iOS application using Xamarin Studio in Windows machine?
8 Did we develop Xamarin Mobile cross platform Application using Visual Studio?
9 Can you share iOS,Android,Windows Mobile application design guide line?
10 What is TestFlight?
11 What is hockeyapp?
12 How to use version control in Xamarin Studio?
13 What are the way to share the code to different platform?
14 What is Portable class libraries?
15 What are the benefits for PCL?
16 What is Shared Project?
17 Do we have any output file for share project?
18 What is the Version of xamain Studio and Visual Studio will support Share project?
19 What is iOS platform SDK Access?
20 What is Android Platform SDK Access?
21 What is Windows Platform SDK Access?
22 What is use of __MOBILE__ Conditional Compilation?
23 How to get library path in Xamarin.Android?
24 How to get library path in Xamarin.iOS?
25 How to get library path from UWP?
26 What is HttpClient ?
27 Did we have Xamarin.iOS unit testing framework?
28 How to make iOS native libraries accessible in Xamarin apps?

Xamarin. Android

29 What is Xamarin.Android ?
30 What is the file format for Android Designer File and where its located?
31 How to setup first PAGE (Launch page) in xamarin android?
32 What all Contains in AndroidManifest.xml file?
33 How to enable Debugging on Android Device?
34 How to Set Icons for Different Android Screen Densities?
35 Can you Explain about Activities?
36 Differentiate Activities from Services?
37 What is adb?
38 What are the four essential states of an activity?
39 What is ANR?
40 What is a Fragment?
41 How to specify Control ID in xamarin.Android?
42 How to Register button control in MainActivity Class?
43 How to add button click event?
44 Can you explain about Activity State?
45 Can You explain about Activity lifecycle?
46 When open the app, what are activity method will execute?
47 When Back Button Pressed, what are activity method will execute?
48 When home button pressed, what are activity method will execute?
49 When open App another app from notification bar or while open SETTING, WHAT are the activity method will EXECUTE?
50 When any dialog open on screen, What are the activity method will execute ?
51 After dismiss the dialog or back button from dialog, What are the activity method will execute ?
52 Any phone is ringing and user in the app, What are the activity method will EXECUTE?
53 What is Different between Home and back button?
54 What is use of OnSaveInstanceState ?
55 What is use of OnRestoreInstanceState ?
56 What is indent?
57 Can You explain about 2 Different type of Intent?
58 How to Add Androidmanifest.xml file? If the application does not already have an AndroidManifest.xml .
59 How to Add Required Permission from Android Application? ( eg: Camera ,Call Phone )
60 How to Prevent orientation change for a page?
61 How you can use animation in xamarin android application?
62 What are different type Animation in Xamarin.Android?
63 How to Specify Supported Architectures?
64 How do you handle orientation changes on Activity?
65 What are two different type orientation technique?
66 How to Identify Orientation status?
67 How to play Audio in ANDROID?
68 How to recording Audio in Android ?
69 Do we need to Enable any required permission for Debug recording Audio?
70 Is there a way to disable screenshot?
71 How to Send SMS ?
72 How to Initializing and Playing Audio?
73 What is local Notification in Xamarin.Android ?
74 What are the Two Daffern type of Notification layout ?
75 What are the two different Android notification layouts?
76 What is the class will use for Notification?
77 How to Enable Notification SOUND?
78 How to Enable Notification Vibrate?
79 What is Google Cloud messaging?
80 What is a Push notification on Android?
81 How to implement Local Storage in Xamarin.Android?
82 What are the different way for Local storage?
83 What are the Advantages of using a Database?
84 How to retrieve library path in xamarin.Android?
85 What is CardView widget?
86 How to create Splash Activity?
87 What is use Grid View control?
88 What is different Grid View and Grid Layout ?
89 What is LinearLayout?
90 What is Android Beam?
91 How Android Beam will work?
92 What are the required device permission for Fingerprint Authentication?
93 What is App-Linking?
94 What is ProGuard?
95 How to Disable Debugging in release mode using conditional compile?
96 How to use Localization?
97 How Launch Android Emulator using Command line?
98 Can we develop Android Wear application ?

Xamarin.iOS

99 Can you tell about Xamarin.iOS?
100 Can we develop ios Application using Xamarin Studio in Windows machine?
101 What is use of Appdelegate.cs file?
102 What is use of info.Plist file?
103 How to read Custom .Plist file ?
104 What is use of entitlements.plist file?
105 What is UIViewController lifecycle?
106 What is content View Hierarchy?
107 How to change button text in Runtime?
108 How to enable to disable Button?
109 How to dismiss keyboard while button click?
110 What is use of NSURl?
111 What is code for Show alert?
112 How to deploy application to Device?
113 What is Device Provisioning?
114 What is storyboard?
115 How to use PushViewController on UIViewContoller ?
116 Can you explain about Navigation Controllers and Segues?
117 What Event with UIKit?
118 What is delegate?
119 What is use of NSAutoReleasePool?
120 What is UNUserNotificationCenter?
121 How to add Image in code behind file ?
122 How to set Launch Screens with Storyboards?
123 What is Different FromBundle VS FromFile?
124 Can we create Resource folder from iOS project ?
125 What is Build Action for image ?
126 What are the .plist file?
127 What is use info.plist file?
128 What is class we can use for FileSystem?
129 How to get subdirectory from Current Directory?
130 How to read the files?
131 How to get MyDocument Folder path?
132 How to write file to ios local storage?
133 How to create DIRECTORY?
134 What is use of UIFileSharingEnabled?
135 What is of SetSkipBackupAttribute?
136 How to generate unique ID?
137 How to create App URL Scheme in Xamarin.iOS?
138 How to Use or Debug App URL Scheme in Xamarin.ios?
139 How to open Setting in Iphone?
140 How to add Control inside the View ?
141 What is use of VieDidLoad()?
142 What is the use of LoadView() ?
143 What is Background Task?
144 What are the Application State?
145 What are the Application lifecycle?
146 What is App Switcher?
147 What are the different type of Background Fetch Interval?
148 What is use of BackgroundFetchIntervalNever ?
149 What is use of BackgroundFetchIntervalMinimum ?
150 What is use of BackgroundFetchIntervalCustom ?
151 What are setting need to Enable for implement Location in your application?
152 How to Check Location Service Enable or Not?
153 What is NSUserDefault?
154 How to use NSUserDefault?
155 What is use of Auto layout?
156 What is Storyboard?
157 How can show a pdf, stored on the device, in an UIWebView?
158 What is different between UITextField vs UITextView?
159 How can we get selected text index in UITextView in IOS?
160 How to Set TextView as Read only?
161 What is UIControlState?
162 What is use of Slider control?
163 What is use of Switch Control?
164 What are the UITableView Parts ?
165 What is UICollectionView?
166 What is use of Tabbed Application?
167 What is Binding Objective-C?
168 What is use of new Reference Counting System?

Xamarin .Forms

169 Can you tell about Xamarin.Forms?
170 Can you tell what are the platform will support xamarin.Forms?
171 What s version visual Studio Will support Xamarin.Forms?
172 How to convert Portable solution to Xamarin.Forms Applications?
173 How to Show Alert Box on all the platform ?
174 What is Page in Xamarin.Forms ?
175 What is different type of pages in xamarin.Forms ?
176 What is ContentPage?
177 What is MasterDetailpage?
178 What is NavigationPage?
179 What is TabbedPage
180 What is TemplatePage?
181 What is CarouselPage?
182 What is Layouts?
183 What are the different type of layouts?
184 What is Xamarin.Forms View?
185 What is StackLayout?
186 What is Xamarin.Forms ListView?
187 Can you tell about different type ContentPage Navigation?
188 What is Hierarchical Navigation?
189 Can you write code for Create RootPagenavigation ?
190 What is PushingPage NAVIGATION?
191 What is PoppingPage Navigation?
192 What is PopToRoot Navigation?
193 How to disable back action from login Success screen?
194 How to pass Data through BindingContext?
195 What is Model Navigation?
196 How to disable back Button press?
197 What is ResourceDictionary?
198 What is differentness between Static vs. StaticResources?
199 How to Set as Home page in xamarin Forms?
200 What is “MainPage” property from App Class?
201 What is Property Dictionary?
202 How to Save Property Dictionary?
203 How to Get Property Dictionary?
204 How to access Application.Current.Properties from a Native Class?
205 What is App Lifecycle?
206 What is Behaviors?
207 Why we need Behaviors?
208 What is Attached Property?
209 How to Create Custom Entry Control?
210 How to Consume Custom Control in Xaml Page?
211 How to Consume custom Control in C# Page?
212 What is Custom Render?
213 How to create Custom Render Class?
214 What are the steps to create PageRenderer?
215 How to IMPLEMENT Camera page using PAGERENDERER?
216 What is DependencyService?
217 How DependencyService Wokrs?
218 How to Dismiss Keyboard after entry using xamarin.forms ?
219 How to use FileSystem?
220 Do we have any Common Package for File System?
221 What is use of TapGestureRecognizera()?
222 What is use of PinchGestureRecognizer?
223 What is use of PanGestureRecognizer?
224 What is MessagingCenter?
225 How the messagingcenter Works?
226 What is Subscribe Message?
227 What is Send Message?
228 How to send message?
229 How to Subscribe message?
230 How to PASSING / receiving as argument from messaging?
231 How to unsubscribe Message?
232 What is Action Sheet?
233 How to display UIActionSheet?
234 What is Xamarin Forms Control Templates?
235 What is Data Templates?
236 What is trigger?
237 What are the Different type TRIGGER?
238 What is property Trigger?
239 What is Data Trigger?
240 What is Event Trigger?
241 What is Multi Trigger?
242 What are the build a Color instance?
243 How to assign Web Image from Image control?
244 What is different between Entry VS Editor?
245 How to Fix the Image size to the Screen?
246 What is WebView?
247 How to display website inside the apps?
248 How to Display Html Design inside the apps?
249 How to Send email from Shared code in Xamarin.Forms?
250 What is CocosSharp?
251 What are the COCOSSharp features ?
252 What is SkiaSharp?
253 What is urhoSharp?

Featured Post

Improving C# Performance by Using AsSpan and Avoiding Substring

During development and everyday use, Substring is often the go-to choice for string manipulation. However, there are cases where Substring c...

MSDEVBUILD - English Channel

MSDEVBUILD - Tamil Channel

Popular Posts