what's the best way to convert an Uri (android) object to a URI (java.net) object and vice versa? I'm converting Uri to URI by using:
Uri androidUri;
URI netURI= new URI(androidUri.toString());
but I don't know if that's the best way to do it and I don't know how to reverse it.