From my own Android app, I'm trying to launch an external app's component explicitly.
Intent i = new Intent();
Uri uri = Uri.parse("http://0.0.0.1");
i.setData(uri);
i.setComponent(new ComponentName("other.app.android","other.app.android.Activity1"));
startActivity(i);
Can I replace i.setComponent(...)
to i.setClassName("other.app.android", other.app.android.Activity1")
?
Please let me know what is the difference between them.