phonegap-build

Is Polymer v1.0 compatible with phonegap build?

倾然丶 夕夏残阳落幕 提交于 2020-01-22 00:24:51
问题 Is Polymer v1.0 compatible with phonegap build? I tried to build the polymer starter kit but the build was not a success. 回答1: @Ahemed, Polymer is new and experimental. It works with only a few browsers. Phonegap, at this time, does NOT support polymer. Your questions are best directed to the one and only (as of the moment) meetup group in Silicon Valley on this subject. http://www.meetup.com/Web-Components-Silicon-Valley-Meetup/ Best of Luck. 来源: https://stackoverflow.com/questions/31636632

“Not allowed to load local resource” for Local image from Remote page in PhoneGap Build

微笑、不失礼 提交于 2020-01-21 03:59:30
问题 I'm hosting my webpages for a phonegap build app. I'd like to use the camera to upload a photo, and show a preview the image, basically doing this: <img src="file:///storage/emulated/0/Android/data/com.myapp.myapp/cache/1470418568917.jpg" height="500" /> Because my pages are hosted I'm getting this error: Not allowed to load local resource: file:///storage/emulated/0/Android/data/com.myapp.myapp/cache/1470418568917.jpg", source: https://www.myapp.com/v5.5/imager.html# I assume that this is

Hello World on PhoneGap Build

大兔子大兔子 提交于 2020-01-17 05:38:48
问题 I am trying to do Hello World (for Android only) at https://build.phonegap.com/apps/. I created a directory. Named it www. Added the following index.html. Zipped it. Then uploaded it to https://build.phonegap.com/apps/ hoping to get back an .apk file. index.html <!doctype html> <html> <head> <title>PG Test</title> </head> <body> Hello World </body> </html> Instead, all I got was this error message. Error Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please

Phonegap Build with phonegap 3 and media plugin

假如想象 提交于 2020-01-17 01:30:10
问题 I work on an application build with phonegap build and phonegap 3. I want to let the user to play some external audio files with the app. But I should have miss something because the media can't be find and play. Here is my config.xml : <?xml version="1.0" encoding="UTF-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.example" versionCode = "10" version = "1.0.0" > <preference name="phonegap-version" value="3.0.0" /> <!--

How to make a PhoneGap application save current geolocation less often?

≯℡__Kan透↙ 提交于 2020-01-16 05:17:05
问题 I'm working on an app for fun which allows you to record routes you take. I'm using this to learn about the Google Maps API as well as Phonegap Build, so those are the tools I'm using here. I made a rudimentary app which collects position data (lat,lng) into an array, then uses Google's API to display the results on a map. In the future I'd like to connect them with a line, allow comments, et cetera. Here's what a drive around my neighborhood looks like: Pretty neat. However, something's

how to use cordova plugins with phonegap cli

不羁岁月 提交于 2020-01-15 10:29:27
问题 I am new to phonegap and want to install try install a plugin. There are many websites explaining to use command cordova plugin add <plugin name> .When I type this its shows cordova is not recognized as command . This may be because I have installed Phonegap cli through npm install -g phonegap . So now whenever I try to add a cordova plugin its showing not a command. Is that I can use only plugins made specifically for phonegap. I know that in phonegap build I only need to add a line in

PhoneGap: BarcodeScanner Sharing Plugin

左心房为你撑大大i 提交于 2020-01-15 02:45:08
问题 Note: I wanted to develop IOS and Android application with QR code scanning feature. I do not own Mac machine, I'm using Netbean / Eclipse in WIndows OS. Question: Is it possible to have single codebase written with Eclipse Windows OS + android BarcodeScanner Plugin, and get built into IOS application via Adobe Cloud Build service Deeply appreciated if someone could give me an advice. 回答1: If you're using the online compiler of phonegap (Phonegap Build) then it's possible to use a plugin for

How add android ssl certificate for https request in ionic?

痴心易碎 提交于 2020-01-13 10:13:22
问题 In ionic simulator all http and https working fine but in real device release version its stop working. Many people adviced to add SSL certificate for release version but I dont know how to add this ? I have tries all this to make https request ? <access origin="*"/> <access origin="*"/> <allow-navigation href="*"/> <allow-intent href="*" /> Also added whitelist plugin but not working. Also tried this but not working <meta http-equiv="Content-Security-Policy" content="default-src *; style-src

Is it possible to build Cordova App online?

久未见 提交于 2020-01-12 18:21:20
问题 I am making making an app using PhoneGap framework. PhoneGap provides build Service (http://build.phonegap.com) that allows us to build and package app in cloud .You do not need to install any SDK locally to build app. Is there any way to build cordova app Online 回答1: Did you try Monaca? They have free plans: https://monaca.io 回答2: You could also use Intel XDK platform. I've found very useful to develop in brackets+chrome and test and build in intel xdk. They have a very powerful emulator

Hide Status Bar in Android with Phonegap Build

Deadly 提交于 2020-01-11 03:48:13
问题 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? 回答1: You can try setting <preference name="Fullscreen" value="true" /> in the config.xml 回答2: I had this same issue and what fixed this for me was adding this line to the config.xml file: <preference name=