Vivek,
It should not matter what mechanism you use to trigger updates. I would
actually taking a second look at AlarmManager, as its much more reliable
than a background service, and uses less memory. You can use a non-wake
up alarm, to save battery.
Which method of RemoteViews do you use to update the images?
How large are they?
What is your phone / firmware - Samsung Galaxy S family by any chance?
-- Kostya
16.12.2010 11:38, Vivek пишет:
Hi All,
I have been working on creating AppWidget for my application.
I contains 4 images and I need to change them at an interval of 30
sec.
I was able to achieve it using service and it is changing at an
interval of 30 sec.
The problem is that it does hang for the period where the images of
the widget change.
The home screen of android hangs for the period when updating the
widget.
Any gesture appears to hang for that period.
The other implementation that involves AlarmManager does not work.
I took an example from the link
http://android-er.blogspot.com/2010/10/app-widget-using-alarm-manager.html
but it does not update the TextView after it is placed on the android
home screen (launcher).
I am not able to figure out anything related to AlarmManager.
What should I do?
Please help
Thanks
Vivek
--
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 [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