简体   繁体   English

带有Sencha Touch和Cordova的电话间隙应用

[英]Phone gap app with Sencha Touch and Cordova

I already have a phone gap application which uses Cordova and Sencha Touch that runs in IOS. 我已经有一个电话缺口应用程序,它使用在IOS中运行的Cordova和Sencha Touch。 I am trying to convert that to android. 我正在尝试将其转换为android。 I created a new Project and installed all files as described here . 我创建了一个新项目,并按照此处所述安装了所有文件。 The app loads and it renders properly in my device. 该应用会加载,并且可以在我的设备中正确呈现。 But the index.html was refereing to 但是index.html指的是

`<script type='text/javascript' src='js/cordova-ios-2.5.0.js'></script>`

I changed that to the file cordova file I found within the android folder of the Phonegap download. 我将其更改为在Phonegap下载的android文件夹中找到的cordova文件。 Now its referring to 现在它指的是

<script type='text/javascript' src='js/cordova-2.5.0.js'></script>

But now its not showing any other controls. 但是现在它没有显示任何其他控件。 just the index page with default background image. 仅带有默认背景图片的索引页。 Do I have to make some other changes to make it run in android? 我是否需要进行其他更改才能使其在android中运行?

This is the first time I am doing a sencha+coredova+phonegap application. 这是我第一次进行sencha + coredova + phonegap应用程序。

Thanks 谢谢

看看Sencha Touch 2.3的最新文档,其中讨论了Sencha与Cordova的集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM