On Nov 1, 12:26 pm, jotobjects <[email protected]> wrote: > - The bindService method provides assurance that the Service has > started. > Further testing shows this statement is NOT accurate. If you call bindService from your Activity onCreate() or onStart() bindService() it will return "true" indicating your Activity is bound BUT the Service will not have been constructed and the Service onCreate() method will NOT have been called.
This is a little non-intuitive since you would think that if you are bound to a service, the service would at least exist. But it might not even exist yet! This result might be because of the guarantee that the onCreate() methods of the Activity and the Service are guaranteed to complete in their lifecycle. So maybe Android only lets one of them run at a time. -- 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

