UseCase 1 : I have to upload my locations periodically on server.
UseCase 2 : I have to check for any new case or update from server side 
after specific time interval. 

To achieve this, I am using ScheduledExecutorService in a  class that 
extends Service. 

loc_executor =  Executors.newScheduledThreadPool(1);
loc_executor.scheduleAtFixedRate(new PeriodicLocationUpdate_Task(), 100, 
POOLING_DELAY, TimeUnit.MILLISECONDS);


If I want to use Sync Adapter in above cases, how will it improve my app 
performance ?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/a3dab0e3-4dd0-43e7-bbf8-a24eaefcf48a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to