Skip to content
This repository was archived by the owner on Jan 15, 2018. It is now read-only.

The simplest widget with configuration activity

Anna-Sentyakova edited this page Oct 26, 2016 · 1 revision

Android application widget sample with configuration activity.

Works fine for API level from 4 to 17 (and likely higher). In API level 3 (if don't use android:click attribute and ignore UnusedAttribute warnings in manifest) there is "Problem loading widget".

It updates once every half hour (despite the fact that 60000 milliseconds is set as the value of widget's update time -- see Android documentation about this behaviour).

Android 2.1 OS bug waits to be fixed http://stackoverflow.com/questions/7083634/android-appwidget-crashes-process-com-android-settings-on-android-v2-1-need-wor -- this widget is too simple so it results in crashing of com.android.settings.

Clone this wiki locally