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

What do you think about this GUIDE?


  • Total voters
    92
Search This thread

ScatteredHell

Senior Member
Jul 4, 2012
1,965
539
28
Colombo
Hi guys, you want to develop android apps too? also you can C#? Then It's good, U don't need JAVA anymore.

Requirements:eek:* Working Computer :D
** 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/Programming/Components-Libraries/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)

SDK2.jpg
SDK1.jpg
type.jpg

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

sdd.jpg

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

avd1.jpg

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

avd2.jpg

4- Press Create AVD

5- Just Close it :D

Installation Mono Android, XAMARIN

1- Download Mono Android 4.2.6...Here is a trial version http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.2.6.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.....:D:D:D

5- Open MVS or XAMARIN, choose new project , Mono for Android then select Android Application, press OK
MVS.jpg

6- Start Developing Now :D and Good LUCK:good::good::good:

Happy CODING!

Samples BELOW

If you are satisfy with the cracked ones after you used them, please buy it. ;)
 

Attachments

  • 1.zip
    3.5 MB · Views: 2,407
  • Ex.zip
    4.7 MB · Views: 2,113
Last edited:

bassie1995

Senior Member
Jan 9, 2011
2,505
407
Delft
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

Member
May 3, 2008
9
2
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 :/
 
  • Like
Reactions: ScatteredHell

Hotfingers

Senior Member
Jul 5, 2012
341
202
Roodepoort
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 :/

Does anybody know how this compares with "dot42" - http://www.dot42.com/
It says its free, and seems to do the same thing for c# / android development.
 
  • Like
Reactions: ScatteredHell

Xam335

Member
May 3, 2008
9
2
Does anybody know how this compares with "dot42" - http://www.dot42.com/
It says its free, and seems to do the same thing for c# / android development.

I didn't know that until now. It looks like an interesting alternative. But looking at it also permitted me to refresh my news and Xamarin's solution now use a size cap for the free version (instead of earlier a the limitation to not deploy on devices)

I'd do it if it didn't cost $300/year for an Indie license if my app get's too large :(

(max 32k of IL code)
 
  • Like
Reactions: svetius

Archer

Inactive Recognized Developer / Retired Senior Mod
Jul 9, 2008
14,002
4,003
Manchester
Google Pixel 8 Pro
Does anybody know how this compares with "dot42" - http://www.dot42.com/
It says its free, and seems to do the same thing for c# / android development.

This looks very interesting. I'm installing the community edition now. Will report back once I've had a play :)

Edit: So far so good. I've installed it and built and deployed the "hello world" app to my phone. It was a darn sight quicker than eclipse!
 
Last edited:

Malkaridae

Member
Aug 16, 2012
45
8
Same here, I find Java straightforward. I started C# as my first language and started Java later on, and it is really identical to C#, just a minor syntax differences here and there.
 

ScatteredHell

Senior Member
Jul 4, 2012
1,965
539
28
Colombo
nice info...


I just started to learn C# =)

Glad to hear that :D I'm still learning too ;)

Does anybody know how this compares with "dot42" - http://www.dot42.com/
It says its free, and seems to do the same thing for c# / android development.

Thanks, I Installed it...yeah, It's great too

Well,as some(most) people think /know that JAVA is really hard to learn and has many "holes" it's better to programm in C#......but hey everyone has it's own taste hehehe

Of course, I first tried to learn JAVA myself but due to my bad English I couldn't :(
So, I just looked at C# and I could grasp it cause I former was VB6 fan :D:D:D
So, many says JAVA good, but for me C# ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Hi guys, you want to develop android apps too? also you can C#? Then It's good, U don't need JAVA anymore.

    Requirements:eek:* Working Computer :D
    ** 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/Programming/Components-Libraries/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)

    SDK2.jpg
    SDK1.jpg
    type.jpg

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

    sdd.jpg

    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

    avd1.jpg

    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

    avd2.jpg

    4- Press Create AVD

    5- Just Close it :D

    Installation Mono Android, XAMARIN

    1- Download Mono Android 4.2.6...Here is a trial version http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.2.6.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.....:D:D:D

    5- Open MVS or XAMARIN, choose new project , Mono for Android then select Android Application, press OK
    MVS.jpg

    6- Start Developing Now :D and Good LUCK:good::good::good:

    Happy CODING!

    Samples BELOW

    If you are satisfy with the cracked ones after you used them, please buy it. ;)
    3
    Does anybody know how this compares with "dot42" - http://www.dot42.com/
    It says its free, and seems to do the same thing for c# / android development.

    This looks very interesting. I'm installing the community edition now. Will report back once I've had a play :)

    Edit: So far so good. I've installed it and built and deployed the "hello world" app to my phone. It was a darn sight quicker than eclipse!
    2
    Are there any advantages to using this?

    There are a lot of advantages, here are a few that are top of mind:
    • Write in C# (can also be used on iOS (via Xamarin.iOS), Windows Phone, Windows 8, backend services, etc.)
    • Create your layouts natively in Android XML, but use C# for backing code
    • Access to .Net libraries like Async and LINQ
    • Create one solution which shares common code across all mobile platforms

    If all you care about is Android, and you already know Java, then there may not be much point. But, if you want to also dev for iOS or any Windows platform, then going this route can let you use C# on every platform and share code between them while still using native controls for each platform - pretty powerful if you ask me. Combine Xamarin with Parse and you have all mobile platforms with native frontends and with a hosted cloud backend - it's a killer combo. That's what I'm using (Xamarin.iOS + Parse.com) on the current startup I'm working on..
    1
    Nice guide
    will try
    1
    According to my views C# is used to make desktop applications. i am not much aware about devlopment of android applications in C# bt i can say JAVA would be more preferable for android applications as JAVA is easy then C#.

    Dat post limit spam.

    Anyhow, true. You miss the native IDE things like the UI designer.

    Sent from my GT-I9300 using Tapatalk 4