Building Cross Platform Applications
Best practices for developing mobile applications with Xamarin
- PDF for offline use:
- Related Articles:
- Related Samples:
- Related Books:
This section discusses, in a summary plus six parts, how to build applications using the Xamarin development platform – from understanding how Xamarin works to designing mobile apps, and then testing and deploying to the various app stores.
Sharing Code Options
There are two options for sharing code between cross-platform mobile applications: Shared Asset Projects and Portable Class Libraries. These options are discussed here; more information on Portable Class Libraries and Shared Projects is also available.
Building Cross Platform Mobile Apps
Tasky is a simple to-do list application for iOS, Android and Windows Phone. It demonstrates the basics of creating a cross-platform application with Xamarin and uses a local SQLite database.
Read the Tasky Case Study.
This section has introduced Xamarin’s application development tools and discussed how to build applications that target multiple mobile platforms.
It covered a layered architecture that structures code for re-use across multiple platforms, and describes different software patterns that can be used within that architecture.
Examples are given of common application functions (like file and network operations) and how they can be built in a cross-platform way is discussed.
Finally, it this section briefly discusses testing, and provides references to the case studies that put these principles into action.