Trabajando con HTML, CSS y Jquery o Javascript en WP7

I am presently started working with mobile development and would like to know which is the best way to work with Html,css y jquery/Javascript para WP7.

As I have seen couple of things on the web as Brecha del teléfono,Jquery mobile y Appcelerator Titanium

1.I have some of the problems actually this is not a problem but as PhoneGap gives a starter template with C# solution.

But I'm working on VB.Net.I'm unable to work with the C# solution as If I convert to VB.Net the entire starter template no está trabajando.

2.Just now I had a look at Jquery mobile no hay specific documentation mentioned how to use it with emulator in WP7.

Can anyone show me the links where I can start with the basics of Jquery mobile with WP7 emulator.

3.Do you think there is any other best way so that I Can work with jquery, html and css in WP7.

preguntado el 10 de marzo de 12 a las 09:03

1 Respuestas

It sounds like PhoneGap is your best option here. Right now, it's the best way to deploy an HTML-based application on Windows Phone. The main thing that PhoneGap gives you is a bridge to the phone's hardware (things like volume buttons, vibration, etc.). It also gives you an easy way to wrap up your application into a package that can be installed like a real native app.

By themselves, other frameworks like jQuery Mobile, Sencha Touch and Kendo UI don't provide hardware access or the ability to deploy the app natively. They are purely UI frameworks, meaning they provide the interface widgets you'll use to build your app but little else. Generally, with these frameworks, you need to host the app somewhere like a website and access it through the browser.

Assuming you're running a Windows machine, you could host the app locally for development using Internet Information Services (IIS). Here's a Aquí tienes nuestra guía to setting up a site. Then you could open the emulator and go to http://localhost to interact with your app. That would work, but it would be clunky.

The ideal scenario is to use both jQuery Mobile (or another UI framework) and PhoneGap to create a nice-looking, natively installable app.

What I'd recommend is trying to get PhoneGap set up in a VB project. From what I've seen, this shouldn't be too difficult. There are probably some details to work out, but mainly it looks like you need to copy the www y GapLib folders over. Then right click on References y busque el GapLib .dll. You'll also need to get the MainPage.xaml y MainPage.vb files set up, but they probably just host a web browser control, so this should be straightforward.

Migrating the pieces into a new project should work a lot better than trying to convert an existing project.

If you post specific issues that you run into during the setup, I'm sure you could get them answered quickly.

respondido 10 mar '12, 13:03

@Josh-Thanks for your detailed explanation.I am totally convinced with you.And yes I have started with my first Phone Gap App :) - coder

Sounds good. :) You might want to check out the PhoneGap course at Pluralsight, which was created by a colleague of mine. It's a great introduction, and you can get a 200-minute free trial of Pluralsight. (I'm not affiliated in any way--just a good deal). - jose conde

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.