如何在 Eclipse 中运行 Sencha Touch 应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9339587/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to run Sencha Touch Application in Eclipse
提问by Aamirkhan
i am new to sencha touch & phone gap.i want to run simple hello word app in eclipse.but i dont know how to do it.if any one knows it than let me know fast Thanks in advance Aamirkhan I.
我是 sencha touch 和 phone gap 的新手。我想在 eclipse 中运行简单的 hello word 应用程序。但我不知道该怎么做。如果有人知道,请尽快告诉我,提前谢谢 Aamirkhan I。
UPDATE:
更新:
Well there is a plugin availble for eclipse in which we can easily create any sencha,jquery mobile,phonegap project's,just need to follow some steps to integrate that plugin..see
MY POST
for that plugin guide,i updated my answer just to help other's who don't know how to write sample application in phonegap eclipse.
Thanks
好吧,有一个可用于 eclipse 的插件,我们可以在其中轻松创建任何 sencha、jquery mobile、phonegap 项目,只需要按照一些步骤来集成该插件..请参阅
我的帖子
以获得该插件指南,我更新了我的答案只是为了提供帮助其他不知道如何在 phonegap eclipse 中编写示例应用程序的人。谢谢
采纳答案by Aswani
follow this folder structure.
遵循此文件夹结构。
---your application name
-------src
--------------your activity class
-------gen
--------------generated files
-------android2.2
--------------generated files
-------Referenced Library
--------------Phone gap referenct which is placed in the libs folder
-------assets
--------------create folder www
---------------------place your html files & create sub folders for sencha files(
-------bin
--------------auto generated files
-------libs
--------------phonegap-1.3.0.jar
-------res
--------------some auto generated files
--------------create xml folder in that place phonegap.xml and plugins.xml files
---您的应用程序名称
-------src
--------------您的活动类
-------gen
----------- ---生成的文件
-------android2.2
--------------生成的文件
-------参考库
---------- ----Phone gap reference 放在 libs 文件夹中
-------assets
--------------create folder www
----------- ----------放置您的 html 文件并为 sencha 文件创建子文件夹(
-------bin
--------------自动生成的文件
--- ----libs
--------------phonegap-1.3.0.jar
-------res
--------------一些汽车生成的文件
--------------在那个地方创建 xml 文件夹 phonegap.xml 和 plugins.xml 文件
-------Android Manifest
-------proguard.cfg
-------project.properties
-------Android Manifest
-------proguard.cfg
-------project.properties
回答by Titouan de Bailleul
Start by doing the Getting Started tutorial of PhoneGap on whatever OS you want to work.
首先在您想要使用的任何操作系统上执行 PhoneGap 的入门教程。
You should get your Hello World pretty easily
你应该很容易得到你的 Hello World
And if you want to go further you can do that great Sencha Touch tutorial :
如果你想更进一步,你可以做那个很棒的 Sencha Touch 教程:
http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
Hope it helps
希望能帮助到你
回答by Nilanchal
I would suggest you to use Apatna studio for the Sencha client development. It helps to build web applications quickly and easily and it is one of the Eclipse based powerful web development engine.
我建议您使用 Apatna Studio 进行 Sencha 客户端开发。它有助于快速轻松地构建 Web 应用程序,它是基于 Eclipse 的强大 Web 开发引擎之一。
Find Aptana Studio 3 Release Updates site: http://download.aptana.com/studio3-rcp/plugin/update/
查找 Aptana Studio 3 发布更新站点:http: //download.aptana.com/studio3-rcp/plugin/update/
Another alternative is Spket plugin for eclipse for Javascript. Spket Update site: http://www.spket.com/update/
另一种选择是用于 Javascript 的 Eclipse 的 Spket 插件。Spket 更新站点:http: //www.spket.com/update/
Once your are done with the client development, you can follow the below link to build the different version of mobile application builds using phone-gap. Visit here for Phonegap developers reference link
完成客户端开发后,您可以按照以下链接使用 phone-gap 构建不同版本的移动应用程序构建。访问此处获取 Phonegap 开发人员参考链接