contextWhat is the context of class B?
If Class B is an activity the context will be Class B
What is the setClass method setting?
The class that the intent is looking for.
If I want to start yet another activity from inside another class (class C)
does the context get passed across these
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);
I have a skeleton system of Activities that will eventually be filled
with GUI elements, but for now I just want to work on a particular
aspect of the project without developing the initial GUI parts first.
But, when I try to launch an Intent from onResume, I get a
RuntimeException in
3 matches
Mail list logo