android - Keeping Widget Applications Main Activity in BACKGROUND -


my widget deployed in applications launches main activity. of time want main activity in background when click on widget comes foreground , rather user seeing widget change application main activity displays. can't rid of main activity because want allow users launch application contains widget. wondering how situation can managed. thanks.

setting android:launchmode="singleinstance" seems keep main activity coming foreground. not sure if there might downsides however.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -