Difference between Manifest.xml and Config.xml in PhoneGap

I am developing a phonegap application in Eclipse on the Android platform and I want to create an .APK file from an Adobe account (build.phonegap.com)

So my problem is that I do not know the difference between the Manifest.xml file and the config.xml file.

In which file should I add permissions for my telephone application (in the manifest or in the configuration file)

+4
source share
1 answer

There are 2 files - one is AndroidManifest.xml , the other is config.xml .

The first file - AndroidManifest.xml - is used to configure information about your application, the main activity (Java class), which it uses to actually run, permissions, and more or less everything related to Android. This file is intended only for Android devices (not iOS, nor BlackBerry, etc.).

config.xml , on the other hand, is PhoneGap specific and contains information for setting up your PhoneGap project. You install plugins, allowed URLs that PhoneGap can access, and several other settings here.

+3
source

All Articles