user3055126
user3055126

Reputation: 299

HTML5 Mobile Web App

I've just created the required HTML5 Mobile web pages(including the CSS3 and javascript pages). I've got the apk file from build.phonegap.com as well. But I want it to be dynamic i.e I should be able to add content from my laptop. I've searched a lot but I'm unable to get the right info on doing this. I just want to be adding simple text paragraphs from my local server(laptop) to the app on the go. What do I do ?

Upvotes: 0

Views: 177

Answers (3)

user1
user1

Reputation: 357

From another post I think might help...

1- if you are building the whole site from scratch: You can create your site by any CMS like dotNetNuke or joomla which will allow you to login and edit what you want

2- if you are building just this page from scratch : You can build your page with online-editing in mind, in this case I recommend to build two pages one for for viewing content and the other for online-editing you can use any HTML-Editor control like FCKEditor

3- if you are dealing with already built page : it will be easier to build administration page which you can upload the new version of the content page to it, and the administration page take care of replacing the content page

Or maybe even the knockout js plugin could be something to look into http://jsfiddle.net/rniemeyer/LkqTU/

Upvotes: 0

imaginethepoet
imaginethepoet

Reputation: 864

Sound like you need to set up some type of json / sql web service.

Upvotes: 1

Praveena
Praveena

Reputation: 6941

Use your machine's ip to do this.

Suppose your laptop ip is 192.168.1.1

Then from your application just use

http://192.168.1.1/your_appliction/webpage

replace  http://localhost/  to http://10.0.2.2/

EDIT:

Treat your laptop as remote server and access the files in it as you normally do in website building.

Upvotes: 0

Related Questions