get Path From Uri - Android java.io

Android examples for java.io:File Path

Description

get Path From Uri

Demo Code

import android.net.Uri;

public class Main {

  public static String getPathFromUri(Uri contentUri) {
    return contentUri.getPath();
  }//from w  w w .j a v  a 2s . c  om

}

Related Tutorials