-
8 Oct 2012 10:53 PM #1
Phone Gap with Sencha Touch 2 not working
Phone Gap with Sencha Touch 2 not working
Hi,
I have added MDS Applaud plugin for eclipse to use the phone gap.
PhoneGap API examples working when creating the Phone Gap Project.
I am also having the option for using Sencha Touch, if I choose the option it prompts me to add the Sencha Touch Libraries in Project.
Even if I choose the sencha touch docs folder, index.html file looks like the following way.
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap Demo with Sencha Touch</title>
<link rel="stylesheet" href="sencha/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="sencha/sencha-touch.js"></script>
<script type="text/javascript" src="sencha/sencha-touch-debug.js"></script>
<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
<script type="text/javascript" charset="utf-8" src="main.js"></script>
<script type="text/javascript" charset="utf-8" src="phonegapdemo-w-sencha.js"></script>
</head>
<body>
<header>
</header>
</body>
</html>
Please kindly help me to solve this issue.
-
10 Oct 2012 12:01 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Is bad, you should only load one of the JS files here. Past that for what you have provided, things look ok.HTML Code:<script type="text/javascript" src="sencha/sencha-touch.js"></script> <script type="text/javascript" src="sencha/sencha-touch-debug.js"></script>
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Oct 2012 1:55 AM #3
-
1 Apr 2013 3:55 AM #4


Reply With Quote