[android-developers] Start Intent
HI all,
from an activity class A I start another activity process (class B
belongin to the same package)
using the following:
Intent intent = new Intent();
intent.setClass(myContext,
org.myClass.ServiceImpl.class);
intent.setFlags(intent.FLAG_ACTIVITY_NEW_TASK);
myContext.startActivity(intent);
What is the context of class B? What is the setClass method setting?
If I want
to start yet another activity from inside another class (class C) does
the context
get passed across these classes? Shouldn't the 'this' grab the app's
context?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home