Don't launch application from widget
Posted
by Brian515
on Stack Overflow
See other posts from Stack Overflow
or by Brian515
Published on 2010-04-23T16:22:40Z
Indexed on
2010/04/23
16:23 UTC
Read the original article
Hit count: 302
Hi all,
I'm trying to make an appwidget where I have a dialog pop up on top of the home screen. (Ex the Facebook widget). I have button on the widget and an activity that I run when the button is clicked. I have the activity set to the Theme.Translucent.NoTitleBar theme so that the dialog and/or toast I have should pop up over the home screen.
Anyways, whenever I have the transparent activity open, it opens the application instead of staying on the home screen.
Any help would be appreciated! Thanks in advance!
© Stack Overflow or respective owner