[android-developers] Start Intent

2011-07-18 Thread rich friedel
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

[android-developers] Start Intent

2011-07-17 Thread kypriakos
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);

[android-developers] Start Intent from onResume?

2009-09-04 Thread BJP
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