また、IDの取得に用いるCursor#getColumnIndex()の引数には、MeiaStore.Images.Media._IDを指定します。 // Cursorの取得 Cursor cursor = managedQuery( MediaStore.Images.Media.EXTERNAL_CONTENT_URI, //The URI of the content provider to query null, //List of columns to return. null, //SQL WHERE clause. null, //The arguments to selection, if any's are present null //SQL ORDER BY clause. ); // Cursorを先頭へ移動 cursor.moveToFirst(); int fi