Page 1 of 1
Access Internal Storage folders on Android device?
Posted: Thu Sep 04, 2014 5:14 am
by Kelvin Chua
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
Re: Possible to access Internal Storage folders?
Posted: Thu Sep 04, 2014 6:26 am
by Simon
Hi Kelvin,
Can you drag and drop a file into this Internal Storage area dailydeliveries/system.data?
If so then you can.
Simon
Re: Possible to access Internal Storage folders?
Posted: Thu Sep 04, 2014 6:44 am
by Kelvin Chua
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
Re: Possible to access Internal Storage folders?
Posted: Thu Sep 04, 2014 6:50 am
by Simon
There is no specialFolderPath("/mnt/sdcard/dailydeliveries/")
From the dictionary;
For 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.
So remove specialFolderPath
Simon
EDIT; And you should say when you are working on mobile and not using the Android or iOS forums.
Re: Access Internal Storage folders on Android device?
Posted: Thu Sep 04, 2014 7:38 am
by Kelvin Chua
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
RESOLVED - Access Internal Storage folders on Android device
Posted: Thu Sep 04, 2014 8:25 am
by Kelvin Chua
Hi Simon,
Now I can access and write according to my needs.
Case closed.
Thanks.
Kelvin Chua
SINGAPORE
Re: Access Internal Storage folders on Android device?
Posted: Thu Sep 04, 2014 8:33 am
by Simon
Good to hear.
Simon