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

Xamarin.Forms ListView: Set the highlight color of a tapped item

In Android simply edit your styles.xml file under Resources\values adding this: <resources> <style name=”MyTheme” parent=”android:style/Theme.Material.Light.DarkActionBar”> <item name=”android:colorPressedHighlight”>@color/ListViewSelected</item> <item name=”android:colorLongPressedHighlight”>@color/ListViewHighlighted</item> <item name=”android:colorFocusedHighlight”>@color/ListViewSelected</item> <item name=”android:colorActivatedHighlight”>@color/ListViewSelected</item> <item name=”android:activatedBackgroundIndicator”>@color/ListViewSelected</item> </style> <color name=”ListViewSelected”>#96BCE3</color> <color name=”ListViewHighlighted”>#E39696</color> </resources>

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

Check if string is null

The problem is that you’re trying to use a variable that is declared inside a block with a narrower scope (you define crPhoto1Data inside the if block). Another problem is that you’re trying to set it to more than one type. One way solve this is to create the JObject in an if/else statement (or … Read more

How can I publish my Tizen app from Xamarin forms visual studio 2015

Tizen.Net is currently in preview version. Afaik currently you cant deploy Tizen.Net app in real device as current tizen devices are not “dotnet” enabled . Only you can run .net application in Emulator. Ref: https://developer.tizen.org/ko/forums/tizen-.net/device-does-not-have-.net-installed Currently to publish your app in tizen store you need to develop it in Tizen native or web language. To … Read more