Hello,
I would like to get the path and name of a selected file(image). I tried ABMFileInput, ABMUpload but path is not exposed somehow.
I tried ABMImage:
setting FilePicker to true.
When i select an image i get this:
Image is shown correctly.
But I don't want to be uploaded, i just want filepath and name.
Any ideas whould be appreciated.
Thank you for your time.
I would like to get the path and name of a selected file(image). I tried ABMFileInput, ABMUpload but path is not exposed somehow.
I tried ABMImage:
B4X:
Dim imgGym As ABMImage
imgGym.Initialize(page, "imgGym", "../images/placeholder.png", 1)
imgGym.FilePicker=True
imgGym.IsResponsive=True
page.Cellr(1,1).AddComponent(imgGym)
B4X:
Sub imgGym_ImagePicked(urlData As String)
Log(urlData)
End Sub
When i select an image i get this:
B4X:
blob:https://localhost:8081/762d079a-bb67-44e0-9b42-04c77b81ede9
But I don't want to be uploaded, i just want filepath and name.
Any ideas whould be appreciated.
Thank you for your time.