📎 Webclip
Starting Xamarin Android application development with F#
The author says Xamarin Android was a natural choice because he needed to build an Android app as a .NET developer. He had earlier managed a simple F# app, but had trouble with PCL libraries until Visual Studio 2015 Update 2 added new F# project templates for Android, iOS, and PCL.
Project setup still needed an extra step because the Android template would not load until F# SDK 3.0 was installed. After that, the author could use a PCL to keep application logic separate from the UI and reuse it in iOS or Windows Phone versions if needed.
Reading notes#
- Visual Studio 2015 Update 2 adds F# templates for Android, iOS, and PCL
- A PCL lets the app keep logic separate from the UI and reuse it across platforms
- The Android project template would not load until F# SDK 3.0 was installed
- The default Android Emulator did not run correctly for the author
- Visual Studio Android Emulator did not work on his machine because of Hyper-V and a Windows 10 upgrade issue
- Genymotion worked after Hyper-V was disabled
- Deploying to a phone required enabling developer options, turning on USB debugging, and connecting the device to Visual Studio
- The post closes by saying setup is not smooth, but once the project and deployment work, starting app development is easy for a .NET developer
