Top "Android-appwidget" questions

Android App Widgets are custom views that can be placed on the home screen of an Android device.

Android - how update widget often but only when it is visible?

I'm going to create widget which needs to update its content every minute (it shows time-related data). However, there is …

android android-appwidget visible
Android update Widget from a button click

I have a widget that shows some informations from database. The widget is periodically updated every one hour. But i …

android widget refresh android-appwidget
How to load items in android homescreen listview widget?

I am currently developing an Android project which makes use of a Homescreen Widget to display data to the user. …

android listview listviewitem android-appwidget homescreen
Removing AppWidgets programmatically

I'm having the hardest time figuring out how to remove home screen AppWidget's programmatically (i.e. without the user actually …

android android-appwidget
How to launch activity from android home screen widget

I am desperately trying to get my head wrapped around how to implement home screen widgets. Right now, I (finally) …

android android-activity android-widget android-appwidget
ViewFlipper in app widgets

I'm playing around building a new widget and was looking at the Android app widget documentation, in particular the section …

android viewflipper android-appwidget
How to start Activity from Android AppWidget?

Code like this works well. Intent configIntent = new Intent (context, WidgetConfigActivity.class); configIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); PendingIntent …

android android-activity android-appwidget
AppWidgetManager.getAppWidgetIds in activity returns an empty list

I have an appwidget that I'm trying to update from an activity. To do that, I need the appwidget id. …

android android-appwidget
Why is my android alarm manager firing instantly?

I am following sample code for sending an update notification every 10'seconds. The code follows and it is in an …

android alarmmanager android-appwidget android-pendingintent
Updating android app widget manually using a button on the widget

I have a Android App widget and a button on the widget. I have set the update time period to 30…

android android-appwidget appwidgetprovider