K
K
karim_min2019-02-08 16:50:09
Android
karim_min, 2019-02-08 16:50:09

How to make a dialog box for choosing between gallery and camera for android?

I made a button. How can I make it so that when the user clicks this button, a dialog box pops up to choose between the gallery and the camera. And it is desirable that everything be in Java.
I hope I have explained clearly. Help an unknowing person please.
open-with-dialog-in-android.png
One of two options, only you can choose between the gallery and the camera

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question