Dim iIntent As Intent
iIntent.Initialize(iIntent.ACTION_VIEW, "<PATH-TO-THE-PICTURE>")
iIntent.SetType("image/jpeg")
StartActivity(iIntent)
If you just want an intent to open pictures then this is the one:
B4X:Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "<PATH-TO-THE-PICTURE>") iIntent.SetType("image/jpeg") StartActivity(iIntent)
You will have to add the path to the pictures.
If you want to limit it to 3 images then you will have to load the images's name and path to a List or ListView or something like that.
Dim images As List
images.Initialize
images.Add(Main.RootImage & img1)
images.Add(Main.RootImage & img2)
images.Add(Main.RootImage & img3)
iIntent.Initialize(iIntent.ACTION_VIEW, images)
iIntent.SetType("image/jpeg")
StartActivity(iIntent)