以下のコードはデバイスからの画像です。どのようにpdfをdevice.andから選択し、pdfをImageビューに表示するのですか?イメージビューでpdfを表示するにはアンドロイド?
bt_gall .setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent();
// Show only images, no videos or anything else
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
// Always show the chooser (if there are multiple options available)
startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE_REQUEST);
alertDialog.dismiss();
}
});
'ImageView'は印刷用PDFをサポートしていません – snachmsm
' pdf'ファイルは**画像ではありません**。例で –