如何使用PhoneGap与Visual Studio [英] How to use PhoneGap with Visual Studio

查看:296
本文介绍了如何使用PhoneGap与Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Windows 8,VS 2012上开始使用PhoneGap,即:

I'm having trouble getting started with PhoneGap on windows 8, VS 2012, namely:

我不知道如何安装模板


  • 我打开从PhoneGap下载的模板项目,但它们与VS2012兼容

我不知道从哪里开始创建我的第一个简单的CRUD应用程序

I don't know where to start in respect to creating my first simple CRUD application


  • 想要连接到WCF API并进行一些调用

如何发布允许在许多设备上安装的结果:

How to publish the result allowing installation on many devices:


  • 我主要想使用iPhone和Android设备

推荐答案

您可以使用VS来编辑html,css和javascript文件,不相信有任何VS项目模板可用。至少我从来没有见过。

You can use VS to edit the html, css, and javascript files, but I don't believe there are any VS project templates available. At least I've never seen any.

但是,你将无法编译和部署。例如,Android的模板是eclipse项目模板,因为phonegap正在构建一个java应用程序,以便部署到Android。

But, you won't be able to compile and deploy. The templates for Android for instance are eclipse project templates since phonegap is building a java application in order to deploy to android.

如果你想开发为Android,从Phonegap开始指南(由于防火墙问题,我现在不能给你一个链接)。您放在www文件夹中的文件将是您的项目的html,css和javascript文件,您可以使用任何您想要编辑的文件,包括VS。

If you want to develop for android, follow the getting started guide from Phonegap ( I can't get you a link right now due to firewall issues). The files you put in the www folder will be the html, css, and javascript files for your project and you can use anything you want to edit them, including VS.

这篇关于如何使用PhoneGap与Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆