I'm using the portable library in a Xamarin forms project on an android device.
When I add a tile a modal on the device asks me to allow adding a tile and then the app throws this exception:
com.microsoft.band.BandException: Unknown error DEVICE_COMMAND_RESPONSE_ERROR occurred.
at Microsoft.Band.Portable.Tiles.BandTileManager+d__5.MoveNext () [0x0003d] in C:\Projects\MSBand\Microsoft.Band.Portable\Microsoft.Band.Portable\Tiles\BandTileManager.cs:69
Which seems to be running this code:
#if __ANDROID__
result = await ActivityWrappedActionExtensions.WrapActionAsync(activity =>
{
return Native.AddTileTaskAsync(activity, tile.ToNative());
});
Here is my source: https://gist.github.com/missaghi/c39099a52a7b13c463fa