I try to find the path of an image in the following manner:
B4X:
Sub OnClick(Thumbnail As Panel)
whichimage = Thumbnail.Tag
Dim iIntent As Intent
Dim Path1 As String
Path1 = File.Combine(File.DirInternal, whichimage & ".jpg")
iIntent.Initialize(iIntent.ACTION_VIEW,"file://" & Path1)
iIntent.SetType("image/jpeg")
StartActivity(iIntent)
End Sub
However when this code is executed the image does not appear and instead I get a 'link broken' image. Does anyone know to get the image up?