标签:
第一种:
Intent intent = new Intent(Forward.this, ForwardResult.class); startActivity(intent);
第二种:
Intent intent = new Intent(); intent.setClass(Forward.this, ForwardResult.class); startActivity(intent);
第三种:
Intent intent = new Intent(); ComponentName name = new ComponentName(getPackageName(),ForwardResult.class.getName()); intent.setComponent(name); startActvity(intent);
标签:
原文地址:http://www.cnblogs.com/huanpeng/p/4223461.html