Re: [android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-11 Thread James McLean
On Wed, Aug 10, 2011 at 1:56 PM, Alexey Zakharov alexey.v.zaha...@gmail.com wrote: UPDATE: I need to receive updates even if user has switched to another application or receive a call. UI also should be updated. So when user switch back to the application he should see updated view. Assuming

Re: [android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-10 Thread Miguel Morales
You may want to use a service: http://developer.android.com/guide/topics/fundamentals/services.html On Tue, Aug 9, 2011 at 9:26 PM, Alexey Zakharov alexey.v.zaha...@gmail.com wrote: UPDATE: I need to receive updates even if user has switched to another application or receive a call. UI also

[android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-10 Thread nadam
...and possibly AlarmManager http://developer.android.com/reference/android/app/AlarmManager.html On 10 Aug, 08:32, Miguel Morales therevolti...@gmail.com wrote: You may want to use a service:http://developer.android.com/guide/topics/fundamentals/services.html On Tue, Aug 9, 2011 at 9:26 PM,

[android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-09 Thread Alexey Zakharov
*UPDATE: I need to receive updates even if user has switched to another application or receive a call. UI also should be updated. So when user switch back to the application he should see updated view.* -- You received this message because you are subscribed to the Google Groups Android