contentFile2byte

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

Retrieves the byte array of the specified file, which must start with content.

Return

The byte array of the specified file.

Parameters

context

The context.

uri

The content URI.