|
[WM22] can't find App folder on Android device |
Started by VEGEboss, Mar., 09 2018 7:33 PM - 4 replies |
| |
| | | |
|
| |
Registered member 88 messages Popularité : +2 (2 votes) |
|
Posted on March, 09 2018 - 7:33 PM |
hello to everybody
as in the subject, i'm developing an App with Windev Mobile but when I deploy it to the android device (an Asus ZenPad 3s) I can't reach, with the file manager, the folder where the App is installed
I know (using the fExeDir() function) that it's in /data/user/0/com.myname.myapp but how can I reach this folder?
I need this information because the App captures photo and saves them to a folder ( fExeDir() + "/Album" ) and I need to edit the pictures, delete, rename and so on
maybe is possible to install the App in a different folder?
thanks folks and sorry for bad english! |
| |
| |
| | | |
|
| | |
| |
Posted on March, 10 2018 - 2:13 PM |
Hi
not possible. The app is always installed in a hidden folder, protected by the Android OS by design, to avoid any tempering, either to the app itself or to the data that it stores there.
YOu can reach this folder only on a rooted phone, and clearly, that is not the majority of phones out there (and it opens a lot of security issues)...
What you CAN do is, in your app, capture pictures and save them on the sdcard, where other apps and yourself will be able to access them.
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/9/2018 à 1:33 PM, VEGEboss a écrit :
hello to everybody
as in the subject, i'm developing an App with Windev Mobile but when I deploy it to the android device (an Asus ZenPad 3s) I can't reach, with the file manager, the folder where the App is installed
I know (using the fExeDir() function) that it's in /data/user/0/com.myname.myapp but how can I reach this folder?
I need this information because the App captures photo and saves them to a folder ( fExeDir() + "/Album" ) and I need to edit the pictures, delete, rename and so on
maybe is possible to install the App in a different folder?
thanks folks and sorry for bad english! |
| |
| |
| | | |
|
| | |
| |
Posted on March, 10 2018 - 4:33 PM |
hello there my fellow developer
well because of Android security you can't acces to that file the only way possible to do that it's only if you root your device, if that app needs to be on google play store obviosly you can't do that so the only way to acces on those files of pictures or photos and so on you need to be able to acces a file so then. it's like on PC the only fast way to acces on something its on "C:/"
well lucky you theres a function that allows you to get at that file on android its
ListAdd(LIST_StorageCard, SysDirStorageCard())
well you need to create a file for your app.
one example it's like whatsapp they put files on the "C:/" of android to acces file like Voice notes or Images they called it Whatsapp Voice Notes or Whatsapp Pictures,
heres its the example on PCSoft https://help.windev.com/en-US/…
hope these help you.
PD: if you create a file that his content its pictures the inside app galery of android shows up your file with all of your pictures. Example: the galery app of samsung galaxy shows up whatsapp image, FaceBook Pictures, Downloads hope you get the idea. |
| |
| |
| | | |
|
| | |
| |
Registered member 88 messages Popularité : +2 (2 votes) |
|
Posted on March, 10 2018 - 6:35 PM |
thanks to all, now I solved
maybe one day I'll post some screenshots |
| |
| |
| | | |
|
| | |
| |
Posted on March, 13 2018 - 11:15 PM |
VEGEboss wrote:
thanks to all, now I solved
maybe one day I'll post some screenshots
Lo resolviste, como comparte! |
| |
| |
| | | |
|
| | | | |
| | |
|