phonegap-build

Phonegap shows error - “Oh geez. Your build failed.”

送分小仙女□ 提交于 2019-12-11 16:03:25
问题 I am using Phonegap Build for my Android app and am running into the following error when compiling: Oh geez. Your build failed. Click the "Log" button above to view the compile log. If you need help diagnosing the issue, you can post to the support forum with your App ID. XML <?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 = "kmcrs.mobibbhvle.app"

Phonegap Build .ajax request returning 404

戏子无情 提交于 2019-12-11 15:56:42
问题 I'm working on a Phonegap app which is built using the Adobe Phonegap Build service. It currently uses Phonegap 3.7.0. All requests made via jQuery .ajax method are returning a 404. When I submit the same request via a web browser it completes successfully. I've seen the post (Phonegap Cordova Ajax requests 404 (Not Found) Error) about Cordova 5 requiring the use of the cordova-plugin-whitelist plugin. However I'm new to Phonegap so I have the following questions: How does the Phonegap

AddEventListener works on the browser but does not on Android

末鹿安然 提交于 2019-12-11 13:43:32
问题 I'm using postMessage() function to populate a message from a mobile App to a website fields. I tested it on the browser, and everything is working perfectly. However, when I tried to test on Android phone, nothing is populated. App side: var password = localStorage.getItem("password"); var language = localStorage.getItem("lang"); var credentials = username+'-'+password; var msg = language+':'+username+'-'+password; var loginWindow = window.open('https://link', '_blank', 'location=yes');

Phonegap build how do you add plugins to app

橙三吉。 提交于 2019-12-11 13:38:03
问题 The document says: "There are two steps to including a plugin in your project: Importing the native code using the config.xml Referencing the JavaScript code for the plugin " http://docs.build.phonegap.com/en_US/configuring_plugins.md.html#importing-native And to reference you do this in your html file: <script src="cordova.js"></script> <script src="barcodescanner.js"></script> <-this However, how do you know what to put in place of barcodescanner.js. In fact i don't know about work flow of

PhoneGap Android Device Ready but no Ajax

一曲冷凌霜 提交于 2019-12-11 13:18:40
问题 I wonder if my problem is my ajax call is to http, not https. Must I call with https or can I call with http? I am compiling with PhoneGap cloud cli-5.2.0 ( iOS 3.9.1 / Android 4.1.1 / Windows 3.8.1) I compile my package, install it on my Android Samsung, it starts up, and my $.ajax errors errorThrown:undefined textStatus:error data:{"readyState":4,"responseText":"","status": 404 ,"statusText":"Not Found"} Any suggestions/ideas? I read the following: jQuery Mobile + Phonegap on Android - no

Phonegap iOS ajax request never completes

谁说胖子不能爱 提交于 2019-12-11 13:11:34
问题 I have a phonegap app which connects to a web service and authenticates using http basic authentication. It is built using phonegap build and targets Android and iOS. On a login view, an ajax request fires against the remote server to check if credentials are correct, then if so, logs the user in to the main application. This completes successfully in ripple emulator on desktop pc and when also when deployed onto an Android device. However, when the app is deployed onto an iOS device (ipod

Facebook Like button + Phonegap

梦想与她 提交于 2019-12-11 13:05:47
问题 I'm trying to use Facebook Like button in my Phonegap (HTML + JS) app, but it doesn't work. If I test it in the browser (local test), the button appears. But when I build it with Phonegap BUild and run it in my smartphone, the button is not showed. I'm using the code below: <div class="fb-like" data-href="https://www.facebook.com/pages/Save-Points/293951217439051" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div> 回答1: The current way to implement the

Splashscreen not working on Phonegap Build cli-5.2.0

独自空忆成欢 提交于 2019-12-11 12:45:20
问题 I use Phonegap for over a year and I had no problem with my Splashscreen until now. I decided to move from 3.7.0 to cli-5.2.0 (I think it would make no difference even if it was cli-5.1.1) and I cannot make my SplashScreen work. I have read here that in cli-5.1.1 and above you need the new splashscreen plugin from npm in order to make it work (until now all I had to do was to specify the paths of splashscreen images). So my config file ended up in something like this: <gap:splash gap

Customizing the blank screen before splash screen and videos not playing in full screen on phonegap

狂风中的少年 提交于 2019-12-11 12:29:06
问题 I am building an app on phonegap that displays several links. A blank screen with the icon and title on the left top appears before the splash screen appears when I open the app. However I found online that it is normal in android but we can customize it. Is there any way I can customize it in phonegap and if so how? When a user presses a link, it opens the link in an inappbrowser. Everything works accordingly on ios. However when it comes to android, if there are any videos in those links,

Maintaining git branches with different file organization

感情迁移 提交于 2019-12-11 12:07:32
问题 I am working on a project that I deploy both on gh-pages and as an android application using cordova/phone gap. http://github.com/derekmc/html-sandbox Currently, the code for both deployments is very similar and maintaining separate branches has not been a problem. However, I recently tried to create a deeper file organization, but phonegapbuild didn't include the files from subdirectories. I am afraid that to get this to work I am going to have to organize the files in the two branches