打开另一个包中的Activity

 ComponentName componentName=new   ComponentName("xx.yy.zz","xx.yy.zz.xxActivity");   
                Intent intent=new Intent();   
                intent.setComponent(componentName);   
                intent.setAction(Intent.ACTION_VIEW);   
                startActivity(intent); 

你可能感兴趣的:(Activity)