Thanks Nikhil for the reply, it was not the info i was looking for.

well.. i am able to resolve the issue. It was due to the Alert dialog
type set to TYPE_APPLICATION hence appToken was required in
WindowManagerService while Adding Window to the dialog.

Changed the TYPE of Alert dialog which was created in a Dialog to
System Dialog type  ( e.g., TYPE_SYSTEM_OVERLAY ) , the issue is
resolved.

On Apr 14, 11:05 pm, "~ TreKing" <[email protected]> wrote:
> On Wed, Apr 14, 2010 at 5:28 AM, sandhya <[email protected]> wrote:
> > Can anyone let me know, how to create an Alert dialog in a dialog?
>
> What?
>
> Where is this code defined? What does "getContext()" return?
> Also note that adding "dismiss()" on an onCancelListener() is redundant and
> unnecessary. The dialog is dismissed when it's canceled.
>
> ---------------------------------------------------------------------------­----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to