What steps will reproduce the problem?
1. Connect iPod Touch
2. Run application that tries to get directories
3. Application reports - directory does not exist
int res = MobileDevice.AFCDirectoryOpen(hAFC, full_path, ref hAFCDir);
if (res != 0)
{
throw new Exception("Path does not exist: " + res.ToString());
}
Here is the code I am using to get directory names....
I know the directory exists, because i can get the list of files using the
second part of the code....
sDirectories = phone.GetDirectories("/var/mobile/Applications");
if (sDirectories.Length > 0)
{
foreach (string dname in sDirectories)
{
workingName = dname;
}
}
sFiles =
phone.GetFiles("/var/mobile/Applications/FBE35762-6CC2-4DC4-AF2F-5AD3C6F14E41");
if (sFiles.Length > 0)
{
foreach (string fname in sFiles)
{
workingName = fname;
}
}
Any help would be appreciated.
Thanks
tony
Original issue reported on code.google.com by pithhel...@gmail.com on 2 Sep 2010 at 2:52
Original issue reported on code.google.com by
pithhel...@gmail.com
on 2 Sep 2010 at 2:52