Are the activities all in the same application? Same task? It seems
to me that you could just store the data in a static variable
accessible by all of the activities. Am I missing something?
public class MainActivity extends Activity {
...
static MyDataStructure dataStruct = null;
...
public void onCreate(Bundle state) {
...
dataStruct = ReadData();
}
}
...
public class AnotherActivity extends Activity {
...
void SomeMethod() {
DoSomethingWithData(MainActivity.dataStruct);
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---