i want to have the Uri from a file path. This is the file path:
File path = new File(Environment.getExternalStorageDirectory().toString()+File.separator+"pic/picture.jpeg");
i tried in this way to retreive the uri:
Uri uri = Uri.fromFile(path);
but i tried also to make a log: Log.i("URI", "Uri dell' img " + uri + ":");
and the uri is still the file path! Not for example: "content://..." but "file://sdcard...."
How can i have the correct uri? Thanks