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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -