Android Question How to display Image name on a label

apty

Active Member
Licensed User
Longtime User
I have the following code for displaying image on an imageview
B4X:
ImageView1.Bitmap=LoadBitmap(File.DirAssets,"test.jpg"))

I also have a label say lblimagename that i want to show the imagename..e.g. lblimagename.text=test.jpg

How can i do this?

(The images are many and i want whenever there's a loop, the correct image name is diplayed on the label. The image name is extracted from the image itself that is loaded as bitmap)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…