This document provides instructions for setting up the necessary tools and environment to develop Android applications using C# in Visual Studio or Xamarin Studio. It outlines downloading and installing the Java Development Kit (JDK), Android Software Development Kit (SDK), Android Native Development Kit (NDK), GTK Sharp, Xamarin Studio, Xamarin.Android, the Android Visual Studio integration plugin, and Apache ANT. It also provides details on configuring environment variables and settings in Visual Studio/Xamarin Studio.
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Visual Studio and Xamarin Integration Process
1. Visual Studio and Xamarin
Integration Process
Prepared by:
MD. Nadim Hossain Sonet
2. To develop Android Application with C# we need:
Java Development Kit (JDK)
Android Software Development Kit (Android SDK)
Android native Development Kit (Android NDK)
GTK Sharp
Xamarin Studio
Xamarin.Android
Android Visual Studio Integration plug-in
Apache ANT
For JDK:
Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html
Select the appropriate JDK Edition, target platform and download the appropriate file.
Install application.
For Android SDK:
Go to http://developer.android.com/sdk/index.html
Expand “View All Downloads and Sizes”.
Under “SDK Tools Only” select the target platform and download the appropriate file.
Install application in the desired directory location.
Run “SDK Manager” as Administrator.
Install necessary modules.
Run “AVD Manager”.
Select “Create” and create an Android Virtual Device with appropriate parameters.
[When insertingRAM parameter under “Memory Options” use small value initially, after first successful
startup RAM Size can be changed to tailor to specific need through “Edit”.]
For Android NDK:
Go to https://developer.android.com/tools/sdk/ndk/index.html
Select 32-bit variant under target platform and download the appropriate file.
Extract the downloaded compress filein the desired directory location.
3. For GTK Sharp:
Go to http://www.mono-project.com/docs/gui/gtksharp/
orhttp://www.npackd.org/p/gtksharp/2.12.22
Download and Install the application.
For Xamarin Studio, Xamarin.Android and Android Visual Studio Integration:
Go to http://xamarin.com/download
Download and Install the Web installer.
For Apache ANT:
Go to http://ant.apache.org
Select Binary Distributions from Download.
Download the .Zip File.
Extract the downloaded compress filein the desired directory location.
4. For Environment Variable:
>>Right Click MyComputer
>>Properties
>>Advanced System Settings
>>Under Advanced tab select Environment Variables
>>Under System Variables click New
Give,
Variable Name: path
Variable Value:
C:Program Files (x86)Javajdk1.7.0_67;
C:Program Files (x86)Javajdk1.7.0_67bin;
C:Program Files (x86)Androidandroid-sdkplatform-tools;
C:Program Files (x86)Androidandroid-sdktools;
C:Program Files (x86)Androidandroid-ndk;
C:Program Files (x86)GtkSharp2.12bin;
>>Under User Variables click New
Give,
Variable Name: additional
Variable Value:
C:Android_Resant;
C:Android_Resantbin;
5. If everything installs successfully, run Xamarin Studio.
Tools>>Options
>>Projects (SDK Locations (Android))
Change Java JDK, Android SDK and Android NDK location if needed.
Project>>Project Options
>>Build (General)
Target Framework: “XYZ”
>>Build (Android Application)
Minumum Android Version: “Automatic – Use Target Framework Version”
Target Android Version: “Automatic – Use Target Framework Version”
>>Build (Android Build)
Under “Packaging” section uncheck “Fast Assembly Deployment”