Hello I am trying to preview a image from my device but none of the method are working, neither in companion and nor in apk.
Please correct me if I’m using wrong path.
Hello I am trying to preview a image from my device but none of the method are working, neither in companion and nor in apk.
Your picture path contains a wrong word “emualted” what is that? Iam sure it should be “emulated”
Thanks @Mika but the specified path in show alert is wrong?
It is returning false, but there is file
The File component uses different paths, sometime you need the full path, e.g.:
/storgage/emulated/0/Download/
and sometimes the relative path:
/Download
In this case you need the relative path: /Makeroid/assets/…
I mentioned this severall times, e.g. here:
See also a current example, here:
Thank you my problem is solved by using this method
or this:
I prefer the last one, because of this issue:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.