Error creating Uri object
Every time I create an Uri
object as new Uri("some uri")
it says an Uri cannot instantiate. Is there 开发者_运维知识库any other solution?
Uri u = new Uri("content://contacts");
Use this:
Uri.parse("link/here");
http://developer.android.com/reference/android/net/Uri.html#parse%28java.lang.String%29
精彩评论