in my application, I placed the "Add photo" button, when the user clicks the button, a pop-up menu appears with 2 additional cameras and a library. When I select a library, I can go to the device’s photo album. Below is the code I use to go to the mobile library
public void library() { Intent myIntent = new Intent(Intent.ACTION_PICK); myIntent.setType("image/*"); startActivityForResult(myIntent, 1); }
any image that I click there, I want it to be uploaded to the url,
in the same way that the image I am shooting through the camera also wants to be uploaded to the URL.
how to do this, is there any API code or example code, help me
Siva k
source share