phonegap-build

Keyboard hides iOS input fields in PhoneGap Build 3.1 with an iFrame/object and JQTouch

折月煮酒 提交于 2020-01-02 18:04:14
问题 I'm developing an app that loads a form from another website into an iFrame. The iFrame is set to 100% width and height while displayed. That website has JQTouch. When I touch an input field in iOS 7 on the iPhone, the keyboard pops up and covers the input fields. It doesn't scroll, resize, or even let me scroll down to see the input field. If I type and then close the keyboard, nothing happens. I've tried everything I've come across. Adding/removing height=device-height in the meta viewport

Phonegap - How to save .txt file in root directory of android mobile

我怕爱的太早我们不能终老 提交于 2020-01-02 05:14:09
问题 I m trying to save a .txt file in root directory of android mobile using phonegap. I have installed these plugins 'cordova-plugin-file' and 'cordova-plugin-file-transfer'. In config.xml file i add this preference. <preference name="AndroidPersistentFileLocation" value="Internal" /> Here is my code. <button class="btn-lg btn-success" onclick="saveFile('hello_world.txt', 'This is Dummy Content')">Write File</button> Code to handle on click event. function saveFile(fileName, fileData) { // Get

Download attribute not working in Phonegap app

扶醉桌前 提交于 2020-01-01 17:27:11
问题 This is not my first hybrid app (I've published apps on both Google Play Store and Apple Store). My target platform is Android. I'm not sure which versions will be supported, I will determine that later if I decide to publish this idea at all.. I'm using Phonegap Build. I'm having some trouble getting the HTML Download attribute of the A element to work. Here's what I have: <a download href="http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2014/4/11/1397210130748/Spring-Lamb.-Image

Open a link in its own phoneGap default webview

独自空忆成欢 提交于 2019-12-31 01:40:08
问题 i have built a PhoneGap application with crosswalk, and when i try to open a link in it, it is not opening in the same webview , besides it launch a browser selection window. what i want is if i click to a href it should load the webapp inside the webview that loaded the default index.html, i tried to redirect the page using js too. i am not sure i done the integration correct, i just followed this link Codova Plugin 回答1: You need to use inappbrowser plugin to achieve that : https://github

Fullscreen Keyboard for Android app by Phonegap build

半城伤御伤魂 提交于 2019-12-30 14:41:11
问题 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 :

VM error while Build Cordova PhoneGap

て烟熏妆下的殇ゞ 提交于 2019-12-30 07:55:29
问题 I got this error while i tried to create a Cordova PhoneGap application, and in the final step while I use the build command cordova build android I got this error: Error D:\rmapp>cordova run android Running command: D:\rmapp\platforms\android\cordova\run.bat ANDROID_HOME=D:\Android\sdk JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_71 WARNING : No target specified, deploying to device '192.168.56.100:5555'. Running: D:\rmapp\platforms\android\gradlew cdvBuildDebug -b D:\rmapp\platform s

Cordova build problems after import google play service

前提是你 提交于 2019-12-30 07:05:08
问题 After the new update of the admob SDK now we need to import the google play service project to our projects to monetize and show ads in our apps. I am creating an app with Apache Cordova/ Phonegap and I created the android project with it and everything was fine. Then I opened my android project that cordova generated and import the google play service lib project and put all the native code I needed to show ads, then...GREAT! Works fine, tested on emulator, NICE, device, EVEN BETTER! But now

Cordova iOS Video tag Local File Source

天大地大妈咪最大 提交于 2019-12-29 07:42:21
问题 I have problem playing local video on iOS on my Cordova based app. At the beginning I want to stress out that this problem is happening only when I'm using WKWebView , and if UiWebView is used, video plays fine. This is scenario I have: -User comes to screen to which video url is passed -Via FileTransfer I download it to phone and store it at desired location -Using JS video is loaded to <video> tag and played. Basically I'm doing everything as described in answer to this SO question. The

PhoneGap Build iOS app has blank white screen after splash screen

你离开我真会死。 提交于 2019-12-28 05:14:30
问题 I'm using PhoneGap Build 3.0, attempting to get rid of the blank white screen that appears after the splash screen. I've done research and all I can find is references to PhoneGap and Cordova, not PhoneGap Build. None of the things I've tried have worked--mainly, disabling the auto splash screen hide, and hiding it automatically with JavaScript: In the config.xml: <feature name="SplashScreen"> <param name="ios-package" value="CDVSplashScreen" /> <param name="onload" value="true" /> </feature>

PhoneGap Build: how to open external url in device browser on Android?

青春壹個敷衍的年華 提交于 2019-12-28 04:01:09
问题 External URL's don't open in the system's browser in my PhoneGap Android application. I'm using PhoneGap Build 2.3.0. According to the Cordova documentation I used target '_system': window.open('http://www.myurl.nl', '_system'); In my config.xml I have: <plugin name="InAppBrowser" value="org.apache.cordova.InAppBrowser" /> <access origin="*" browserOnly="true" /> But still the links open in my apps webview. How to solve this? 回答1: It's not the answer when you want to keep using PhoneGap Build