That’s strange.
Can you try this:
file:/// + value
No,not directly.
Use that block of FileTools and then use this as content uri:
P.s. if it does not works then you have to share some more information like app,android version,etc.
@vknow360 Still nothing appears. These are the blocks I’ve used -
Some miscellaneous specifications -
Device : Samsung Galaxy A50
Storage : 4GB RAM, 64GB Storage.
Android Version : 9 (Pie)
Note : I am testing this app through an APK.
Thanks!
Which gallery app are you using?
My confusion is slowly increasing.
So what can we learn from this APK?
As I’m working/driving, the easiest was to post a APK for you to test if it works
Please show your blocks.
APK or Comanion, device / Android version?
The result from your APK is:
“Text for Label1” (nothing else is shown on Screen1)
I tried this apk:
Companion
Device: Memu Android Emulator
Android Version: 5.1
Hmm, and did you share a image to that App as that is what we are talking about here or trying to do
Thanks a lot, @Boban!
Thanks to @Boban’s method, and @vknow360’s FileTools , I now get the path to the image. These are my blocks -
The label displays -
/DCIM/Screenshots/20200229_10934.jpg
But, the image does not display anything. How should we display proper image from the path?
I want to display image on a image component.
Is this the perfect path to the file? -
file:///storage/DCIM/Screenshots/20200229_10934.jpg
Thanks!
Actually FileTools is specially made to work together with File component. So it uses abstract file path not full path.
You have to use it like this:
/storage/emulated/0/ + path
Or you can use ‘GetPath’ or ‘GetFilePath’ method of FileTools.
@vknow360 You solved my problem!
The image is now displaying through this method -
Also, Huge thanks to @Boban for helping us.
Thanks to @mika, @Vishwas & @bodymindpower for helping too!
Thanks a lot!