Hello,

I have an application which needs to read and write files. When
the application is intalled it comes with some of these files. I would
like the installed files to be accessible in a uniform way to the user
so that they are indistinguishable from those created, modified, and
deleted by the user. In order to do this my understanding is that I need
to copy these from the assets directory to the file system when the
application is installed and then do everything via the file system.
I do not want to use a database for this as it would be overkill for
my particular use case scenario.

Could someone please let me know:

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?

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

Many thanks for your help,

John Goche

-- 
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