On Fri, Feb 13, 2009 at 1:29 PM, intbt <tacbe...@gmail.com> wrote:

>
> I am using a database for storage, I specifically do not want to use
> the Internet connectivity for data download.
>
> I write and install the database from a XML file on first application
> call. I set a flag within the code to prohibit install during app
> usage. However, once the user leaves the app, this flag is re-set.


Why don't you save the state/flag in a Preference and read it in your
onCreate/onResume?



-- 
Faber Fedor
Linux New Jersey
http://linuxnj.com

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

Reply via email to