FORUMS

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

 View Poll Results: What do you think about this GUIDE?

Very Nice,
 
85 Vote(s)
96.59%
Wasn't helpful
 
3 Vote(s)
3.41%

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

1,885 posts
Thanks Meter: 534
 
By ScatteredHell, Senior Member on 6th April 2013, 07:58 AM
Post Reply Subscribe to Thread Email Thread
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:	2319
Size:	255.5 KB
ID:	1861921
Click image for larger version

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

Name:	type.jpg
Views:	6493
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:	6417
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:	6238
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:	6302
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:	7358
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, 1832 views)
File Type: zip Ex.zip - [Click for QR Code] (4.68 MB, 1431 views)
Last edited by ScatteredHell; 3rd September 2014 at 09:47 AM.
The Following 22 Users Say Thank You to ScatteredHell For This Useful Post: [ View ]
 
 
8th April 2013, 04:33 PM |#2  
Hpsgill's Avatar
Senior Member
Flag Earth
Thanks Meter: 1,630
 
More
Nice guide
will try
The Following User Says Thank You to Hpsgill For This Useful Post: [ View ]
8th April 2013, 05:58 PM |#3  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 534
 
More
Quote:
Originally Posted by Hpsgill

Nice guide
will try

of course you should
if have any problem, just ask Good Luck
18th April 2013, 11:42 PM |#4  
craig@xatik's Avatar
Senior Member
Flag Twin Cities, MN
Thanks Meter: 232
 
Donate to Me
More
I'd do it if it didn't cost $300/year for an Indie license if my app get's too large
The Following User Says Thank You to craig@xatik For This Useful Post: [ View ]
19th April 2013, 01:38 AM |#5  
stefanACM's Avatar
Senior Member
Flag Banja Luka
Thanks Meter: 35
 
Donate to Me
More
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: [ View ]
19th April 2013, 03:13 AM |#6  
Junior Member
Thanks Meter: 126
 
Donate to Me
More
Are there any advantages to using this?
19th April 2013, 03:51 AM |#7  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 534
 
More
Quote:
Originally Posted by monect

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.
19th April 2013, 10:43 AM |#8  
Senior Member
Thanks Meter: 10
 
More
nice info...


I just started to learn C# =)
The Following User Says Thank You to Cyberz22 For This Useful Post: [ View ]
19th April 2013, 12:12 PM |#9  
bassie1995's Avatar
Senior Member
Flag Delft
Thanks Meter: 419
 
Donate to Me
More
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?
19th April 2013, 12:49 PM |#10  
Xam335's Avatar
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by bassie1995

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes