I am developing a desktop widget.  I would like to pop up a custom
dialog when a remote view is clicked (much like the Facebook widget on
Android when the user clicks in the update status field).  I know how
to use pending intents to launch an activity and have that currently
hooked up.  I would prefer a custom dialog instead, so any help would
be much appreciated.

My current code is:

Intent intent = new Intent(context, QuickConnectActivity.class);
intent.setData(Uri.withAppendedPath(People.CONTENT_URI, person._id));
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0,
intent, 0);
remoteViews.setOnClickPendingIntent(viewId, pendingIntent);

Thanks,

Nik Bhattacharya

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to