android - Enable/Disable a button of currently running activity from a broadcast receiver -


i have custom broadcast receiver fires activity. dont want fire activity again,i want bring activity foreground , enable button has hidden before. unable manipulate views of activity broadcast receiver class.

how did bring activity foreground?

if using startactivity method,you can put information in intent method used.when activity resumed intent,it can fetch information , know button enabled/disabled.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -