开发者

Finding out all about Android Uri class - use and purpose

开发者 https://www.devze.com 2022-12-22 12:05 出处:网络
Does anyone have some helpful links to find out about Android Uri\'s? For example, you get a Uri back from a \"take a picture\" Intent.What does a URI look like and how do you use it.Why are they use

Does anyone have some helpful links to find out about Android Uri's?

For example, you get a Uri back from a "take a picture" Intent. What does a URI look like and how do you use it. Why are they used instead of filenames or file handles?

The Dev documentation on the Uri class is 开发者_高级运维practically worthless. http://developer.android.com/reference/android/net/Uri.html It is only clear if you already know exactly what it is, and how to use it.

Thanks for any links.


I'd check out the content providers section

http://developer.android.com/guide/topics/providers/content-providers.html

It expalins URI's for the different content providers and how they work.


Read this post it explained what is URI and URL ? Hope it will help to you.http://javapapers.com/servlet/uri-and-url-difference/

This is a list of URIs that can be used in intents. http://www.openintents.org/en/uris

0

精彩评论

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