Thanks for the quick reply Mark, but what I'm trying to do is not to
access data (as strings or floats) or passing data between activities,
but accessing the instantiated caller class or some of its methods or
members. For example:
class FirstClass {
...
Object myObject = null;
...
intent = new Intent(..., SecondClass.class);
startSubActivity(intent, ...); // SecondClass
}
class SecondClass extends Activity{
@Override
public onCreate(Bundle b){
// Access FirstClass().myObject o FirstClass
}
}
This way SecondClass is asynchronous with FirstClass so they should be
able to communicate. Is any way of doing this or I'll have to
redesign?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---