-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.5][Migration] Tutorial how to migrate Xamarin.Android to Tizen #1545
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Migrate Xamarin.Android App to Xamarin.Tizen | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see any content in this page, @patrykka could you please check? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @patrykka kindly check this particular file |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file still does not have information, and so cannot proceed further with this PR review. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @patrykka, is this file part of this PR There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still don't see information included in this topic. Please check and add the required information. |
||
|
||
|
||
## Related information | ||
- Dependencies | ||
- Tizen 6.5 and Higher |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -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: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think some rephrasing required for this sentecne.
Suggested change
|
||||||
|
||||||
1. Create empty NUI Xaml App | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
2. Update namespaces and declared assemblies | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
3. Convert elements | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
3. Build and fix any issues | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
4. Run the converted app and verify that is functions correctly. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## 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 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
### 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" | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Link in the new namespace column is broken. Please check and fix the issue. |
||||||
| | 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" | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please check these links, since the target pages are not opening. |
||||||
|
||||||
### Convert elements | ||||||
|
||||||
Basing on sample app source code | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we missing text in this sentence?
Suggested change
|
||||||
|
||||||
| Xamarin.Forms | Xmarin.Tizen | | ||||||
| ------------- | ------------ | | ||||||
|[XAML Forms Page](FormsXamlPage.xaml)|[XAML Tizen Page](TizenXamlPage.xaml) | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The hyperlinks are broken. Please check and fix the issue. |
||||||
|
||||||
#### XAML Source | ||||||
|
||||||
Below table shows UI elements form Xamarin.Forms and their replacement in NUI Xaml | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please check if following suggestion looks fine?
Suggested change
|
||||||
|
||||||
| Xamarin.Forms | NUI Xaml | | ||||||
| ------------- | ------------ | | ||||||
| Frame | View | | ||||||
| Label | TextLabel | | ||||||
| FontSize | PointSize | | ||||||
|
||||||
### Verification | ||||||
|
||||||
| Xamarin.Forms | NUI Xaml | | ||||||
| ------------- | ------------ | | ||||||
|<img src="./xaml-forms.png" width="300"> | <img src="./xaml-tizen.png" width="300"> | | ||||||
|
||||||
## Related information | ||||||
- Dependencies | ||||||
- Tizen 6.5 and Higher |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- [Migration Xamarin.Forms](migrate-xaml-forms.md) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- [Migrate Xamarin.Android](migrate-xaml-android.md) | ||||||
|
||||||
|
||||||
## Related information | ||||||
- Dependencies | ||||||
- Tizen 6.5 and Higher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.