What is the difference between Xamarin.Forms and Xamarin Native? [closed]

Xamarin.Forms Pros Create one UI for all platforms Use basic components that are available on all platforms (like Buttons, Textfields, Spinners etc.) No need to learn all the native UI frameworks Fast cross platform development process Custom native renderers give you the ability to adjust the appearance and feeling of controls Cons It’s still a … Read more

Access the Android Special Folder Path by using Environment

You are looking for the root of GetExternalFilesDir, just pass a null: Example: var externalAppPathNoSec = GetExternalFilesDir(string.Empty).Path; Note: This is a Context-based instance method, you can access it via the Android application context, an Activity, etc… (see the link below to the Android Context docs) Shared storage may not always be available, since removable media … Read more

Xamarin.Android Proguard – Unsupported class version number 52.0

You need to update the default Android SDK proguard.jar with the latest version of Proguard found here: https://sourceforge.net/projects/proguard/files/ I would recommend that you install this on the side of the default version that Android ships in android-sdk\tools\proguard. Simply rename the existing folder to something else and add the new version of proguard. This is listed … Read more

Hamburger Menu Xamarin Forms (MasterDetailPage)

Creating the master-detail page: Add a content page and change the code as follows : RootPage.xaml <?xml version=”1.0″ encoding=”utf-8″?> <MasterDetailPage xmlns=”http://xamarin.com/schemas/2014/forms” xmlns:x=”http://schemas.microsoft.com/winfx/2009/xaml” xmlns:local=”clr-namespace: your_NameSpace” x:Class=”your_NameSpace.RootPage”> </MasterDetailPage> RootPage.xaml.cs [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RootPage : MasterDetailPage { public RootPage() { InitializeComponent(); } } Creating its Menu Page: Add another content page and change the code as follows … Read more