0
My question is about opening files in my Android application, how to upload image from mobile to the server where I first need to choose the image on my mobile. I’d like to know what I need to use to open one FileDialog
, as in C# if I’m not mistaken, in Android to choose an image file or text that is and load it in my application so I can work with it (Send, Modify anyway).
Man, sensational, I didn’t think it was that simple. Interesting here is that I can restrict users from choosing only the file types I want. For example:
intent.setType("text/*");
for files . txt orintent.setType("*/*");
for all aquives– Lucas Batista