diff --git a/docs/application/dotnet/guides/index.md b/docs/application/dotnet/guides/index.md index 5931aafce0..fe8c8d4571 100644 --- a/docs/application/dotnet/guides/index.md +++ b/docs/application/dotnet/guides/index.md @@ -224,6 +224,36 @@ Tizen.Wearable.CircularUI supports Tizen wearable-specific user interfaces and T +
+
+
+

Maigration to Xamarin.Tizen

+ +
+ +
+
+
+
+
+

Migration to Xamarin.Tizen

+ +
+ +
+
diff --git a/docs/application/dotnet/guides/migration/migrate-xaml-android.md b/docs/application/dotnet/guides/migration/migrate-xaml-android.md new file mode 100644 index 0000000000..70126e3f50 --- /dev/null +++ b/docs/application/dotnet/guides/migration/migrate-xaml-android.md @@ -0,0 +1,7 @@ +# Migrate Xamarin.Android App to Xamarin.Tizen + + + +## Related information +- Dependencies + - Tizen 6.5 and Higher diff --git a/docs/application/dotnet/guides/migration/migrate-xaml-forms.md b/docs/application/dotnet/guides/migration/migrate-xaml-forms.md new file mode 100644 index 0000000000..177ff3c963 --- /dev/null +++ b/docs/application/dotnet/guides/migration/migrate-xaml-forms.md @@ -0,0 +1,52 @@ +# Migrate Xamarin.Forms App to NUI Xaml + +The process for migrating a Xamarin.Forms app to Xmarin.Tizen is expected to be: + +1. Create empty NUI Xaml App +2. Update namespaces and declared assemblies +3. Convert elements +3. Build and fix any issues +4. Run the converted app and verify that is functions correctly. + +## Migration process + +### Create empty NUI Xaml App + +Follow [Get-Started](../user-interface/nui/xaml/get-started-xaml.md) to create empty Tizen NUI XAML App + +### Update namespaces and declared assembiles + +| Old namespace and assembly | New namespace and assembly | +| ------------------------------------ | ---------------------------------------- | +| xmlns="http://zamarin.com/schemas/2014/forms | xmlns="http://tizen.org/Tizen.NUI/2018/XAML" | +| | xmlns:base="clr-namespace:Tizen.NUI.BaseComponets;assembly=Tizen.NUI" | +| | xmlns:comp="clr-namespace:Tizen.NUI.Componets;assembly=Tizen.NUI.Components" | +| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | xmlns:x="https://schemas.microsoft.com/winfx/2009/xaml" | + +### Convert elements + +Basing on sample app source code + +| Xamarin.Forms | Xmarin.Tizen | +| ------------- | ------------ | +|[XAML Forms Page](FormsXamlPage.xaml)|[XAML Tizen Page](TizenXamlPage.xaml) | + +#### XAML Source + +Below table shows UI elements form Xamarin.Forms and their replacement in NUI Xaml + +| Xamarin.Forms | NUI Xaml | +| ------------- | ------------ | +| Frame | View | +| Label | TextLabel | +| FontSize | PointSize | + +### Verification + +| Xamarin.Forms | NUI Xaml | +| ------------- | ------------ | +| | | + +## Related information +- Dependencies + - Tizen 6.5 and Higher diff --git a/docs/application/dotnet/guides/migration/overview.md b/docs/application/dotnet/guides/migration/overview.md new file mode 100644 index 0000000000..bae7864b44 --- /dev/null +++ b/docs/application/dotnet/guides/migration/overview.md @@ -0,0 +1,14 @@ +# Migration + +There is no need to rewrite your Xamarin.Forms and Xamarin.Andorid apps to run them on Tizen Platform. + +Xamarin.Forms App you can load directly to VS and run on your device, while Xamarin.Android specific Apps needs some code changes. + +- [Migration Xamarin.Forms](migrate-xaml-forms.md) + +- [Migrate Xamarin.Android](migrate-xaml-android.md) + + +## Related information +- Dependencies + - Tizen 6.5 and Higher diff --git a/docs/application/dotnet/guides/migration/xaml-forms.png b/docs/application/dotnet/guides/migration/xaml-forms.png new file mode 100644 index 0000000000..146f5e4fe5 Binary files /dev/null and b/docs/application/dotnet/guides/migration/xaml-forms.png differ diff --git a/docs/application/dotnet/guides/migration/xaml-tizen.png b/docs/application/dotnet/guides/migration/xaml-tizen.png new file mode 100755 index 0000000000..04c5364127 Binary files /dev/null and b/docs/application/dotnet/guides/migration/xaml-tizen.png differ diff --git a/docs/application/toc_all.md b/docs/application/toc_all.md index a3f65687ae..66af85b253 100755 --- a/docs/application/toc_all.md +++ b/docs/application/toc_all.md @@ -124,6 +124,11 @@ #### [Single Shot](/application/dotnet/guides/machine-learning/singleshot.md) #### [Pipeline](/application/dotnet/guides/machine-learning/pipeline.md) +### Migration +#### [Overview](/application/dotnet/guides/migration/overview.md) +#### [Migrate Xamarin.Forms](/application/dotnet/guides/migration/migrate-xaml-forms.md) +#### [Migrate Xamarin.Android](/application/dotnet/guides/migration/migrate-xaml-android.md) + ### Maps #### [Overview](/application/dotnet/guides/maps/maps.md) #### [Getting HERE Maps Credentials](/application/dotnet/guides/maps/here-credentials.md)