How to open App Settings page in a Samsung running Android 10?

I open my app settings page in any Android device doing this:

  Intent intent = new Intent();
  Uri uri = Uri.fromParts("package", oActivity.getPackageName(), null);
  startActivityForResult(intent, 555);
} catch (Exception e) {       

It works well in many devices I have tested, but with several Samsung devices, running Android 10, it doesn’t work. It shows an exception “not available”. Any help here?

When you tap on a link, whichever browser is set as your default will be one to open the link. But what happens if you don’t like the currently set default option? Can you change it? You certainly can. In fact, there are a number of default apps you can set. Android 10 allows you to set defaults for the likes of: Delta Coupon

  • Assistant
  • Web browser
  • Caller ID & Spam app
  • Home launcher
  • Phone
  • SMS