I would say putting all your code in onBind wouldn't be the greatest idea..
kris On Tue, Jul 31, 2012 at 6:22 PM, bob <[email protected]> wrote: > Exactly. > > Like this: > > > import android.app.Service; > import android.content.Intent; > import android.os.IBinder; > > public class Example_Service extends Service { > /** > * @see android.app.Service#onBind(Intent) > */ > @Override > public IBinder onBind(Intent intent) { > // TODO Put your code here > return null; > } > } > > > On Tuesday, July 31, 2012 5:06:07 PM UTC-5, MagouyaWare wrote: >> >> Use a service... >> >> Thanks, >> Justin Anderson >> MagouyaWare Developer >> http://sites.google.com/site/magouyaware >> >> >> On Mon, Jul 30, 2012 at 12:44 AM, Vijay Krishnan >> <[email protected]> wrote: >>> >>> Hi all, >>> In my case,i want to update the user latitude and longitude in >>> background when he is out of the application. >>> >>> Thanks, >>> vijay.k >>> >>> -- >>> 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 >> >> > -- > 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 -- 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

