[java]Intent intent=new Intent(this,OtherActivity.class); //方法1
Intent intent2=new Intent(); intent2.setClass(this, OtherActivity.class);//方法2
intent2.setClassName(this, "com.zy.MutiActivity.OtherActivity"); //方法3 此方式可用于打开其它的应用 intent2.setComponent(new ComponentName(this, OtherActivity.class)); //方法4 startActivity(intent2);[/java]