phonegap-build

Phaser HTML5 app cannot play sound after porting by Phonegap Cloud Build

天涯浪子 提交于 2019-12-11 12:03:36
问题 This's a simple Phaser audio example. It works well on my Android web browser. However, it's muted after porting to Android app by Phonegap cloud build. I know how to play sound (and loop) in Phonegap app (How to loop a audio in phonegap?) but don't know how to apply it into the Phaser JS framework. Here's the ported app. I can install and run it but without sound. Do I miss something or Phonegap Cloud Build does support the WebAudio in Phaser JS? https://build.phonegap.com/apps/1783695/ My

Google Plus Plugin and Push Notification Plugin conflict on PhoneGap Build, Build failed

一曲冷凌霜 提交于 2019-12-11 11:14:47
问题 I need to use google plus plugin along with the push notification plugin <plugin name="cordova-plugin-googleplus" source="npm" spec="5.2.1"></plugin> , but using both of them build gives error : Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin'] > For input string: "+" When I use 5.3.0 of googleplus plugin then it works and build succeeds, but then on sending notifications a pop up appears in my mobile &saying App has stopped ...Close App. UPDATE : config.xml

XML file in assets folder cannot access res/raw folder

▼魔方 西西 提交于 2019-12-11 11:09:10
问题 I should start by giving some background. We're about to release a non profit html5 children's game for android platforms. I have used eclipse to create an apk file but there is no audio (the rest of the game works fine). I have tried phone gap but there is no audio for the game. After doing days of research and possible solutions, I decided to ask here on stackoverflow. The game uses html/css/js. Project folder structure in Eclipse is: assets(android_assets)->www->index.html, game.xml, js

Disable Windows Phone in Phonegap Build

余生颓废 提交于 2019-12-11 10:58:50
问题 Is it possible to disable builds for Windows Phone in Phonegap Build? Let me know if it's possible, Thanks! 回答1: @Renesansz, This item is poorly documented, but you need to add a line to your config.xml. Here is your documentation: The Basics Here is a working example: Phonegap--Generic-Boilerplate The Blog on the boilerplate is here: Three (3) Phonegap Build Boilerplates for For Android and iOS You will want to read the bold points in this FAQ Top Mistakes by Developers new to Cordova

PhoneGap: Unable to change volume of html5 Audio object in ios

核能气质少年 提交于 2019-12-11 10:28:08
问题 I am using HTML5 Audio object in javascript with phonegap for iOS. It's working fine in Android but I am not able to change volume of audio. I am using phonegap build to build this app. My target platforms are android ( equal or greater than 4 ) and ios ( equal or greater than 7). This is my first app but I am working on this for around one month but I am still not that much good that's why I stuck on the volume issue. I am using following code: var my_audio = new Audio('test.mp3'); my_audio

Phonegap issue with Ajax Request

不问归期 提交于 2019-12-11 10:07:17
问题 I have a web application developed in PHP that returns data in JSON format. I created a HTML to read this data shows them on the Android screen. Works on the web, via Phonegap Desktop works by connecting smartphone. But when I generate the APK via build.phonegap.com, it does not. My JS code: $.support.cors = true; $(document).ready(function(){ $.ajax({ url: 'http://zieltecnologia.com.br/mobile/js_bolsa.php', type: 'GET', crossDomain: true, cache: false, success: function(data) { alert(data);

Google Play won't accept Apache Cordova

风流意气都作罢 提交于 2019-12-11 09:48:36
问题 I originally tried using AIDE for PhoneGap and after I submitted my app to Google Play I got the following message... APP REJECTED Your app submission has been rejected because it contains security vulnerabilities, which is a violation of our dangerous products policy. If the uploaded APK was an app update, the previous version is still available on Google Play. More details about this rejection have been emailed to the account owner. I then went ahead and used Apache Cordova's Hello World

Controlls missing on Google Maps API3 in Phonegap iOS App

放肆的年华 提交于 2019-12-11 08:44:27
问题 I am working on an app that is built using jQuery mobile and Phonegap. It has been working fine for over a year. Then a month or two ago, the controls (specifically map type, zoom, and street view) went missing without the app being updated, and only on iOS. I have tried running the app through the phone's browser and it works fine. It is only after it has been compiled by phonegap (build) that the issue exists. I've attempted to manually force the UI settings to true, but only the map type

Android Studio doesn't install SDKs… what?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 06:48:00
问题 I'm trying to use Cordova to build a hello world app and after adding ANDROID_HOME variable (You'd be shocked how long that took to figure out) all I keep seeing when building is this: BUILD FAILED Total time: 1 mins 6.679 secs Error: /Users/vladdy/Desktop/laboratory/cordovaBackgroundApp/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Failed to find target

Phonegap plugins not working on first run

一个人想着一个人 提交于 2019-12-11 06:23:33
问题 I created a PhoneGap iOS app and for some weird reason all of my plugins (Inappbrowser, SMSBuilder & SocialSharing) dont work on first run of app after installed. only after closing the app and opening again, everything works correctly. Thanks! 回答1: You really should be using a Single Page Architecture for PhoneGap, not doing so is a sure way to get rejected from AppStore anyway. You don't want people to sit through load times between webpages, check out Handlebars.js for an easy way to do