Try this.
You could create this method within your CepfWidgetProvider class.
private PendingIntent openActivity(Context context)
{
Intent intent = new Intent(Intent.ACTION_MAIN, null);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
// intent.putExtra(key, value); // just like you can do in startActivity(intent)
// first param is app package name, second is package.class of the class you wish to open
ComponentName cn = new ComponentName("com...", "com....ClassToOpenOnClick");
intent.setComponent(cn);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
return PendingIntent.getActivity(context, 0, intent, 0);
}
Then you need to add a click listener to your textview in your widget
Edit: It has come to my attention you should try this in your CepfWidgetProvider.class first in the onUpdate() method.
// Uncomment the line below if you do not have remoteViews already in your onUpdate.
// RemoteViews remoteViews = new RemoteViews(context.getPackageName(),R.layout.yourWidgetLayout);
remoteViews.setOnClickPendingIntent(R.id.idOfYourWidgetTextView, openActivity(context));
Hope this works out for you! :)