android pdf
来源:互联网 发布:豆豆 背叛 知乎 编辑:程序博客网 时间:2024/05/15 10:52
Intent intent = new Intent();
//intent.addCategory("android.intent.category.DEFAULT");
intent.setAction(android.content.Intent.ACTION_VIEW);
Uri uri = Uri.fromFile(new File(param));
intent.setDataAndType(uri, "application/pdf");
//Intent intent2 = new Intent();
//intent2.setAction(Intent.ACTION_CHOOSER);
//intent2.putExtra(Intent.EXTRA_TITLE, "请选择能够打开pdf的应用");
//intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
//intent2.putExtra(Intent.EXTRA_INTENT, intent);
ComponentName componetName = new ComponentName(
//这个是另外一个应用程序的包名
"com.chaozh.iReaderFree",
//这个是要启动的Activity
"com.chaozh.iReader.ui.activity.WelcomeActivity");
intent.setComponent(componetName);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
// startActivity(intent);
System.out.println( android.os.Build.MODEL+"," + android.os.Build.VERSION.SDK + ","+ android.os.Build.VERSION.RELEASE);
- android pdf
- android pdf
- android pdf包
- 开源Android pdf 解析
- android 打开PDF
- android解析pdf文档
- Android中生成PDF
- android 打开pdf文档
- Android打开pdf文件
- Android PDF开发资料
- android pdf阅读
- android 打开PDF
- android pdf解析
- android 生成pdf文件
- Android显示pdf
- Android中生成PDF
- Android Examples PDF
- Android Pdf 方案
- 视图的相关概念
- Itext中文
- [LeetCode] Simplify Path
- Codeforces Round #278 (Div. 2)B. Candy Boxes
- setTimeout function 传参
- android pdf
- 迷茫与飞跃:9月开始,明确了研究方向,功力提升明显,成绩比较显著
- 使用 dbms_service 来管理oracle 的服务(单实例)
- Ubuntu禁用密码登陆
- JRE安装出错,显示1603的错误。
- 【Leetcode】Find Minimum in Rotated Sorted Array
- python 格式化字符串的三种方法
- 播布客学习视频_C学习笔记_2_打印输出
- out和ref的区别和相同点