Your SlideShare is downloading. ×
Android App development using Xamarin Studio
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android App development using Xamarin Studio

428

Published on

Exploring the Xamarin studio and develop simple android app using C#.Net

Exploring the Xamarin studio and develop simple android app using C#.Net

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
428
On Slideshare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Android App Development with C#.Net (using Xamarin Studio) Vasistan Shakkaravarthi
  • 2. In this module • About Xamarin Studio. • Xamarin.Android architecture • Xamarin Studio IDE • Nice to know • Sample app: Layout design • Sample app: Activity code • Sample app creation demo. Android App Development using Xamarin Studio 2
  • 3. Xamarin Studio Build better apps for iOS, Android and Mac with Xamarin Studio. Android App Development using Xamarin Studio 3
  • 4. Xamarin.Android Architecture Android App Development using Xamarin Studio 4 Xamarin.Android applications run within the Mono execution environment. This execution environment runs side-by-side with the Dalvik Virtual Machine. Both runtime environments run on top of the Linux kernel and expose various APIs to the user code that allows developers to access the underlying system. Both Mono and Dalvik are runtimes written in the C language.
  • 5. Xamarin Studio IDE Android App Development using Xamarin Studio 5
  • 6. Xamarin Studio IDE Android App Development using Xamarin Studio 6
  • 7. Nice to know • Layouts • Activity • Resources • C# features (generic class, delegate etc.) Android App Development using Xamarin Studio 7
  • 8. Layout Design Android App Development using Xamarin Studio 8 TextView control EditText control Button control
  • 9. Activity Code using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace SampleApp { [Activity (Label = "Sample", MainLauncher=true)] public class CalcActivity : Activity { protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); SetContentView (Resource.Layout.CalcForm); Button button = FindViewById<Button> (Resource.Id.button1); button.Click += delegate { EditText txt1 = FindViewById<EditText> (Resource.Id.editText1); EditText txt2 = FindViewById<EditText> (Resource.Id.editText2); TextView tvResult = FindViewById<TextView> (Resource.Id.textView4); tvResult.Text= (int.Parse( txt1.Text.Trim()) + int.Parse( txt2.Text.Trim())).ToString(); }; } } } Android App Development using Xamarin Studio 9
  • 10. Demo Android App Development using Xamarin Studio 10
  • 11. Reference • http://developer.xamarin.com/guides/android/under_the_hood/archi tecture/ • https://xamarin.com/studio • http://developer.xamarin.com/ Android App Development using Xamarin Studio 11
  • 12. Thank you Check the other resources Blog http://vasistan.blogspot.in YouTube http://www.youtube.com/playlist?list=PL-CcORxeaUcgXHO7UW9sGNbue9wH-4No3

×