Skip to content

Instantly share code, notes, and snippets.

Created Dec 28, 2017
What would you like to do?
private URL createUrl(String param) {
Uri builtUri = Uri.parse(ODJAZD_SERVER_URL).buildUpon().appendQueryParameter(PARAM_FROM, param).build();
URL url = null;
try {
url = new URL(builtUri.toString());
} catch (MalformedURLException e) {
return url;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment