Ajendra Prasad
Ajendra Prasad

Reputation: 327

Create hybrid mobile apps using Phonegap and without installing SDKs for platforms to be supported

I have downloaded phonegap-2.9.0 from http://phonegap.com/. It contains doc folder and lib folder containing sample projects (I think so) in the folders named after the platforms. After going through the net articles it seems like I have to install SDKs of all the platforms I wish to support for an app. I don't want to do so.

Is there any way I can use a single editor and create apps that will support other platforms, and how would I use the JS files in lib folder ?

I want to use JavaScript, CSS and HTML.

Upvotes: 1

Views: 3697

Answers (3)

Mohammed Imran N
Mohammed Imran N

Reputation: 1319

http://app.phonegap.com/

This is the solution your looking for.

To set up check this. http://devgirl.org/2014/04/22/introducing-the-phonegap-developer-app/

You don't want to use any SDK or IDE. text editor and Device (Android, iOS) will do the wonder. Currently it supports Android and iOS only.

Upvotes: 0

Drew B.
Drew B.

Reputation: 1145

There actually is a way to develop for PhoneGap without having to install all the various SDK's contrary to the accepted answer.

All you have to do is create a single codebase and push it to GitHub. An example Hellow World app can be found at this repository. Then, you can go to PhoneGap Build, and PhoneGap Build will compile the code for all the different devices. As for developing the app, all you have to do is edit the files in the www/ folder and add whatever pages you wish. Be sure to check out the Docs on that PhoneGap Build link for more information.

Upvotes: 2

sajay
sajay

Reputation: 315

Okay, for Android you need to use Eclipse IDE, Install Android SDK in your local system, Install ADT plugin for eclipse, then you can create new Android project from File > New

For more information

http://phonegap.com/developer/

http://developer.android.com/sdk/installing/index.html

For iphone development you need a MAC Machine, XCode IDE

For windows phone, need to install windows phone SDK, IDE -> Visual Studio Express for Windows Phone

Visit http://docs.phonegap.com/en for more info

Upvotes: 1

Related Questions