i got itŠ i need to open the file with fileaccess.read
Reading and deleting the file is allowed, but writing to it is forbidden
(even though the file is copied by ios to the personal folder of my app)



Von:  Benedikt Hübschen <[email protected]>
Datum:  Sat, 11 Feb 2012 17:33:05 +0100
An:  "[email protected]" <[email protected]>
Betreff:  [MonoTouch] Access denied when accessing file from OpenUrl

Hi,

I'm trying to open a file from another applocation ­ i've overridden OpenUrl
and registered my app for public.data
Now i'm clicking on a pdf in Mail and want to open it in my app, but access
to the file is denied.

Access to the path 
"/private/var/mobile/Applications/D5B6E1CA-5B8A-4EB5-B3F6-B70537CD762D/Docum
ents/Inbox/12276000005191243.pdf" is denied.

System.IO.FileStream(Url.RelativePath,System.IO.FileMode.Open);




_______________________________________________ MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to