---------- Forwarded message ----------
From: 何斌 <[email protected]>
Date: 2011/8/8
Subject: A question about aidl remote service
To: [email protected]


I create an aidl remote service in my app to record my data when my app
after onDestroy().

i implement it like this.

1. onCreate(),  bindService() to my aidl service
2. some button onClick() sendMesage() to aidl service
3. onDestroy() unbindService()

4. on my app is open again. onCreate() , i bindService() to my aidl service
,at this time i whata get the live aidl service ,but it give me a new
service
because it hit the service's onCreate method.btw,the service is alive,at
this time.

why this happend? how can i get the same service instance previous?

-- 
 ......................................................................
* **Bin.He*
 MSN:[email protected]
 Email:[email protected]
``````````````````````````````````````````````````````````````````````




-- 
......................................................................
* **何  斌*
*
*
 MB:+86-186 2158 5119
 QQ:344214370
 MSN:[email protected]
 Email:[email protected]
``````````````````````````````````````````````````````````````````````

-- 
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