contentFile2byte

public static Array<byte> contentFile2byte(Context context, Uri uri)

Gets the byte array of the specified file. The URI must start with content://.

Return

byte array of the file

Parameters

context

context

uri

content:// URI