2011年5月21日土曜日

AndroidStudyMemo (Resource)=ContentResolver.openInputStream()

public final InputStream openInputStream (Uri uri)

Since: API Level 1

Open a stream on to the content associated with a content URI. If there is no data associated with the URI, FileNotFoundException is thrown.

Accepts the following URI schemes:

See openAssetFileDescriptor(Uri, String) for more information on these schemes.

Parameters
uri The desired URI.
Returns
  • InputStream
Throws
FileNotFoundException if the provided URI could not be opened.

0 件のコメント:

コメントを投稿