I want to make an activity to shareable. When the user clicks on that link instead of the home page of the application, specific activity opens but I don't know how to create this. I made this to share the app link but want to change it to open specific activity(activity name : DifferentScreen).
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
shareBody = "https://play.google.com/store/apps/details?id=com.project.clientdesignDifferentScreen";
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject Here");
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
startActivity(Intent.createChooser(sharingIntent, "Share via"));