On Thu, Nov 25, 2010 at 7:33 AM, xi developer <[email protected]> wrote: > I have one subclass which extends Dialog class, it seems I can not use > startActivity() function to start a new Activity in this subclass > which extends Dialog class, how to resolve it? How to start a new > Activity in a Dialog subclass? (In my customized dialog class, I have > one button, when pressed, I would like to have a new Activity start)..
Call getContext().startActivity() -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

