AppWidgetTarget
Constructor using an int array of widgetIds to get a handle on the Widget in order to update it.
Parameters
Context to use in the AppWidgetManager initialization.
Desired width in pixels of the bitmap that will be loaded. (Needs to be manually put because of RemoteViews limitations.)
Desired height in pixels of the bitmap that will be loaded. (Needs to be manually put because of RemoteViews limitations.)
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The int[] that contains the widget ids of an application.
Constructor using an int array of widgetIds to get a handle on the Widget in order to update it that uses SIZE_ORIGINAL as the target width and height.
Parameters
Context to use in the AppWidgetManager initialization.
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The int[] that contains the widget ids of an application.
Constructor using a ComponentName to get a handle on the Widget in order to update it.
Parameters
Context to use in the AppWidgetManager initialization.
Desired width in pixels of the bitmap that will be loaded. (Needs to be manually put because of RemoteViews limitations.)
Desired height in pixels of the bitmap that will be loaded. (Needs to be manually put because of RemoteViews limitations.)
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The ComponentName that refers to our AppWidget.
Constructor using a ComponentName, when override has been put to get a handle on the Widget in order to update it that uses SIZE_ORIGINAL as the target width and height.
Parameters
Context to use in the AppWidgetManager initialization.
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The ComponentName that refers to our AppWidget.