davs
davs

Reputation: 9396

android show widget programmatically

I craeted application whic has both GUI part and Widget. How can I show/hide Widget from GUI part?

Upvotes: 0

Views: 1764

Answers (1)

garima
garima

Reputation: 5244

this should be useful.If you return RESULT_CANCELED, the host will cancel the add and not display this AppWidget, and you will receive a ACTION_APPWIDGET_DELETED broadcast.

Upvotes: 1

Related Questions