开发者

Error creating Uri object

开发者 https://www.devze.com 2023-02-12 07:43 出处:网络
Every time I create an Uri object as new Uri(\"some uri\") it says an Uri cannot instantiate. Is there 开发者_运维知识库any other solution?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消