0

I made an android application for sending files like .pdf .ppt .jpeg .png etc to php mysql server. I tried several 3rd party file picking libraries , but none worked in my android device (android q).

 Intent intent = new Intent();
            intent.setType("*/*");
            intent.setAction(Intent.ACTION_GET_CONTENT);
            startActivityForResult(Intent.createChooser(intent, "Please Select a file"), 1);

By this I can utmost get the file's content Uri but i am unable to use it to send it to server. Please help.

Ankit Verma
  • 496
  • 5
  • 21

0 Answers0