import android.net.Uri; Uri myuri = Uri.parse("http://...");Note that the Android (mixed case) Uri class is different than the Java (uppercase) URI class.
Programming Tips - Android: How do I create a Uri class from a String?
Date: 2014jul7
OS: Android
Language: Java
Q. Android: How do I create a Uri class from a String?
A. Like this: