是否可以严格在 Visual Studio 内使用 PhoneGap 构建 Android 应用程序?
我的公司希望我们探索 PhoneGap,并需要将应用程序部署到 Android、Windows Phone 和 Blackberry。他们想要使用一种开发环境(Visual Studio)。
我相信我已经读到可以使用 PhoneGap 将应用程序部署到 Android 设备:从 Visual Studio 内部构建,但我想确认。
谢谢
My company wants us to explore PhoneGap and needs an application deployed to Android, Windows Phone and Blackberry. They want to use one development environment(Visual Studio).
I believe I have read that it is possible to deploy an app to an Android device using PhoneGap : build from inside Visual Studio, but I would like confirmation.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Nomad 是一个 Visual Studio 扩展,可以使用基于 PhoneGap 的云构建服务直接从 IDE 中为 iOS 和 Android 进行构建。
Nomad is a Visual Studio extension that can build for both iOS and Android directly from within the IDE using a PhoneGap based cloud build service.
在 Visual Studio 中开发应用程序后,您应该能够获取 HTML/JS 文件,将它们上传到 PhoneGap 构建服务 (http: //build.phonegap.com)并让它为您编译/生成 Android 和 Blackberry 应用程序文件。
或者,如果您不介意最后一步使用其他 IDE,您可以随时将 VS 中创建的 HTML/JS 文件导入到新的 Android 或 Blackberry Phonegap 项目中并进行编译。
After developing the application in Visual Studio you should be able to take your HTML/JS files, upload them to the PhoneGap Build service (http://build.phonegap.com) and have it compile/generate Android and Blackberry application files for you.
Alternatively, if you don't mind using another IDE for the last step, you can always import your HTML/JS files created in VS into a new Android or Blackberry Phonegap project and compile.
是的,您可以使用 Visual Studio 创建 Android PhoneGap 应用程序。有关更多信息,请参阅下面的链接。
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/
yes you can create android phonegap appliation using visual studio.. for more information pleasee see the below link..
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/
您可以使用“适用于 Apache Cordova 的 Visual Studio 工具”。由于 PhoneGap 是在 Cordova 之上构建的并且几乎相同(请参阅此答案),这可能适合您的需求?
参考网站的概述如下:
You could use "Visual Studio Tools for Apache Cordova". As PhoneGap is built atop of Cordova and are almost the same (see this answer) this might be suitable for your needs?
An overview taken from the referenced website reads:
不,理论上是的,但实际上不是。
这不是技术问题,而是你们公司的社会问题。决策者没有构建移动应用程序的经验,并试图将现有知识应用到他们不了解的领域,但他们失败了。除非他们能够理解自己的局限性,否则你就完蛋了。
可以使用任何文本编辑器编辑源代码。但是,Visual Studio 不会提供任何 IDE 功能,例如从可用的 IDE 启动 Android 应用程序。将 Visual Studio 强加给开发人员只会阻碍开发过程。
很抱歉受雇于这样管理不善的公司。
No. In theory yes, but in practice no.
This is not a technical problem, but a social problem in your company. The decision makers have not experience of building mobile applications and try to apply their existing knowledge to an area they don't know and they fail. Unless they can understand their own limitations you are screwed.
It is possible to edit source code using any text editor. However, Visual Studio will not have any IDE goodies, like e.g. launching Android application from IDE available. Forcing Visual Studio upon developers would just hinder the development process.
Sorry about being employed in such mismanaged company.