AIDL, IPC - Parcelable, Binder, etc. is how you pass data directly
between processes.

http://code.google.com/android/reference/aidl.html

That can be cumbersome and complicated though. You may be better off
using the "Android way" and making your own ContentProvider that all
the activities and apps can share?

http://code.google.com/android/devel/data.html

On Oct 27, 3:27 am, Dikers <[EMAIL PROTECTED]> wrote:
> Sorry I didn't clear my problem, so you misunderstand my means.
>
> For Example:
>
>         I have five activities in different process,  then I want to
> start a service to manager these activities.
> In the service ,  user can send a message to stop/finish a given
> activities.   How do I pass data between these activity and service?
> Thank you!
>
> On Oct 27, 2:30 pm, Dikers <[EMAIL PROTECTED]> wrote:
>
> > Thank you!
>
> > On Oct 27, 2:17 pm, "dailyLife"<[EMAIL PROTECTED]> wrote:
>
> > >  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
-~----------~----~----~----~------~----~------~--~---

Reply via email to