Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setComponentName(new ComponentName(pkg,cls))
startActivity(intent);
where pkg is the package name of b.apk
cls is the name of class you want to start
ACTION_MAIN可以換成別的 看需求
沒有留言:
張貼留言