I want to capture user profile picture for Mobile app. I have round shape icon to display user for profile pic. When user click on that, open device camera and capture image to set in user profile screen in Round shape. Can you please help me how can i do that? or share any code if you have done in past. i am beginner in juce
i have attached sample image.(1.png) I want to set an image for first time and when user set an image from camera it should look like this in( 2.png)
One method would be to subclass the DrawableImage class and override mouseDown() to capture the mouse click. Or, use the DrawableButton class, where you can use the onClick method.