Android Tutorial - Clickable Widgets


Another quick Android tutorial. I couldn't find an easy or correct method of launching a browser when you click on a homescreen widget. Well, here it is... public class clickWidget extends AppWidgetProvider { @Override public void onUpdate( Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds ) { RemoteViews remoteViews = new RemoteViews( context.getPackageName(), R.layout.widget ); remoteViews.setImageViewResource(R.id.ImageView01, drawableResourse); […] Read More