Hi.. Is there any sample code for achieve this
Thanks & Warm Regards, Gold On Sep 29, 7:48 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > Use AlarmManager to schedule PendingIntent alarms to be fired at > regular intervals. > > Receive them in a BroadcastReceiver (either declared in the manifest, or > registered from code). > > Run your web service requests upon receiving those PengingIntent alarms. > > Acquire a wake lock while the web service request is running, release > after receiving web service response. > > Cancel the alarm when done. > > You can use WakefulIntentService instead of steps 2-4. > > -- Kostya > > 29.09.2010 18:40, Gold пишет: > > > Hi..All, > > > I want to call web service in some frequent > > interval, when button is clicked..! > > > How can i achieve this..! > > > Thanks in advance, > > > Gold > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en