You can see below demo code:
Intent tIntent = new Intent();
tIntent.setClassName(SKIP_PATH, SKIP_PATH_NAME);
Bundle tBundle = new Bundle();
tBundle.putCharSequence("request", secondRequest.toString());
tIntent.putExtras(tBundle);
startActivity(tIntent);
[EMAIL PROTECTED]
2008年10月27日
----- Original Message -----
From: Dikers
To: Android Developers
Sent: 2008-10-27, 14:11:03
Subject: [android-developers] How do I pass data between
differentActivity/Process?
Example:
<activity android:name="TestActivity" android:theme="@android:style/
Theme.Dialog" android:multiprocess="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category
android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
I start many activities with different
processes(android:multiprocess="true"), Now how do I pass data between
these activities? Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---