getFileInputStream

public static InputStream getFileInputStream(String path)

Creates an input stream pointing to the file, reading its contents into memory.

Return

An input stream pointing to the file, reading its contents into memory.

Parameters

path

The file path.


public static InputStream getFileInputStream(Context context, Uri uri)