別のアプリケーションを開く
private void start()
{
Intent intent = new Intent();
try
{
intent.setClassName(getApplicationContext().createPackageContext(
"com.example",
android.content.Context.CONTEXT_IGNORE_SECURITY),
"com.example.ExampleActivity");
}
catch (NameNotFoundException e)
{
e.printStackTrace();
}
startActivity(intent);
}