i can update a widget but i have some troubles starting a new intent on click from the widget.
This is the code:
try {
remoteViews.setOnClickPendingIntent(R.id.widgetIcon,
openGooglePlay(context, bundle));
} catch (NullPointerException e) {
Log.d(TAG,
"Error loading google play from widget: " + e.getMessage());
}
I am confused why this intent is not started on click. It should be attached to resource widgetIcon
only and so not be confused with anything else, right?