Click the listen button on the Android button widget

I am new to Android development. I want to add a click listener button to a button in widgets. I am updating the widget in the service. Thanks in advance.

+5
source share
1 answer

Perhaps you should consider creating an interactive widget .

This includes the use of:

remoteView.setOnClickPendingIntent (R.id.widgetFrameLayout, pendingIntent);

+5
source

All Articles