(ƒ‘¬ë¦¬—ë“€¶”²œC#,‍마린굜강¢Œ) ?_¬ëœ¤”Œë‍«¼ •± 개발‌„ œ„•œ

  • View
    762

  • Download
    3

Embed Size (px)

Text of (ƒ‘¬ë¦¬—ë“€¶”²œC#,‍마린굜강¢Œ)...

Xamarin (Xamarin.Forms)

Xamarin(Xamarin.Forms)(http://topcredu.co.kr),

Xamarin.Forms Requirements Xamarin.Forms Xamarin.Forms (Android, iOS, Windows, and Windows Phone) . Native Controll . Page Activity, iOS View Controller, Windows Universal Platform Page .

Target Platform : Xamarin.Forms OS .Android 4.0.3 (API 15) or higher #iOS 6.1 or higherWindows Phone 8.1 (WinRT, using Visual Studio) #Windows 8.1 Tablet/Desktop Apps (WinRT, using Visual Studio) #Windows 10 Universal Apps (Phone/Tablet/Desktop, using Visual Studio) #Windows Phone 8 Silverlight (using Visual Studio) DEPRECATED #

AndroidTarget Compile Use latest installed platform .Build > GeneralBuild > Android Application

Xamarin.Forms Windows Xamarin.Forms 3 Windows .Windows 8.1 - , (WinRT , WinRT Windows Runtime MS API)Windows Phone 8.1 : Universal Windows Platform Apps - Xamarin.Forms 10 Universal (UWP) , , .Windows : Windows8.1 .Universal Windows Platform(UWP) : Windows 10 UWP . UI .Metro App -> Modern App -> Windows Store App -> Universal App Platform(Windows 10) Windows Phone 8(Silverlight) : Xamarin.Forms 1.x and 2.x Windows Phone 8 Silveright Deprecated .

Xamarin.Forms Mac : iOS Xcode 7 .Windows : 2012(Win 7), iOS Mac .Universal Windows Platform System 2015 Windows10 .

Quick Start Examplehttps://developer.xamarin.com/guides/xamarin-forms/getting-started/hello-xamarin-forms/quickstart/

Xamarin.Forms

Xamarin.Forms App .

ContentPage StackLayout or ScrollView Display Page ContentPage , . public class App : Application{ public App () { MainPage = new ContentPage { Content = new Label { Text = "Hello, Forms !", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand, } }; } }

iOSXamarin.Forms iOS Xamarin.Forms.Platform.iOS.FormsApplicationDelegate AppDelegate . FinishedLaunching Init Xamarin.Forms .

[Register("AppDelegate")]public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate{ public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init (); LoadApplication (new App ()); return base.FinishedLaunching (app, options); }}

Android Xamarin.Forms Page MainLancher Activity(FormsApplicationActivity ) .

OnCreate Init Xamarin.Forms .

[Activity(Label = "HelloXamarinFormsWorld", MainLauncher = true,ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Xamarin.Forms.Forms.Init(this, bundle); LoadApplication (new App ()); } }

This Practice makes the Expert!

C#,ADO.NET,Network C#, Xamarin

Xamarin