Android Deeplinking , another apps open and send data…

Uri myAction = "exampleuri";  //String uri data
PackageManager packageManager = getPackageManager();   //create package manager
Intent intent = packageManager.getLaunchIntentForPackage("com.example.app"); //android app package name for open app
if (intent != null) {
    intent.setAction(Intent.ACTION_VIEW);
    intent.setData(myAction); // send uri data
    startActivity(intent); // start app
}