選択したすべての画像の画像パスを取得する方法、またはアプリに表示する方法はありますか?ユーザーがギャラリーで画像を選択し、以下に示すように共有ボタンを押すと、暗黙のインテントを開始してimageViewに表示できます。
ImageView iv=(ImageView)findViewById(R.id.im);
iv.setImageUri((Uri)getIntent().getExtras().get(Intent.EXTRA_STREAM));
私の活動のマニフェストファイル
<intent-filter >
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="image/*" />
</intent-filter>
しかし、組み込みのギャラリーで複数の画像を選択したいのですが、共有ボタンを押すと、それらすべてをアプリに表示できるはずです。どうすればよいですか?
または、SDカードから選択したすべての画像の画像パスを取得するだけで十分です