Example usage for android.appwidget AppWidgetProvider subclass-usage

List of usage examples for android.appwidget AppWidgetProvider subclass-usage

Introduction

In this page you can find the example usage for android.appwidget AppWidgetProvider subclass-usage.

Usage

From source file HomescreenWidgetProvider.java

public class HomescreenWidgetProvider extends AppWidgetProvider {
    @Override
    public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
        super.onUpdate(context, appWidgetManager, appWidgetIds);
        for (int count = 0; count < appWidgetIds.length; count++) {
            RemoteViews appWidgetLayout = new RemoteViews(context.getPackageName(), R.layout.widget);

From source file com.example.olivi.maphap.widget.DetailWidgetProvider.java

/**
 * Created by olivi on 9/25/2015.
 */
//Much of this code comes from the open source app Sunshine, built by Google. See
//the Licenses tabe under the menu.
@TargetApi(Build.VERSION_CODES.HONEYCOMB)

From source file me.sandrin.xkcdwidget.XKCDAppWidgetProvider.java

public class XKCDAppWidgetProvider extends AppWidgetProvider {
    private static final String UPDATE = "XKCDAppWidgetProvider.UPDATE";

    private String title;
    private String altText;
    private Bitmap image;

From source file com.udacity.stockhawk.ui.widget.StockWidget.java

/**
 * Widget provider for the stock widget.
 *
 * @author Marcello Morena
 */

From source file ru.kaefik.isaifutdinov.an_weather_widget.AnWeatherWidget.java

public class AnWeatherWidget extends AppWidgetProvider {

    //  ?      intent
    public final static String PARAM_CITY = "city";
    //    public final static String PARAM_APPID = "appID";
    public final static String PARAM_TEMP = "temp";

From source file com.abhijitvalluri.android.fitnotifications.widget.ServiceToggle.java

/**
 * Widget for the Fit Notifications app
 */
public class ServiceToggle extends AppWidgetProvider {

    private static final String TOGGLE_CLICKED = "serviceToggleButtonClick";

From source file ch.fixme.status.Widget.java

public class Widget extends AppWidgetProvider {

    static final String WIDGET_IDS = "widget_ids";
    static final String WIDGET_FORCE = "widget_force";

    public void onReceive(Context ctxt, Intent intent) {

From source file dk.cafeanalog.AnalogWidget.java

/**
 * Implementation of App Widget functionality.
 */
public class AnalogWidget extends AppWidgetProvider {
    private static final String SYNC_CLICKED = "automaticWidgetSyncButtonClick";

From source file com.android.mms.widget.MmsWidgetProvider.java

public class MmsWidgetProvider extends AppWidgetProvider {
    public static final String ACTION_NOTIFY_DATASET_CHANGED = "com.android.mms.intent.action.ACTION_NOTIFY_DATASET_CHANGED";

    private static final String TAG = LogTag.TAG;

    /**

From source file com.ravi.apps.android.newsbytes.widget.NewsWidgetProvider.java

/**
 * Provides news headlines collection widgets.
 */
public class NewsWidgetProvider extends AppWidgetProvider {

    // Tag for logging messages.