android - how to display widget on home screen? -


i working on launcher.i list of widgets of installed app.when click on widget want on home screen.i searched solution.but didn't idea.what have do?please me.

it not possible app place widget in home screen. home screen can add app widgets home screen.

similar links link1, link2, link3

but can offer user pick widget widgetpicker.

intent pickintent = new intent(appwidgetmanager.action_appwidget_pick); pickintent.putextra(appwidgetmanager.extra_appwidget_id, appwidgetid); startactivityforresult(pickintent, key_code); 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -