Is this possible converting R.java variable to URI reference?
What can be URI?
PS: So silly question I know. But thanks for your kind helps..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you mean that you’re storing URIs as string values in an xml file, and need to convert those into
java.net.URIobjects?If so…
In an xml file called
uris.xmlAnd then in your Java code you can use
(you’ll need to add code to catch any
URISyntaxExceptionthrown by thenew URIcall)