generate uri from string code example Example: android studio create a Uri Uri myUri = Uri.parse("http://www.google.com");