On Wed, Dec 7, 2011 at 7:18 AM, John Goche <[email protected]>wrote:

> 1. How do I copy files from assets to the application's file system
>     (preferably internal storage) so that this copy operation is only
>     performed at install time and not every time I load my application?
>

Check if it's a new install (done easily via a SharedPreference). If so,
copy, if not, don't.


>
> 2. How do I manipulate files (open, read, write) files thereafter given
>     the above?
>

Besides getting the File objects that point to your private data directory
or the SD card, this is all standard Java I/O.
http://developer.android.com/guide/topics/data/data-storage.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to