How can i configure a button in android app that will show all the available widgets for that app on click -


how can configure button in android app show available widgets app on click. can select 1 widget , should aded home screen.

https://developer.android.com/preview/features/pinning-shortcuts-widgets.html

pendingintent successcallback = pendingintent.createbroadcast(context, 0,             pinnedwidgetcallbackintent); 

createbroadcast method not getting resolved.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -