- How do I create a Uri class from a String?
How do I create a Uri class from a String?
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.
Copyright © 2008-2021, dave. Code samples on Dave's Brain is licensed under the
Creative Commons Attribution 2.5 License.
other material, including English text has all rights reserved.