On Wed, Dec 15, 2010 at 1:23 PM, gato chlr <[email protected]> wrote:

> EG. an PersistenceUtil class that do not depends of an activity and saves
> files in internal and external storage.


Your class can simply take a generic File argument in it's constructor for
where it stores data. At a higher level, at some point in your
initialization phase, you construct your object with the File that points to
getFilesDir().

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