I have an uri in the form of a string and i need to correctly acquire the path from it. Since I have a function that will correctly remove the query parameters from an android.net.Uri object I was thinking of simply converting my string path to a uri.
Is Uri.parse a valid way of converting a string to a uri? I've looked at a few examples, but none really explained whether or not this was a valid approach or if any additional parsing would have to be done.
I have already looked at this link How to convert a String to an android.net.Uri but it didn't really answer my question.
Thanks for any advice!