thanks yes that's a good point about being dependent on the SD card.

On 10/28/09 10:19 AM, Sean Hodges wrote:
On Wed, Oct 28, 2009 at 4:45 PM, Jeffrey Blattman <jeffrey.blatt...@gmail.com> wrote:
i would like to copy some files from assets to the SD card when my app is installed. i see the PACKAGE* intents, but i'm unclear which one (or set) i should be listening for. i am sure this is a common pattern, can someone point me to a page that describe the proper way to do this?


Could you not just check for their existence on the SD card before copying them over?

Otherwise, when the user changes their SD card, your app will no longer have these files available. Your app will be dependent on the SD card that was plugged in when it was installed... There may also be compatibility issues with backup/restore programs. 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---


--

Reply via email to