Android 1.6 - Widget Refresh problem...

Put your problem here if it does not fit any of the other categories.

Android 1.6 - Widget Refresh problem...

Postby Alen » Wed Oct 07, 2009 9:44 pm

Hi,

are there any changes in 1.6 for appwidget-provider refresh!?

My widget doesn't update...
Only the first time i place it on the desktop!
With 1.5 it works fine...

<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="72dip"
android:minHeight="72dip"
android:initialLayout="@layout/widget_message"
android:updatePeriodMillis="6000"
/>

Iam testing it on the 1.6 Emulator!

Thx for help.
Alen
Freshman
Freshman
 
Posts: 8
Joined: Tue Mar 17, 2009 12:54 pm

Top

Postby Alen » Thu Oct 08, 2009 3:55 pm

i found it...
didn't work in 1.6

The method android:updatePeriodMillis='10000' will not update your widget.
It updates every 30min..

That means all widgets with update period <30min will not work..

greets
Alen
Alen
Freshman
Freshman
 
Posts: 8
Joined: Tue Mar 17, 2009 12:54 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 24 guests