Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Elastep

15th August 2014, 01:06 AM   |  #1  
OP Senior Member
Flag Odessa
Thanks Meter: 44
 
114 posts
Join Date:Joined: Feb 2010
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();
}
1st September 2014, 01:38 AM   |  #2  
Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: 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.
22nd September 2014, 06:15 PM   |  #3  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jul 2007
How to access to that libraries
I just want to ask, how did you access to that libraries, i already installed GDR1 update, but I cant access to that libraries.

Thanks
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes