Hello everybody
I started to programm android a month ago. Now i have a problem, for which i couln't find a solution until now.
My program has different activities. Some of them are loading big xml-files from the internet and parse them into Java-objects. The loading and parsing needs alot of time, so it is important that i don't have to load the files more than once. I like to use the created object in more than one activity.
QUESTION: How can i do that. Always when i change the activity using a Intent i lose all my objects. With the setExtra-methods i can "transport" values, but im not able to transport objects (sure, I could program a workaround, but that can be the solution). Another possibility is a static-var, but this is really bad as well, for the common reasons.
How can i do that or better, which is the common way to use an object in different activities?
Thanks!!
Greetz Poffi


watch out.
.

