What is "uri" in java? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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
3 Respostas
+ 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