Yes you can, but you need to have a Context object and you should set the
"FLAG_ACTIVITY_NEW_TASK" option... But you should read up on that flag
because it may not behave as you would expect.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 6, 2011 at 5:17 AM, ABS <[email protected]> wrote:

> Hi Everybody,
>
>              I am new to android, working on one application, in that
> application i used custom dialog class derived from Dialog class.
>           i have to call one activity with button event but intent is
> not allowed there bcz it is not extended from activity class
>
>           Can i call the activity from custom dialog class? if yes
> How?  Let me know.
>
>
> Thanks in Advance
>
> --
> 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

-- 
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

Reply via email to