Android Question Load images from subdirectory

djveleno

Active Member
Licensed User
Longtime User
How can I upload an image from a subdirectory?
I have an app that involves multiple folders that contain images, I would keep separate images.
Using this code, but it does not work:
B4X:
ImageView1.Bitmap = LoadBitmap(File.DirAssets & /"automobili", ImageFiles(0))
Thanks to all
 

Ohanian

Active Member
Licensed User
Longtime User
Hello,

try this one :


B4X:
ImageView1.InitializeSample(File.DirAssets, "images/" & "sample.jpg", 40%x, 30%x)
 
Upvote 0
Top