On Jan 4, 10:43 pm, Eno <[email protected]> wrote: > I tried creating a string with an id (myurl) and then referring to it > using R.id.myurl in my code but this doesn't work. So how can I > specify a URL in the XML and then retrieve it to use in Uri.parse() ?
Never mind, I figured it out. For anyone else out there, you can use Uri.parse(getString (R.string.myurl)); -- -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

