Set up a service that tests the data every 2 minutes. Then wake app if data relevant.
On Apr 2, 6:58 am, Pinkesh Gupta <[email protected]> wrote: > i think you need to do one thing just implement a timer on your thread event > > and put the dat that is coming from the server on sleep.On Fri, Apr 1, 2011 > at 2:13 PM, prakrati <[email protected]> wrote: > > My data is coming from the server and i want to refresh that data > > every 2 minutes.... > > what should i do for this? any sample code for this? > > > -- > > 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

