On Wed, Jul 6, 2011 at 2:27 AM, kampy <[email protected]> wrote: > there is no data to be transferred from intents and the service i am > using shared preferences for the data which i need to sending data > between them. > the main purpose i am using the broadcast receiver here is to invoke > this service when the phone boot completed. Now as this is theft > tracker application i need to make the service not available to the > user .
Then you do not need to bind to the service from the BroadcastReceiver. Simply call startService(), and have the Service shut down when it is done with its work. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

