phonegap-build

Phonegap iOS Safari debug workflow

拈花ヽ惹草 提交于 2019-12-01 10:35:53
I've been testing out Phonegap Build, using a similar workflow as outlined here: Tutorial: Developing a PhoneGap Application I can build, and deploy to my devices, but cannot get remote debugging to work through Safari, as described in the answer here: Could you tell be debug process in Phonegap iOS application? I have no problems debugging the app through the mobile browser, but the installed app itself does not show up in Safari's develop menu. I am transferring my app to my phone through xCode, and have enabled debugging in the Phonegap build interface, but the Weinre debug service seems to

Fixed dimension for cordova app

Deadly 提交于 2019-12-01 10:26:51
问题 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

Phonegap iOS Safari debug workflow

萝らか妹 提交于 2019-12-01 07:29:43
问题 I've been testing out Phonegap Build, using a similar workflow as outlined here: Tutorial: Developing a PhoneGap Application I can build, and deploy to my devices, but cannot get remote debugging to work through Safari, as described in the answer here: Could you tell be debug process in Phonegap iOS application? I have no problems debugging the app through the mobile browser, but the installed app itself does not show up in Safari's develop menu. I am transferring my app to my phone through

Cordova WKWebView Plugin with PhoneGap Build Version 6.0.0

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 06:23:57
From the blog post about PhoneGap 6.0.0 being available on Build my understanding is that we can now use the Cordova WKWebView engine with apps build with PhoneGap Build. See: http://phonegap.com/blog/2016/02/09/phonegap_6_now_on_build/ https://shazronatadobe.wordpress.com/2015/09/09/apache-cordova-ios-4-0-0-and-wkwebview-support/ https://github.com/apache/cordova-plugin-wkwebview-engine I've updated my config version to include the following but am still getting the default UIWebView: <preference name="phonegap-version" value="cli-6.0.0" /> <feature name="CDVWKWebViewEngine"> <param name="ios

Images not showing in PhoneGap Build application

微笑、不失礼 提交于 2019-12-01 04:01:06
I have recently decided to start using PhoneGap Build to create apps using web technologies. Please note that I'm using PhoneGap Build not PhoneGap and so I don't maintain native APIs. I use HTML img tags for displaying images of course and I'm having some trouble. The images display nicely in a browser but when I take it to my phone they just disappear. I've tried everything: checking case and spelling. I even tried uploading the images to my website server and nothing. Any help on this will be greatly appreciated. UPDATE I use this HTML, It's a JavaScript string as that's how I input it

VM error while Build Cordova PhoneGap

天大地大妈咪最大 提交于 2019-12-01 03:04:04
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\android\build.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true FAILURE: Build failed with an exception. *

Phonegap Build Error failed

不想你离开。 提交于 2019-12-01 01:39:48
Oh geez. Your build failed. Sorry, but a problem occurred on the build server. Having this issue from last 2 days. is any way to build app i am using phongap cli 5.2.0. my ios & android app is not gone be build whats problem must going on. i didn't understand. if any one have other way to Build app please provide me. by uploading zip and its provide us build like that.my config file is below mention. <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.abc.mobileapp" version="1.0.0" versionCode = "10"> <name>abc</name> <description></description> <author

Phonegap Build: download image in one of the folders of your app

寵の児 提交于 2019-12-01 01:09:36
I am able to download an image if I specify the path directly with file:///storage/sdcard0/ How can I save an image to my one of the folders in my app ? I tried this approach to set app path but it doesn't work for me. This is what I am using so far and it works if you want to save and image to sdcard: var fileName = "myImage.png"; var fileTransfer = new FileTransfer(); var uri = encodeURI("http://my.url.to.image/myImage.png"); var filePath = "file:///storage/sdcard0/uploads/myImage.png"; fileTransfer.download( uri, filePath, function(entry) { alert("download complete: " + entry.fullPath);

Images not showing in PhoneGap Build application

放肆的年华 提交于 2019-12-01 00:47:58
问题 I have recently decided to start using PhoneGap Build to create apps using web technologies. Please note that I'm using PhoneGap Build not PhoneGap and so I don't maintain native APIs. I use HTML img tags for displaying images of course and I'm having some trouble. The images display nicely in a browser but when I take it to my phone they just disappear. I've tried everything: checking case and spelling. I even tried uploading the images to my website server and nothing. Any help on this will

Hide Status Bar in Android with Phonegap Build

南楼画角 提交于 2019-11-30 23:19:52
I have enabled fullscreen in the config.xml file but when the keyboard appears ,status bar is shown also and stays there unless i tap on it.There is a way to avoid this in Ios but i haven't find anything for android.At least can i tap the status bar programmaticaly with jquery? You can try setting <preference name="Fullscreen" value="true" /> in the config.xml I had this same issue and what fixed this for me was adding this line to the config.xml file: <preference name="StatusBarOverlaysWebView" value="true" /> Then updating my code on PGB. Install StatusBar plugin: cordova plugin add cordova