What Context did you use t create the dialog? You need to use an activity if you want to be able to launch another activity as part of the same task.
On Sun, Aug 30, 2009 at 8:41 PM, luoqii <[email protected]> wrote: > > hi bodies! > when i want to implements a autolink func in dialog, i.e. when a > click the autolink, it will bring me the righit place: broswer, mail, > sms,and so on. > when i do this with > { > ... ... > TextView.setAutoLinkMask(Linkify.ALL); > TextView.setMovementMethod > (LinkMovementMethod.getInstance()); > ... ... > } > > if i click the Ling this will be a error that say: > > android.util.AndroidRuntimeException: Calling startActivity() > from outside of an Activity context requires the > FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? > > what's happen? or how can i finish my task? > > > THANKS@@@ > > good day!!! > > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

