All you need is an instance of a Context (Application, Service, or Activity) to start an activity. If it's not an Activity, the intent that launches the activity needs to have the flag FLAG_ACTIVITY_NEW_TASK set on it. Any class and any thread can use the Context to start the activity.
Doug On Apr 5, 9:26 am, Lennert Raesch <[email protected]> wrote: > A while ago Dianne Hackborn stated, that it was possible to start an > activity without the starting class to be an activity. I need this > behavior and was wondering how to achieve it, as the Activity I am > starting doesn't seem to come up the way I am trying right now, which > is just creating an instance of an Activity-class I wrote. -- 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

