请选择 进入手机版 | 继续访问电脑版
帖子
帖子
用户
博客
课程
12345下一页
返回列表 发新帖
0
帖子
0
勋章
6
Y币
什么鬼  下载的是ijkplayer
175
帖子
1
勋章
5678
Y币

看一下index.html页面
74
帖子
0
勋章
242
Y币
得呤 发表于 2019-3-22 17:17
看一下index.html页面

<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style>
        html,
        body {
            height: 100%;
            width: 100%;
        }

        #wrap {
            height: 100%;
            display: -webkitbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-flex-flow: column;
            flex-flow: column;
        }

        .topbar {
            background: #f1f1f1;
            height: 50px;
            border-bottom: 1px solid #fff;
            line-height: 50px;
            text-align: center;
            color: #323237;
            margin: 10px;
        }

        .headerbar {
            height: 80px;
            line-height: 80px;
            color: #fff;
            font-size: 25px;
            background: #1BB17B;
        }
    </style>
</head>

<body>

</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    apiready = function() {
        var pdfReader = api.require('pdfReader');
        pdfReader.open({
            path: 'widget://res/demo.txt',
            hidden: {
                print: true,
                export: true,
                bookmark: true,
                email: true
            }
        });
    };
</script>
74
帖子
0
勋章
242
Y币
得呤 发表于 2019-3-22 17:17
看一下index.html页面

是不是传错了
175
帖子
1
勋章
5678
Y币
那个错了,代码在index.html页面
175
帖子
1
勋章
5678
Y币

在apiready里面
1
帖子
0
勋章
683
Y币
安卓调用openPdfView方法打开网络文件没有缓存
0
帖子
0
勋章
2
Y币
请教一下,如果要在调试模式下使用这个模块,需要如何处理?安卓手机,用AppLoader调试。
6
帖子
0
勋章
27
Y币
更新版本后没有返回键了 ,怎么搞出来
0
帖子
0
勋章
4
Y币
为什么 下载的代码是  api.require('ijkplayer');   不是pdfReader模块
12345下一页
您需要登录后才可以回帖 登录

本版积分规则