Tushar Tushar - 1 year ago 50
Java Question

What is the difference between URI and Uri class

I am confused , how to use

because i am using it in android development at
Action dial

Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:555-2368"));

What I want to do :

I want to create a file inside which I want to put 2 phone numbers. Then, I want to use
method with this file, and want to put that
in the intent, then I want to see what happens with the intent.

Answer Source

According to the Android API docs you can create a file Uri with:

public static Uri fromFile (File file)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download