Access Internal Storage folders on Android device?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 31
- Joined: Tue Aug 26, 2014 7:36 am
Access Internal Storage folders on Android device?
Hi Gurus,
Is it possible to access folders created within the Internal Storage area?
I would like to simply write into the device's Internal Storage from Windows network, updating the deliveries from Windows application into a sqlite database located within Internal Storage folder /dailydeliveries/system.data.
Possible?
Thanks.
Kelvin Chua
SINGAPORE
Is it possible to access folders created within the Internal Storage area?
I would like to simply write into the device's Internal Storage from Windows network, updating the deliveries from Windows application into a sqlite database located within Internal Storage folder /dailydeliveries/system.data.
Possible?
Thanks.
Kelvin Chua
SINGAPORE
Last edited by Kelvin Chua on Thu Sep 04, 2014 7:36 am, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Possible to access Internal Storage folders?
Hi Kelvin,
Can you drag and drop a file into this Internal Storage area dailydeliveries/system.data?
If so then you can.
Simon
Can you drag and drop a file into this Internal Storage area dailydeliveries/system.data?
If so then you can.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 31
- Joined: Tue Aug 26, 2014 7:36 am
Re: Possible to access Internal Storage folders?
Hi Simon,
Yes, I dragged and dropped the system.data into the /dailydeliveries/ folder.
But... unable to read the system.data with all possible specialFolderPath("/mnt/sdcard/dailydeliveries/") & "/System.data"...
What should I place under specialFolderPath?
Thanks.
Kelvin Chua
SINGAPORE
Yes, I dragged and dropped the system.data into the /dailydeliveries/ folder.
But... unable to read the system.data with all possible specialFolderPath("/mnt/sdcard/dailydeliveries/") & "/System.data"...
What should I place under specialFolderPath?
Thanks.
Kelvin Chua
SINGAPORE
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Possible to access Internal Storage folders?
There is no specialFolderPath("/mnt/sdcard/dailydeliveries/")
From the dictionary;
Simon
EDIT; And you should say when you are working on mobile and not using the Android or iOS forums.
From the dictionary;
So remove specialFolderPathFor Android systems:
• engine - The (virtual) path to the engine and its assets.
• documents - The path to a folder that can be used for per-application data files.
• cache - The path to a folder that can be used for transient per-application data files.
Simon
EDIT; And you should say when you are working on mobile and not using the Android or iOS forums.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 31
- Joined: Tue Aug 26, 2014 7:36 am
Re: Access Internal Storage folders on Android device?
Hi Simon,
OK, now I can create, read and write onto the Internal Storage folders.
Using Astro, I can see the System.data created.
But... when accessing the device with Windows explorer, only .APK files are displayed.
If I were to change the System.data to System.apk, it is also displayed.
Wonder what have I missed.
Thanks again.
Kelvin Chua
SINGAPORE
OK, now I can create, read and write onto the Internal Storage folders.
Using Astro, I can see the System.data created.
But... when accessing the device with Windows explorer, only .APK files are displayed.
If I were to change the System.data to System.apk, it is also displayed.
Wonder what have I missed.
Thanks again.
Kelvin Chua
SINGAPORE
-
- Posts: 31
- Joined: Tue Aug 26, 2014 7:36 am
RESOLVED - Access Internal Storage folders on Android device
Hi Simon,
Now I can access and write according to my needs.
Case closed.
Thanks.
Kelvin Chua
SINGAPORE
Now I can access and write according to my needs.
Case closed.
Thanks.
Kelvin Chua
SINGAPORE
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Access Internal Storage folders on Android device?
Good to hear.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!