Xamarin Blog

An open source mobile platform for building Android, iOS, macOS, watchOS, and tvOS apps with .NET.

Protect your Xamarin.Android Apps at Runtime with Dotfuscator

n a previous blog we discussed obfuscating your Xamarin application with Dotfuscator Community to protect it from reverse-engineering. That kind of protection is an important and necessary layer in your application's security posture, but it shouldn't be the only layer. The application also needs to react to threats at runtime in order to protect its own integrity, and to protect the data that it accesses.

Using the Android Designer Split View

The ability to see the design view and layout XML at the same time, side by side, was one of our most requested features for the Android Designer. With Split View, new in the Visual Studio 2017 version 15.8 release, you can switch back & forth freely between both modes of working. Edit the layout XML to see the changes immediately previewed in the designer or make changes in the designer and see the XML update.

Securing network traffic with TLS 1.2

Secure and encrypted network communications are a crucial part of mobile application development. Without some kind of security around the communication layer, it is trivial for a third party to eavesdrop and tamper with the messages between the client and the server. If protecting the data being transmitted is important, then some kind of cryptography must be involved to protect both the sender and the receiver from malicious eyes.

Announcing Xamarin.Android 9.0 (P) Preview

Android 9.0 (P) introduces many features such as Wi-Fi RTT(Round-Trip-Time), Display cutout support, Notification enhancements, Multi-camera support, and much more.We're excited to announce Xamarin.Android support for Android 9.0 (P) in our latest preview release of Xamarin.Android for both Visual Studio 2017 and Visual Studio for Mac.

Getting Android Apps Ready for Google Play’s Target API Level Requirements

Starting this year, Google Play will roll out a new policy that impacts all Android developers submitting new apps and app updates. This blog post will ensure that your application is fully ready for these changes, which will require the targetSdkVersion to be set to Android 8.0 API level 26 or higher, when it goes into effect for new apps on August 1, 2018 and for app updates on November 1, 2018.

First Look: Xamarin Android Device Manager Preview

With the release of SDK Tools 26, Google replaced the standalone UI for the SDK and Device Manager with a command line interface. In an effort to make Android component management accessible and easy to use, we have built our own versions of these important tools for Xamarin developers, starting with the SDK Manager last fall. Today, we’re excited to introduce a preview of Xamarin’s Android Device Manager, a new tool for creating, editing, and controlling Android virtual devices.

Fast & Simple Android Location Updates with Google Play services

Starting an Android application that relies on device location can be overwhelming. The classic way of getting location is with Android's core APIs, which have been around for a very long time and can be confusing to use. To simplify this process, we developed the Geolocator plugin, which enables developers to get the location from shared code on iOS, Android, and Windows from a single API. There are times when you may want or need full control over the API, however, and that's where the new Google Play services location APIs come in. These APIs simplify location awareness with multiple sensors on the device to help determine the location of the user. This means that, when using these new APIs, querying for location updates is faster and more accurate and, with the most recent update (11.0.4), it's never been easier to get started.