Hello friends, I have an activity A - which uses SharedPreferences to share data with a service S, which is called from within A.
Now when I call the stopService() method from A, the onDestroy() method in S is not called immediately. I thought that all the activities and services under a single apk run in just one process. Why then does the jump to onDestroy() not take place immediately - instead I can see the output from onDestroy() after the further code in the activity A is executed. Any suggestions/explanations ? Thanks, from this amateur :) Regards, Rajesh. -- 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

