Posts

Showing posts with the label WindowsPhone

Xamarin.Forms device unique ID...

As in a lot of applications, you will probably need to get a unique identifier to identify a unique user . And it becomes a little more complicated when you have to deal with different platforms like Android, iOS and Windows Phone... Here is a simple solution that you can implement in Xamarin Forms that I found on this blog: http://codeworks.it/blog/?p=260 First define a service that you will use in your Xamarin Forms Application: // Your service interface definition public interface IDevice { string GetIdentifier(); } // How you get your service in your app IDevice device = DependencyService.Get (); string deviceIdentifier = device.GetIdentifier(); And here are the implementations for Android / Windows Phone and the most complicated, iOS platform: // WINDOWS PHONE [assembly: Xamarin.Forms.Dependency(typeof(WinPhoneDevice))] namespace XFUniqueIdentifier.WinPhone { public class WinPhoneDevice : IDevice { public string GetIdentifier() { byte[] myDeviceId = (

Syncfusion Metro Studio: A free tool to create Metro-style icons

Image
Your app is almost done? You've done the 'hardest' part while coding your app logic? Well there is still a painful job in the basket: create a wonderful set of icons to have an eye-catching app. If you are not friend with design tools, welcome! this one could save your day: http://www.syncfusion.com/downloads/metrostudio This free tool allows you to browse through a large collection of icons. Moreover, you can create easily your own icon. A must have when developping Windows Phone / Windows 8 apps!