views:

33

answers:

2

Hi, Is there any way we can launch the widget from our application immediately without user have to choose the widget. So it like automatically add widget to our home screen using code.

Thanks.

+1  A: 

No, this cannot be done.

Romain Guy
thank you for your information
A: 

Can be done, if you are willing to modify the Launcher code. But modifying it is not recommended for your purpose as it tightly couples with your app.

Vinay
ic ic.. Thanks for the info..
btw can you give a clue how to modify the launcher code.. Thanks..
Look into Launcher.java file
Vinay