Question

I am trying to build a mobile APP using phone Gap. I have few concerns regarding phone gap. I am just trying to convert my website to mobile app where simply i would be using the same database which is MYSQL. Earlier website was not converted into HTML5 and hence we were getting some problem at responsive end. Now i want to create a HTML5 mobile app for my mobile users and i want to build it in phone gap. Because ultimately it is a framework to build app using HTML5 and JAVASCRIPT.

How phone gap works is : we install phone gap and then install platform (android, ios etc). according to this selection cordova.js is placed into our development environment.

does it mean i am making an Android App?.

isn't their any option where we can develop for common platform ?
 or in simple a common cordova.js file.

I don't want to publish or put this to phonegap build . just trying to make a simple website mobile app using phone gap. I am a website developer and trying to do this mobile development stuff for first time. Phonegap is really a good platform for mobile development that's why i want to go with it. Can i accomplish things i mentioned above.

My main concern is if i don't want to publish it and want to simply make a mobile app using HTML5 and JS . so can't we use a common cordova.js ? i don't know i am talking non sense. Any help to put me right path would be appreciated.

thanks,

cheers

update:

i think some are getting me wrong there. I have a website and i want to convert it for my mobile user's . So idea is to convert a website for mobile phone or handheld devices. I want to use Html5 and phonegap is a platform to build html5 app using javascript. I know building things in phonegap is not an easy job , from setting environment to build app is not an easy task. So before going ahead i want to make sure that i am on the right path. So i am not making any android or ios app . just converting a website for handheld devices and i choosed phone gap platform.

Was it helpful?

Solution 3

So yes this was asked a year back by me . Looks like i was talking some non sense . :D . Anyways . for beginners if you have same question or confusion i had above . then the answer is :

Phonegap and cordova are the hybrid approach to build cross platform app . because they just create a build means we can use any HTML5 framework or web app and then build them .But yes you should follow their format if you are building them out , Like in www folder put your whole code.

Now lets look at my confusion my intention was to create a mobile web app , a responsive site . If today you want to do this we have some really good html5 frameworks . Ionic Is one of them . You can use this for creating HTML5 app , don't build it , who cares we just want components that can be used for making a responsive mobile web app . HTML5 , twitter bootstrap and CSS3 are your companion to build a mobile web app .

If you need a build and want an android or ios app then use phongap or cordova to wrap your code into build.

Thanks for your patience .

Cheers.

OTHER TIPS

To answer your question:

You can develop PhoneGap application in Android platform and still you can build the apps for other platforms.

You can creates apps using 1 particular platform (Andorid, iOS, Blackberry, WP & etc) and still you can generate the apps for other platforms too.

You can generate apps for other platform either locally or using PhoneGap online services.

Based on inputs, I would suggest following:

Migrate existing app to HTML5 and CSS3. HTML5 introduces elements and attributes that reflect typical usage on modern websites, good news is it is backward compatible.

And there is not much effort in converting it here are some of the useful links: W3Schools, First steps in the Transition Process for HTML5

Once you are on HTML5, would recommend looking at Responsive Web Design to optimize website further for Web and Mobile and various type of devices.

Here are some links: Responsive Web Design, Beginners Guide to RWD

Cheers !!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top