phonegap-build

PhoneGap - Make Android feature optional

时光总嘲笑我的痴心妄想 提交于 2019-12-02 02:33:47
问题 I want set couple of settings not to be required for my android app so Google' play store will recognize it also useful for tablets. I need add these two lines to my AndroidManifest.xml: <uses-feature android:name="android.hardware.camera" android:required="false" /> <uses-feature android:name="android.hardware.telephony" android:required="false" /> Since I use PhoneGap build to compile my app, I need somehow add them to the config.xml file, so PhoneGap will add them to the right place during

Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Plea

情到浓时终转凉″ 提交于 2019-12-02 02:14:15
I Got Error When Compile my Phonegapp App Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: GoogleMaps.java - You can fix this here Compile Log: https://snipplr.com/view/329573/compile-log/ and config.xml Given Below. please help why can i do? <?xml version="1.0" encoding="utf-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" xmlns:android = "http://schemas.android.com/apk/res/android" id = "kmrs.m6obil6e.app" versionCode = "25" version = "2.5">

Accessing phonegap inside an iframe

家住魔仙堡 提交于 2019-12-02 02:02:47
问题 I am using iframe within PhoneGap and PhoneGap Build for building. Is it possible to access PhoneGap functionality e.g. the camera function inside the iframe? Thanks! 回答1: History does not work the way it should. history.back() and history.forward() don't work and we have to hack it (with history states) to make it work (sorta). We were able to get around it by setting the usePolling property to true. Conflicts between the main window and the iframe window for everything (URLs, events, etc)

Fullscreen Keyboard for Android app by Phonegap build

夙愿已清 提交于 2019-12-01 14:40:47
Problem :- I am developing an android application which has got 2 fields. When focus on the fields, virtual keyboard will hide/overlaped on these field. So from here I found the solution <preference name="fullscreen" value="false" /> . But it will result in STATUS BAR will shown and UI will pushed upwards. Hence, I reverted back. Question :- Is there any jQuery patch or phonegap plugin to make virtual keyboard full screen [ both Landscape and Portrait mode ] as you can see below image : Please reply as soon as possible! Thanks in Advance. Regards, Ok, I finally solved this problem with below

Phonegap cross domain json data calling stopped working in phonegap build

拥有回忆 提交于 2019-12-01 14:28:19
Hi 3 days before when I was working on phonegap build it was working fine but yesterday when I created a new build from phonegap builder it stopped working and getting data. For phonegap only. Below is mine config code. <!-- Customize your app and platform with the preference element. --> <preference name="orientation" value="default" /> <!-- all: default means both landscape and portrait are enabled --> <preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal --> <preference name="fullscreen" value="true" /> <!-- all: hides the status bar

PhoneGap Build Android Not Displaying Splashscreen

两盒软妹~` 提交于 2019-12-01 14:09:02
Here is my code in my config.xml that's relative to splash screens: <splash src="splash.png" /> <icon src="icon.png"/> <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="10000" /> <platform name="android"> <preference name="SplashScreen" value="res/screens/android/drawable-land-ldpi-screen.png" /> <splash src="res/screens/android/drawable-land-ldpi-screen.png"/> <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" /> <icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png" /> <icon density="hdpi" src="res/icons/android

Phonegap cross domain json data calling stopped working in phonegap build

风流意气都作罢 提交于 2019-12-01 13:59:50
问题 Hi 3 days before when I was working on phonegap build it was working fine but yesterday when I created a new build from phonegap builder it stopped working and getting data. For phonegap only. Below is mine config code. <!-- Customize your app and platform with the preference element. --> <preference name="orientation" value="default" /> <!-- all: default means both landscape and portrait are enabled --> <preference name="target-device" value="universal" /> <!-- all: possible values handset,

Cordova build returns missing plugin.xml

送分小仙女□ 提交于 2019-12-01 13:55:10
问题 When i build my cordova project i get an warning message as: Missing file: /home/vijay/workspace/Repos_temp/QuickTraq_Android/plugins/nl.x-services.plugins.toast/plugin.xml Missing file: /home/vijay/workspace/Repos_temp/QuickTraq_Android/plugins/cordova-plugin-device-rotation-vector/plugin.xml This happens when i add an plugin or remove an plugin also . This happens just as a warning when i add a plugin or build the project but when i remove the plugin error occurs as Error: ENOENT, no such

PhoneGap Build Android Not Displaying Splashscreen

元气小坏坏 提交于 2019-12-01 12:37:34
问题 Here is my code in my config.xml that's relative to splash screens: <splash src="splash.png" /> <icon src="icon.png"/> <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="10000" /> <platform name="android"> <preference name="SplashScreen" value="res/screens/android/drawable-land-ldpi-screen.png" /> <splash src="res/screens/android/drawable-land-ldpi-screen.png"/> <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" /> <icon density=

Fixed dimension for cordova app

北战南征 提交于 2019-12-01 12:27:27
I am trying to create a cordova application with a fixed width and height.If the device width is higher than the application width then it will display inside of the device view port. and if the device width is less than the application width,then only need to show the center part of the app. It is more clear as in the bellow image, The first image have the condition that the device have more width than the app.and second one have less width than the app. I have tried by adding <meta> in my index.html file as follows, <meta id="viewport" name="viewport" content="width=<fixed width>,height=