Hi I am new to android and I have created 2 projects.
Now I want to call an activity in the second project from the first project upon a button click.
The 1
Use this:
Intent i = new Intent(Intent.ACTION_MAIN); i.setComponent(new ComponentName("app package name", "app launch activity's classname")); i.addCategory(Intent.CATEGORY_LAUNCHER); startActivity(i);