Soonil Nagarkar wrote: [...] > I have found some information about the Application class, which > offers some of what I am looking for, but I am not sure if this is the > best method, or the proper -Android way- to accomplish this. Any > thoughts or advice?
The Android Way is probably to declare a mime type for your application data, create a ContentProvider that stores this backed with a SQL database, create an Activity to fetch it based on a content:// URL, and then invoke it via a subactivity and use ACTION_PICK to return the data to you... Alternatively I've had good luck subclassing Application and using instance data. You can specify a custom Application class in your manifest.xml. If your application's going to be running in multiple processes you may want to verify that that's still valid, though. -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "I have always wished for my computer to be as easy to use as my │ telephone; my wish has come true because I can no longer figure out │ how to use my telephone." --- Bjarne Stroustrup
signature.asc
Description: OpenPGP digital signature

