Document: Accept an InputStream instead of a URI.

This avoids us having to use an Android-specific android.net.Uri
instead of a java.net.uri, which cannot handle Android's content://
protocol.