I need to implement an Android application to just quickly join to a Zoom conference. I wrote the following code:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("zoomus://join?action=join&confno=99999999999&pwd=ugnuiGOEIfgewigfweifcvewiofcewifcew"));
if (intent.resolveActivity(getPackageManager()) != null) {
try {
startActivity(intent);
} catch(Exception e) {
}
} else {
Toast.makeText(this, "Error", Toast.LENGTH_SHORT).show();
}
finish();
}
This code works nicely on my device and some others. But many users report that it doesn't work ("Error" toast). They click the app icon and nothing happens. The Zoom app is installed there. Could you please help?