Re: [android-developers] Re: Blocked my UI thread by background service

2012-11-26 Thread Rajan Thakrar
Hello Jonathan, As you suggest me that i have to use IntentService, but after implementing the IntentService and again test my app at the time realize that IntentService's onHandleIntent() method is never ever hold for the time when gps find the current location(lat & long). so that i get null lo

Re: [android-developers] Re: Blocked my UI thread by background service

2012-11-23 Thread Rajan Thakrar
Hello Jonathan, Thanx a lot for suggestion to use IntentService, now my app doesn't block UI thread, it works perfectly. again Thank you. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S wrote: > Why you are not using IntentService? that class stop the service when it > finished. > > > On Friday,

Re: [android-developers] Re: Blocked my UI thread by background service

2012-11-10 Thread Rajan Thakrar
hi, Nitin thanx for the suggestion, but i know 1 min. is very costly for battery life , right now my app is in testing face that is why i used 1 min. after that i'll use 5 to 10 min. On Sat, Nov 10, 2012 at 12:52 PM, Nitin Sethi wrote: > You issue aside, listening for GPS fix every one minute is

[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Nitin Sethi
You issue aside, listening for GPS fix every one minute is surely going to drain user's battery big time. Are your app user's okay with the battery level going from 100% to ZERO in less than 4 hours? On Saturday, 10 November 2012 01:51:25 UTC+5:30, Rajan wrote: > > What i need to do > ==

Re: [android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Rajan Thakrar
Thanx Jonathan S, i don't know about IntentService, i have never worked on it. but now i surely work on it and after that i'll show you my output(result). once again thanx for your guidance. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S wrote: > Why you are not using IntentService? that class s

[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Jonathan S
Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: > > What i need to do > = > 1. I need to get Latitude & longitude every 1 min. > 2. after getting this lat & long, i need to call one web servi