From my app on click the button open gallery app. for example, MI's phone has its own gallery app, Samsung, Oneplus, etc. so how can I open the built-in gallery app?
note I don't want to take images from the gallery. just only open like chrome, camera, map, etc.
Add following code to open Gallery app:
startActivity(Intent.makeMainSelectorActivity(Intent.ACTION_MAIN,Intent.CATEGORY_APP_GALLERY))
For more info related to CATEGORY_APP_GALLERY