hi, I want to called method on press of Widget Button.

In my case i am coomunicating with other device using TCP and UDP
connection.
now i place an button in widget to respond recent user.

but i am not getting any way to call direct method on click of widget
button.

Intent configIntent = new Intent(context, SendToRecent.class);
active.setAction(ACTION_WIDGET_CONFIGURE);
PendingIntent configPendingIntent = PendingIntent.getService(context,
0, configIntent, 0);
remoteViews.setOnClickPendingIntent(R.id.btnResend,
configPendingIntent);


pls suggest me.

-- 
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