• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Saving my sound files on SDcard instead of phone memory

Hello,

I am writing an application which I want to store sound files on the SDcard, I firstly want to be able to create a directory structure to put them in and then store them there when I install the application as there may be quite a few and phone memory isn't that big generally.

I am using Eclipse anyone know how I can achieve this?

I have seen lots of examples about writing to text files but I just can't get my head around actually installing the sound filed to the card (or external storage.)

Can anyone help?

Thanks
 
If the sound files come with your app they will stay with your app. You might consider enabling Apps2SD but only users with Android 2.2+ can use that.

Alternatively you could download the sounds after installation and save them to the SD just like the tutorials you've read for the text files.
 
Thanks for your reply - not really what I was looking for...

There must be a way to put these files on SD card, I'll also want to work with some text files.

I hate being such a noob at this :(

T
 
You can put them there no problem but then you will just have an extra copy and be taking 2x the space.

The problem is you cant remove them from your app if you included them in the apk.
 
Back
Top Bottom