-2

I want to know if I have to change the code while building the application for different platforms in phonegap. Suppose I have created the app which include database,also calling the web service(API),then do all that code changes as we change the platform? Can we have a code that is build one time and that works for all platforms such as android, ios and windows and if it is possible than how? I want to get clear about phonegap that do we have differnet ways for calling a web service or storing data in database for differnt platforms? I am using IntelXDK for building phonegap app.

Noor
  • 2,071
  • 19
  • 28
  • It's the meaning of cordova and phonegap to share the code for all platforms. Please read the documentation. – Joerg Feb 13 '15 at 06:39

1 Answers1

0

Cordova (aka PhoneGap) applications are ordinarily implemented as a browser-based WebView within the native mobile platform

1) No need to change your code for each platform .

2) You will have to build your app for each platform like for iOS app in xcode, for android in eclipse or android studio or Build on cloud

3) No need to change web service or storing data in database for differnt platforms, same code you can use for each platform.

Read more..

Ved
  • 2,701
  • 2
  • 22
  • 30