Peter vdL
Peter vdL

Reputation: 4993

Finding out all about Android Uri class - use and purpose

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.

Upvotes: 21

Views: 11531

Answers (2)

Dinesh
Dinesh

Reputation: 965

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

Upvotes: 3

Steve
Steve

Reputation: 21499

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.

Upvotes: 11

Related Questions