getFileLengthWithUri

public static long getFileLengthWithUri(Context pContext, Uri pUri)

Gets the file length. Returns -1 if the file does not exist.

Return

file length, or -1 if not found

Parameters

pContext

context

pUri

file Uri