Re: [android-developers] Dialog Activity

2011-11-25 Thread TreKing
Or ... why not just handle the button clicks within the Dialog-themed Activity itself? On Fri, Nov 25, 2011 at 6:46 AM, TreKing wrote: > On Fri, Nov 25, 2011 at 6:19 AM, Aki wrote: > >> It is the application context. I want to display the dialog from a >> service. > > > So what do you need with

Re: [android-developers] Dialog Activity

2011-11-25 Thread TreKing
On Fri, Nov 25, 2011 at 6:19 AM, Aki wrote: > It is the application context. I want to display the dialog from a service. So what do you need with button click listeners? - TreKing

Re: [android-developers] Dialog Activity

2011-11-25 Thread Aki
It is the application context. I want to display the dialog from a service. -- 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

Re: [android-developers] Dialog Activity

2011-11-24 Thread TreKing
On Thu, Nov 24, 2011 at 3:14 AM, Aki wrote: > Cannot display an AlertDialog from a non-activity context. OK ... so now, what non-activity context are you trying to display a dialog from and why? - T

Re: [android-developers] Dialog Activity

2011-11-24 Thread Aki
Cannot display an AlertDialog from a non-activity context. -- 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-develo

Re: [android-developers] Dialog Activity

2011-11-23 Thread TreKing
On Thu, Nov 24, 2011 at 12:06 AM, Aki wrote: > I am trying to create an Activity which can be used like a dialog. Before addressing your actual question ... what is the purpose of this? I.E., why not just use an AlertDialog? -

[android-developers] Dialog Activity

2011-11-23 Thread Aki
I am trying to create an Activity which can be used like a dialog. My Activity has a dialog theme, so it has the dialog feel. In my layout I have added a TextView, to display a message, and three buttons (Positive, Negative, Neutral). The text message which is to be displayed is passed as an extr