Xamarin 提供兩種原生app開發技術:
1. Xamarin Native, 包括 Xamarin.Android, Xamarin.iOS, Xamarin.Mac
2. Xamarin 跨平台的 Xamarin.Forms
我"個人"比較喜歡 Xamarin.Forms 這種技術, 原因:
1. 畢竟它是原生技術, 性能不會太差, 硬件API調用也不會有限制.
2. 背后的開發語言是C#, 相對比較熟悉.
3. 代碼跨平台, 同時支持 Android 和 IOS.
4. 有微軟這樣的大公司支持, 雖然微軟經常管挖坑不填坑, 但相比另一個跨平台的Delphi, 無論從社區和生態都好很多.
IDE:
Xamarin.Forms 是一個基於 Xaml 和 C# 之上的跨平台UI工具包, 官方推薦的IDE是 Visual Studio, 在 Visual Studio 2017/2019的社區版/專業版/企業版都已經支持.
Xamarin 評估:
1. Xamarin vs React Native and Ionic
https://www.altexsoft.com/blog/engineering/xamarin-vs-react-native-vs-ionic-vs-nativescript-cross-platform-mobile-frameworks-comparison/
2. The good and the bad of Xamarin development
https://www.altexsoft.com/blog/mobile/pros-and-cons-of-xamarin-vs-native/
3. Stackoverflow: When to use Xamarin.Forms vs Xamarin Native?
https://stackoverflow.com/questions/32204807/when-to-use-xamarin-forms-vs-xamarin-native
官方資源:
1. 官方中文文檔
https://docs.microsoft.com/zh-cn/xamarin/
2. 官方應用示例
https://developer.xamarin.com/samples-all
3. XamarinComponents
https://github.com/xamarin/XamarinComponents
4. 免費電子書 <<Creating Mobile Apps with Xamarin.Forms>>
https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/creating-mobile-apps-xamarin-forms/
博客文章:
C#使用Xamarin開發可移植移動應用(2.Xamarin.Forms布局,本篇很長,注意)附源碼
https://www.cnblogs.com/GuZhenYin/p/7338709.html
C#使用Xamarin開發可移植移動應用終章(11.獲取設備信息與常用組件,開源一個可開發模版.)
https://www.cnblogs.com/GuZhenYin/p/8005817.html
dotNET之家有關 Xamarin.Forms 的系列文章
https://www.jianshu.com/p/6eef47f3193b
Android模擬器Genymotion安裝使用教程詳解
https://www.cnblogs.com/whycxb/p/6850454.html