This document discusses several Xamarin plugins that can be used to add features to Xamarin.Forms apps like geolocation tracking, sharing content, opening external maps, taking photos/videos, sending messages, managing permissions, and storing app settings. It provides information on setting up each plugin through NuGet and includes code examples for using the plugins in XAML and C#.
2. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
How to Add Plugin to all Android, iOS & Windows
Reminder Always Check for Update your Extension and Updates
Method
1. TOOLS > NuGet Package Manager > Package Manager Console
2. Enter the Plugin Command
3. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
Geolocator Plugin for Xamarin & Windows
Simple cross platform plugin to get GPS location including heading, speed, and
more. Additionally, you can track geolocation changes.
Setup
Available on NuGet : http://www.nuget.org/packages/Xam.Plugin.Geolocator
Permission
Android
Access_COARSE_LOCATION & ACCESS_FINE_LOCATION permission
Windows Phone
ID_CAP_LOCATION
Results
6. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
Share Plugin for Xamarin & Windows
Simple way to share a message or link, copy text to clipboard, or open a browser in
any Xamarin or Windows app.
Setup
Available on NuGet :
https://www.nuget.org/packages/Plugin.Share/
Results
8. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
External Maps for Xamarin & Windows
Open external maps to a specific geolocation or address. Option to launch with
navigation option on iOS as well.
Setup
Available on NuGet :
https://www.nuget.org/packages/Xam.Plugin.ExternalMaps
Results
10. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
Media Plugin for Xamarin and Windows
Simple cross platform plugin to take photos and video or pick them from a gallery
from shared code.
Ported from Xamarin.Mobile to a cross platform API.
Setup
Available on NuGet : http://www.nuget.org/packages/Xam.Plugin.Media
Permission
Android
WRITE_EXTERNAL_STORAGE , READ_EXTERNAL_STORAGE & CAMERA
Windows Phone 8/8.1 Silverlight
IC_CAP_ISV_CAMERA
Windows Phone 8.1 RT
Set Webcam permission.
In your App.xaml.cs you MUST place the following code:
Plugin.Media.MediaImplementation.OnFilesPicked(args);
Windows Store
Set Webcam permission
13. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
Messaging Plugin for Xamarin & Windows
The Messaging plugin makes it possible to make a phone call, send a sms or send
an e-mail using the default messaging applications on the different mobile
platforms.
Setup
Available on NuGet :
https://www.nuget.org/packages/Xam.Plugins.Messaging
Results
18. Xamarin Plugin
XAMARIN.FORMS WORKSHOP
XAMARIN.FORMS WORKSHOP | Intermediate Level
Settings Plugin for Xamarin & Windows
Create and access settings from shared code across all of your mobile apps.
Setup
Available on NuGet :
https://www.nuget.org/packages/Xam.Plugins.Settings/
Results