[android-developers] Re: How to start other activity by code

2009-06-02 Thread Augustin.CL
Thanks for your help. I also find I could use the other method provided by Intent to achieve my goal. Here is the method. intent.setClassName(String packageName,String className); We could replace the orginal one with the following. i.setClassName ("com.android.phone","com.andr

[android-developers] Re: How to start other activity by code

2009-06-02 Thread Mark Murphy
Augustin.CL wrote: > Dear all, > >I want to start the activity owned by other application. I > know we could construct the Intent(setAction,setClass), and then call > context.startActivity(intent) to start a new activity owned by the > same application. When we start the activity not