Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,815 Members 42,510 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: What do you think about this GUIDE?
Very Nice, 85 96.59%
Wasn't helpful 3 3.41%
Voters: 88. You may not vote on this poll

[GUIDE]Xamarin-Build-Android-Apps-With-C#

Tip us?
 
ScatteredHell
Old
(Last edited by ScatteredHell; 3rd September 2014 at 09:47 AM.)
#1  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,879
Join Date: Jul 2012
Location: Colombo
Default [GUIDE]Xamarin-Build-Android-Apps-With-C#

Hi guys, you want to develop android apps too? also you can C#? Then It's good, U don't need JAVA anymore.

Requirements* Working Computer
** Microsoft Visual Studio 2010 / 2012 or XAMARIN or Mono Develop
**Mono Android
**Android SDK
**You should know the C# language
**Gtk for .Net ----- http://www.softpedia.com/get/Program...ies/Gtk-.shtml


Then let's start.......

Installing Android SDK

1- Go to this site
http://developer.android.com/sdk/index.html

2- Download and Install it ----Choose 32-bit or 64-bit ------(If you don't know, Right click on My Computer then properties....see the pic below)

Click image for larger version

Name:	SDK2.jpg
Views:	1463
Size:	255.5 KB
ID:	1861921
Click image for larger version

Name:	SDK1.jpg
Views:	3267
Size:	145.7 KB
ID:	1861922
Click image for larger version

Name:	type.jpg
Views:	3203
Size:	155.8 KB
ID:	1861926

3- After the installation
Go to start menu----All Programs---Android SDK Tools---SDK Manager

Click image for larger version

Name:	sdd.jpg
Views:	3221
Size:	164.5 KB
ID:	1861944

4- First tick Tools, Extras and install them

5- Install any Android version you want to develop


Creating a AVD Android Virtual Device

1- Go to Start Menu---All Programs---Android SDK Tools--AVD Manager

2- Press New

Click image for larger version

Name:	avd1.jpg
Views:	3013
Size:	105.6 KB
ID:	1861956

3- Give any name you want, but without spaces
Choose the target that you create this AVD to....I chose to Android 2.3.3
Enter the Size of SD card that you want to create
You can customize the resolution
LCD Density/Max VM/Ram size change according to your need

Click image for larger version

Name:	avd2.jpg
Views:	3081
Size:	164.6 KB
ID:	1861957

4- Press Create AVD

5- Just Close it

Installation Mono Android, XAMARIN

1- Download Mono Android 4.2.6...Here is a trial version http://download.xamarin.com/MonoforA....103999197.msi

2- But in order to use it with MVS you need Business Version or Higher, Mod Edit: no cracks..., but If you like it please buy it to support them.

3- If you don't have the Business version of Mono Android then you can download XAMARIN from here....http://xamarin.com/

4- Now you have done all.....

5- Open MVS or XAMARIN, choose new project , Mono for Android then select Android Application, press OK
Click image for larger version

Name:	MVS.jpg
Views:	3917
Size:	132.7 KB
ID:	1861919

6- Start Developing Now and Good LUCK

Happy CODING!

Samples BELOW

If you are satisfy with the cracked ones after you used them, please buy it.
Attached Files
File Type: zip 1.zip - [Click for QR Code] (3.53 MB, 526 views)
File Type: zip Ex.zip - [Click for QR Code] (4.68 MB, 351 views)
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA
The Following 22 Users Say Thank You to ScatteredHell For This Useful Post: [ Click to Expand ]
 
Hpsgill
Old
#2  
Hpsgill's Avatar
Senior Member
Thanks Meter 1,597
Posts: 2,097
Join Date: Aug 2012
Location: Earth
Nice guide
will try
My work
Sense 5 EX
The Following User Says Thank You to Hpsgill For This Useful Post: [ Click to Expand ]
 
ScatteredHell
Old
#3  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,879
Join Date: Jul 2012
Location: Colombo
Quote:
Originally Posted by Hpsgill View Post
Nice guide
will try
of course you should
if have any problem, just ask Good Luck
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA
 
craig@xatik
Old
#4  
craig@xatik's Avatar
Senior Member
Thanks Meter 232
Posts: 253
Join Date: Mar 2012
Location: Twin Cities, MN

 
DONATE TO ME
I'd do it if it didn't cost $300/year for an Indie license if my app get's too large
Don't forget to hit Thanks if you found my post helpful!

Creator of the Man Test and Droid Draw!
Check out how Manly you are or enjoy creating patterns with the Turtle Graphics remake Droid Draw today! Both are available on Google Play for Android devices 2.2+
The Following User Says Thank You to craig@xatik For This Useful Post: [ Click to Expand ]
 
stefanACM
Old
#5  
stefanACM's Avatar
Senior Member
Thanks Meter 35
Posts: 187
Join Date: Mar 2010
Location: Banja Luka

 
DONATE TO ME
This is amazing thing, but if they can make it with VB.net then I will be best app developer for Android
The Following User Says Thank You to stefanACM For This Useful Post: [ Click to Expand ]
 
monect
Old
#6  
Junior Member
Thanks Meter 122
Posts: 18
Join Date: Apr 2013

 
DONATE TO ME
Are there any advantages to using this?
 
ScatteredHell
Old
#7  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,879
Join Date: Jul 2012
Location: Colombo
Quote:
Originally Posted by monect View Post
Are there any advantages to using this?
I think.....I saw some comments in somewhere, says that this is better for them than developing with JAVA.
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA
 
Cyberz22
Old
#8  
Senior Member
Thanks Meter 4
Posts: 153
Join Date: Jan 2011
nice info...


I just started to learn C# =)
The Following User Says Thank You to Cyberz22 For This Useful Post: [ Click to Expand ]
 
bassie1995
Old
#9  
bassie1995's Avatar
Senior Member
Thanks Meter 410
Posts: 2,442
Join Date: Jan 2011
Location: Delft

 
DONATE TO ME
Doesn't this take away the ability to use libraries, and especially hinder the development of a GUI, let alone a nice and extended one?
 
Xam335
Old
#10  
Xam335's Avatar
Junior Member
Thanks Meter 2
Posts: 9
Join Date: May 2008
Quote:
Originally Posted by bassie1995 View Post
Doesn't this take away the ability to use libraries, and especially hinder the development of a GUI, let alone a nice and extended one?
It does take away the ability to use libraries out of the box of course but with some work it's still possible.

Biggest draw back for indies is the license fee as soon as you want to push it to a device. It's only free for emulator deployments :/

The Following User Says Thank You to Xam335 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes