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
Post a Comment