Hi Experts,

i need to load an image on imageview by a variable string like

String imagepath="file:///android_asset/cover.png";
imageView.setImageURI(Uri.parse(imagepath));

but this doesn't work

i put cover.png in assets

any help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to