This might be a problem with too many slashes.

You have four. I may be wrong, but two means relative path, three means use
absolute path and four means use absolute path to the zero length directory
name. eg: /[no_name]/file.jpg

Try using Path.Combine and see its that helps.

Matthew
On May 29, 2012 11:45 AM, "michelw" <[email protected]> wrote:

> Hello,
>
> I've a problem with file://
>
> i've pics on /data/data/appname.appname/**app_cache/_picXXXXXXXX.jpg
>
> var pathofpic = "/data/data/appname.appname/**app_cache/_picXXXXXXXX.jpg"
>
> i use imageView.SetImageURI(Android.**Net.Uri.WithAppendedPath(**
> Android.Net.Uri.Parse("file://**"), Config.PathOfCache + nameofpic));
>
>
> On harddevice, i've no problem, but on avd he said: cannot resolve
> file:////data/data/**nameofappli/..........jpg
>
>
> (monodroid 4.2.2, android 2.1 on avd, 2.3 on hard device)
> ______________________________**_________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/**mailman/listinfo/monodroid<http://lists.ximian.com/mailman/listinfo/monodroid>
>
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to