views:

24

answers:

1

How can I make a variable or object available to multiple activities or restarts of the same one.

A: 

This page outlines the tools Android provides for storing data:

http://developer.android.com/guide/topics/data/data-storage.html

Most likely you will want to use SharedPreferences:

http://developer.android.com/reference/android/content/SharedPreferences.html

Computerish
I think I should clarify. How can I share an InputStream across multiple activities or preserve it across restarts of the current one.
Mitchell
In case anyone was wondering, I found the answer here: http://stackoverflow.com/questions/3910398/thread-in-java-android
Mitchell