如何在Phonegap Android中加载本地HTML文件?

时间:2013-01-29 10:29:17

标签: android cordova

我尝试使用Phonegap Android在我的应用程序中加载本地html文件,但总是以显示的全屏html页面结束。

这是我的代码:

<!-- my header code -->
<div data-role="content" id="termsContent">
    <iframe id="frame" src="tnc.html" width="100%" height="100%">
    </iframe>
</div>
<!-- my footer code -->

我只是将html文件加载到我的iframe标记中。 我的实施错了吗?

0 个答案:

没有答案