phonegap-plugins

Worklight 6.1 - Barcode Scanner Plugin

て烟熏妆下的殇ゞ 提交于 2019-12-13 09:54:59
问题 I'm followed this IBM Worklight article instructions - link. On Eclipse - when I try to run BarcodeScannerSampleBarcodeScannerSampleAppAndroid - I get message box with title - "Android Launch" , that says: "Your projects contains error". At Markers window I get this Error: The container 'Android Dependencies' references non existing library 'D:\Users\MyUser\workspaceNew\CaptureActivity\bin\captureactivity.jar' BarcodeScannerSampleBarcodeScannerSampleAppAndroid Build path Build Path Problem

How can I get the iOS status bar to *overlay* the app surface rather than pushing it down?

烈酒焚心 提交于 2019-12-13 05:29:49
问题 I am developing a Phonegap app for iOS (and others). The view is landscape only. I am using Phonegap Build with PG 3.1. I am testing on an iPad3 with iOS7. I need a solution that works not just on iOS7, but also a couple of versions back. In the Xcode iPad emulator, the app uses the entire screen. The status bar is transparent and overlaid on top of the app. However, when I test the app on my iPad, the status bar isn't transparent anymore, and pushes the app down 20px, which means the bottom

PhoneGap Push Plugin Does Not Register iOS 8 Device

拥有回忆 提交于 2019-12-13 05:16:25
问题 The plugin at version 2.3.1, iOS 8.0, iPhone 5. Everything worked find before iOS 8. I upgraded the plugin, before it was 2.0.5. Neither a success nor an error response is received when calling register: window.plugins.pushNotification.register( // tokenHandler (iOS ony) - called when the device has registeredwith a unique device token. function (result) { alert('device token = ' + result); }, function(error) { alert('error = ' + JSON.stringify(error)); }, { "badge":"true", "sound":"true",

Failed to add PhoneGap plugin due to Syntax Error

情到浓时终转凉″ 提交于 2019-12-13 04:54:31
问题 I am trying to add a plugin to my PhoneGap project and it fails with a Syntax Error. Command: phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git Executing: [phonegap] adding the plugin: https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git And then error: /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/parser/pbxproj.js:2654 throw new this.SyntaxError( ^ SyntaxError: Expected "/*", "="

Capture audio phonegap 3.0 without interface

我们两清 提交于 2019-12-13 04:41:59
问题 I have gotten audio recording to work on Phonegap 3.0, however depending on the platform it launches a custom interface that facilitates the recording. Is there a way to not show the interface but use a custom interface? 回答1: Answer: Instead of using the capture API, use the media api. function recordAudio() { var src = "myrecording.mp3"; var mediaRec = new Media(src, // success callback function() { console.log("recordAudio():Audio Success"); }, // error callback function(err) { console.log(

Getting error in childbrowser.java

拟墨画扇 提交于 2019-12-13 04:09:06
问题 I am getting the error "ctx cannot be resolved" in childbrowser.java. I followed the instruction from the video link http://www.youtube.com/watch?v=84jmuXS8GJI to get the childbrowser in my Android app using Phonegap, but still got this error. Anybody please resolve this. /*This is my childBrowser.java code*/ package com.phonegap.plugins.childBrowser; import java.io.IOException; public class ChildBrowser extends Plugin` protected static final String LOG_TAG = "ChildBrowser"; private static

how to add(install) plugin in phonegap 3.0?

纵然是瞬间 提交于 2019-12-13 04:05:54
问题 I created new cordova project. but I can't installed plugin I have been using the following command. $plugman install --platform android --project . --plugin git-wip-us.apache.org/repos/asf/cordova-plugin-device.git And this message was shown. failed to get the plugin via git from URL git-wip-us.apache.org/repos/asf/cordova-plugin-dev ice-motion.git, output: Cloning into 'plugman-tmp1381737348287'... fatal: unable to access 'git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git/':

splash screen not come when in build from cloud phonegap. form eclipse i run in emulator its work prefect

好久不见. 提交于 2019-12-13 02:38:34
问题 i build phonegap project with help of CLI. and i import that in eclipse. add plugin of splash screen. prefect work in emulator. Then after i want that apps in ios and windows. so for that i go for cloud of phonegap. i upload eclipse code. but splash screen not display. directly goes in main screen by cloud bulider. this is config.xml file which path is:- hello4\platforms\android\res\xml <?xml version='1.0' encoding='utf-8'?> <widget id="com.wtow.hello4" version="0.0.1" xmlns="http://www.w3

Cordova iOS splashscreen configurations ignored

大城市里の小女人 提交于 2019-12-13 02:26:33
问题 I've just reconfigured my iOS Cordova splashscreen to Launch Storyboard in order to support iPhone X. This works, but now I have a white flash between the launch storyboard and the first screen of the app. I assume this is because the splashscreen is hidden before the viewport has fully loaded. Also my configurations not to automatically hide my splashscreen or to display it for 2 minutes are completely ignored. Why is this happening? preference name="SplashScreen" value="splash" />

IBM Worklight 6.0 - Is it possible to have a common config.xml for all environments?

假如想象 提交于 2019-12-13 02:19:10
问题 Using Worklight 6.0 on Eclipse Juno. Problem is when I build Worklight project for all environments, config.xml is generated accordingly. Now, I have to make changes every time for Android & iPhone/iPad I have to manually add all the plugins list into it. Is there any way that I can add it once in config.xml and have it used everywhere every time? 回答1: The config.xml files for Android and iOS contain different structure and contents, so the answer is: No. You cannot have 1 config.xml for both