- Home /
Question by
Chiri · Oct 30, 2014 at 04:16 AM ·
pluginsexceptionvisualstudiowindows phone
Unauthorized Access in WP8 plugin.
Hi all,
I am working on a plugin for WP8 that will let me save to the pictures library, and i keep getting an unathorized access exception when I call the any library.
I have enabled the ID_CAP_MEDIALIB_PHOTO capability in the WMAppManifest.xml file.
the plugin code is:
async public static void Save(byte[] image, string name)
{
var pictureLibrary = await KnownFolders.CameraRoll.CreateFileAsync(name, CreationCollisionOption.ReplaceExisting);
}
I have compiled it for Windows phone 8 target.
I am completely lost on this one. Any ideas?
Comment
Your answer
Follow this Question
Related Questions
UWP Deployment Error :: DEP0001 : Unexpected Error: -2146958844 2 Answers
Integrate Admob in iOS and windows phone 0 Answers
Visual C# Plugin 1 Answer
Windows Universal 8.1 (Phone): Use of undefined keyword value 1 for event TaskScheduled 2 Answers
How do I implement In-App purchases for Windows/Windows Phone? 2 Answers