What is an URI in android -
i have come across android object makes no sense me. can't understand uri?
well checked official documentation , said:
immutable uri reference. uri reference includes uri , fragment, component of uri following '#'. builds , parses uri references conform rfc 2396.
the problem is, can't use uri explain uri! totally confused.
i did research , came across this article. said
uri nothing
could please explain me mean!
q: "uri"?
a: technical meaning of "uri" defined in rfc 2396:
a uniform resource identifier (uri) compact sequence of characters identifies abstract or physical resource.
q: android "uri" class?
a: here javadoc android.net.uri
q: need android "uri" class for?
a: @ "content providers" section of android documentation:
http://developer.android.com/guide/topics/providers/content-providers.html
content providers manage access structured set of data. encapsulate data, , provide mechanisms defining data security. content providers standard interface connects data in 1 process code running in process.
for example...
public final contentproviderclient acquirecontentproviderclient (uri uri)
returns contentproviderclient associated contentprovider services content @ uri, starting provider if necessary.
if you're curious, here's tim berners-lee had uris (he's guy invented them ;)):
http://www.w3.org/designissues/axioms.html#uri
universal resource identifiers
the web universal information space. space in sense things in have address. "addresses", "names", or call them here identifiers, subject of article. called universal resource identifiers (uris).
an information object "on web" if has uri. objects have uris known "first class objects" (fcos). web works best when information object of value , identity first class object. if not have uri, can't refer it, , power of web less that.
by universal mean web declared able contain in principle every bit of information accessible networks. designed able include existing information systems such ftp, , able in future extendable include new information system.
the uri schemes identify things various different types of information object, wich play different roles in protocols. identify services, connection end points, , on, fundamental underlying architectural notion of information objects - otherwise known generic documents. these can represented strings of bits. information object conveys - may art, poetry, sensor values or mathematical equations.
Comments
Post a Comment