+ 2

What is "uri" in java?

hi..... can anyone explain what is uri in Java /Android development ( I know where it's used :like for implicit intent where you want to open another app from your own app). I just don't know y it's necessary and exactly what does it do !

21st Feb 2018, 12:17 PM
Farshaad Heydari
Farshaad Heydari - avatar
4 Respuestas
+ 9
The Network API makes it possible to work with URIs at the source code level, by providing the class URI(located in the package java.net). ... As with the other four constructors,URI(String uri) throws ajava.net.URISyntaxException object if the String object's URI (as referenced by uri) violates RFC 2396's syntax rules. http://www.informit.com/articles/article.aspx?p=26566&seqNum=3
21st Feb 2018, 12:29 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 2
thanx but u made it more complex for me.😅
21st Feb 2018, 12:48 PM
Farshaad Heydari
Farshaad Heydari - avatar
+ 1
nimwing yuan. nice job,🤨 good plan
21st Feb 2018, 4:48 PM
Farshaad Heydari
Farshaad Heydari - avatar