Intent intent = getPackageManager().getLaunchIntentForPackage("com.google.android.apps.tachyon");
intent.setData(Uri.parse("tel:" + "phonenumber"));
startActivity(intent);
I could not pass the data to 'Google duo' app in the same way
Is there a way?
Try this
Intent duo = new Intent("com.google.android.apps.tachyon.action.CALL");
duo.setData(Uri.parse("tel: " + phoneNumber));
duo.setPackage("com.google.android.apps.tachyon");
startActivity(Intent.createChooser(duo, "Duo is not installed."));