Hi all
What's best/savest way to locate the Camera Roll on an USB connected Windows Phone 8 device?
I already wrote some (truely nasty) code to connect to my Lumia device (working fine):
DeviceInformationCollection diColl;
DeviceInformation deviceInfo;
StorageFolder myLumia;
diColl = await DeviceInformation.FindAllAsync(DeviceClass.PortableStorageDevice);
if (diColl.Count == 0)
{
return;
}
deviceInfo = diColl[0];
myLumia = StorageDevice.FromId(deviceInfo.Id);
I can walk through the all folders of my device that way. But it feels wrong to go through every folder (starting from the root "myLumia") till I find a folder called "Camera Roll". Are there no static variables like "WindowsPhone.KnownFolders.CameraRoll"
or something similiar available to access the camera roll?