Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,356 Members 38,113 Now Online
XDA Developers Android and Mobile Development Forum

Smartwatches anyone? Windows.Phone.Notification.Management.AccessoryMan ager?

Tip us?
 
Elastep
Old
#1  
Senior Member - OP
Thanks Meter 44
Posts: 107
Join Date: Feb 2010
Location: Odessa
Default Smartwatches anyone? Windows.Phone.Notification.Management.AccessoryMan ager?

So now with GDR1 we have all the API for smartwatches, but MS decided to block this API from regular developers. Only for OEMs.
Still is there any way I can use methods from this class? When I'm trying I always get System.UnauthorizedAccessException exception.
Any ideas? Should I add some compatibility declarations to the manifest?
try
{
AccessoryManager.GetApps();
}
catch (Exception ex)
{
MessageDialog d = new MessageDialog(ex.ToString(),"Exception ");
d.ShowAsync();
}
 
badplanet
Old
#2  
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Jan 2014
I have not had experience with the WP8.1/WP8.1 Update 1 yet but it could be related to how you have to ask the user for permission in the new API. It looks like the process is not straight forward but I would research that.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes