Since activities are the things that interact with the user, they are the
only things that can directly show UI.

The Application class exists because my arms were twisted into making it.
There is nothing actually all that useful about it, as far as I am
concerned. ;)

On Sun, Aug 9, 2009 at 12:33 AM, an0 <an0...@gmail.com> wrote:

>
> I found using any foreground Activity as the context of Dialog works,
> but not the Application context returned by getApplicationContext ().
> What is Application context? What's that for? The doc says nothing
> useful about it.
>
> On Aug 5, 9:47 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> > an0 wrote:
> > > I want to pop up a Dialog from my Service when my App is running(so I
> > > do have my own Activity window that the user is viewing and operating
> > > at)
> >
> > Have your Activity pop the dialog.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > Android Development Wiki:http://wiki.andmob.org
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to