Top "Uri" questions

A Uniform Resource Identifier (or URI) is a string of characters used to identify a name or resource.

How do I safely join relative url segments?

I'm trying to find a robust method of joining partial url path segments together. Is there a quick way to …

ruby uri
How to get the Uri of a image stored on the SDCARD?

I need to get the URI of a image stored on the SDCARD. When i want to get the Uri …

android uri android-sdcard
Retrieve drawable resource from Uri

I'm storing the drawable resource path in an Uri in this way: Uri uri = Uri.parse("android.resource://my_app_…

android uri android-drawable
Android - How to get Uri from raw file?

I am trying to get the Uri from a raw file I have included in the project in the raw …

java android uri filenotfoundexception
Method to determine if path string is local or remote machine

What's the best way, using C# or other .NET language, to determine if a file path string is on the …

c# .net uri unc
Java : File.toURI().toURL() on Windows file

The system I'm running on is Windows XP, with JRE 1.6. I do this : public static void main(String[] args) { try { …

java url uri filepath file-uri
How to write an URI string in App.Config

I am making a Windows Service. The Service has to donwload something every night, and therefor I want to place …

c# configuration windows-services uri app-config
Get domain name of a url in C# / .NET

The code: string sURL = "http://subdomain.website.com/index.htm"; MessageBox.Show(new System.Uri(sURL).Host); gives me "subdomain.…

c# .net uri c#-2.0
error - java.lang.IllegalArgumentException: URI scheme is not "file"?

I am receiving the following error when trying to access font file : 011.08.31 12:12:42.704 ERROR [PDFOutputHandler] - Unable to resolve Unicode font …

java uri illegalargumentexception file-uri
How to pass spaces in a REST call using HttpGet in java

I am sending a call to a SMS gateway using their REST API. Everything is fine when I send a …

java https sms uri sms-gateway