Build mobile apps with Xamarin.Forms
Offered By: Microsoft via Microsoft Learn
Course Description
Overview
- Module 1: Use Visual Studio with Xamarin.Forms to create a mobile app that runs on Android and iOS, with no previous experience necessary.
- Learn the basic structure of a Xamarin.Forms mobile app
- Define a shared UI for Android and iOS
- Deploy an app from Visual Studio to Android and/or iOS
- Dial a number from within the app
- Module 2: Create fully native Android apps to take advantage of the power, features, and performance of the Android platform.
- Create a Xamarin.Android project
- Decompose an app into activities
- Build an activity's UI
- Write an activity's behavior
- Update your Android SDK
- Module 3: Xamarin.iOS enables .NET developers to create fully native iOS apps to take full advantage of the power, features, and performance of the iOS platform.
- Identify the Xamarin.iOS tools for Visual Studio
- Describe the components of an iOS app
- Add views and behavior to an iOS app
- Module 4: In this module, learn how to define a UI by using Xamarin.Forms and Extensible Application Markup Language.
- Create the UI, and add controls for a Xamarin.Forms app using XAML
- Access XAML-based UI elements from code
- Subscribe to XAML-based UI events
- Module 5: Learn how to create user interfaces that adapt to your users' many devices with the extensive control you gain with StackLayout and Grid.
- Display views in a vertical or horizontal list using StackLayout
- Display views in rows and columns using Grid
- Module 6: Learn how to use Xamarin.Forms to design and share XAML resources and styles for a consistent look and feel across your entire UI.
- Create a consistent UI by using resources and styles
- Apply the user's accessibility choices by using built-in styles
- Module 7: In this module, you'll learn how to complete your Xamarin application code and then how to publish your work.
- Enhance your user interface
- Use the Linker to reduce the size of your app package
- Publish your app
- Module 8: Learn to use Xamarin.Forms to detect internet connection for top performance when using HttpClient to consume a REST web service and perform CRUD operations.
- Detect if your device is connected to the internet
- Consume a REST web service by using HttpClient
- Take advantage of the native networking stacks while using HttpClient
- Module 9: This module guides you through building a Xamarin.Forms application that stores data locally in a SQLite database.
- Compare the different data storage options that are available for mobile applications
- Store relational data in a SQLite database
- Interact with your database asynchronously to make sure that your UI remains responsive
- Module 10: This module guides you through choosing stack or tab navigation for your app, how to implement your choice, and how to use modal pages to display transitory content.
- Choose between stack and tab navigation for your app
- Implement stack and tab navigation
- Display transitory content by using modal pages
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
Syllabus
- Module 1: Create a mobile app with Xamarin.Forms
- Introduction
- Create a Xamarin.Forms project in Visual Studio
- Exercise - Create your first Xamarin.Forms application
- Add visual controls to a Xamarin.Forms mobile app
- Exercise - Create a phone number translator app
- Summary
- Module 2: Introduction to Xamarin.Android
- Introduction
- What is Xamarin.Android?
- Exercise - Create a Xamarin.Android TipCalculator app
- Build a UI for an activity
- Exercise - Add views to a layout file in the TipCalculator app
- Write behavior for an activity
- Exercise - Add behavior to to MainActivity in the TipCalculator app
- Update your Android SDK
- Summary
- Module 3: Introduction to Xamarin.iOS
- Introduction
- What is Xamarin.iOS?
- Create a Xamarin.iOS app
- Exercise - Create a tip calculator app
- Explore iOS terminology
- Add views to your app
- Add controls and behavior to your app
- Exercise - Add UI and behavior to a tip calculator app
- Summary
- Module 4: Create a UI in Xamarin.Forms apps by using XAML
- Introduction
- Benefits of using XAML
- Types and properties in Xamarin.Forms XAML
- Event handling in XAML
- Exercise - Create your first XAML page
- XAML markup extensions
- Platform-specific values in XAML
- Exercise - Add behavior to your XAML page
- Summary
- Module 5: Customize layout in Xamarin.Forms XAML pages
- Introduction
- Specify the size of a view
- Exercise - Explore alignment options
- Arrange views with StackLayout
- Exercise - Use StackLayout to build a user interface
- Arrange views with Grid
- Exercise - Use Grid to build a user interface
- Summary
- Module 6: Design consistent Xamarin.Forms XAML pages by using shared resources and styles
- Introduction
- Define and use resources
- Exercise - Use page-level resources
- Use and update dynamic resources
- Exercise - Use DynamicResource to update elements
- Create a consistent UI by using styles
- Exercise - Create and apply a style
- Create and use application-wide resources
- Exercise - Use application-wide resources
- Apply user accessibility choices by using built-in styles
- Summary
- Module 7: Prepare to publish your Xamarin app
- Introduction
- Prepare your app for publishing
- Preparing for release
- Link your application
- Preserve critical code
- Publish your application
- Summary
- Module 8: Consume REST web services in Xamarin apps
- Introduction
- Detect network connectivity
- Consume a REST service with HttpClient
- Exercise - Consume a REST service with HttpClient
- Use platform-specific network features
- Summary
- Module 9: Store local data with SQLite in a Xamarin.Forms app
- Introduction
- Compare storage options
- Store data locally with SQLite
- Exercise - Store data locally with SQLite
- Use SQLite asynchronously
- Exercise - Use SQLite asynchronously
- Summary
- Module 10: Create multi-page Xamarin.Forms apps with stack and tab navigation
- Introduction
- Implement stack navigation with NavigationPage
- Exercise - Move between pages by using stack navigation
- Display content requiring user action by using modal pages
- Implement tab navigation with TabbedPage
- Exercise - Switch between pages by using tab navigation
- Summary
Tags
Related Courses
Creative, Serious and Playful Science of Android AppsUniversity of Illinois at Urbana-Champaign via Coursera Creative Programming for Digital Media & Mobile Apps
University of London International Programmes via Coursera Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera Introduction aux réseaux cellulaires
Institut Mines-Télécom via Independent Mobile Web Development
Google via Udacity