File f = new File(ファイル名); Uri data = Uri.fromFile(f); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(data, "image/jpeg"); startActivity(intent);
File f = new File(ファイル名); Uri data = Uri.fromFile(f); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(data, "image/jpeg"); startActivity(intent);
コメントを残す