更新时间:2023-10-11 21:51:46
在这里你去:
Here you go:
File file = new File("path_to_the_file.ppt");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file),"application/vnd.ms-powerpoint");
startActivity(intent);
这将显示用户有关他们已安装的任何电源点查看器的选项以及它们可以选一个。
This will show the user options about any power-point viewers that they have installed and they can pick one.