Android Question path to files

coldteam

Active Member
Licensed User
Longtime User
HI. I have a question
i load image to ImageView like this:

Code: Copy
image_view1.Bitmap = LoadBitmap(File.DirAssets,"filename.jpg")

but if i have all image files in folder like: files\mypic\
i try to use:
Code: Copy
image_view1.Bitmap = LoadBitmap("file:///android_asset/mypic/","filename.jpg")

but its dont work with images

how to load image from new folder inside files?

THX
 
ty, its work, but log write this:
check pic, but file loaded
 

Attachments

  • 2016-02-18 22-27-49 Скриншот экрана.png
    2016-02-18 22-27-49 Скриншот экрана.png
    2.8 KB · Views: 491
Upvote 0
Back
Top