phonegap-plugins

iPhone Call screen note

强颜欢笑 提交于 2019-12-25 07:00:08
问题 I want to show particular note about incoming number on call screen of an iPhone. E.g. I have Jane as a contact saved in my Contacts on an iPhone. I also have a note associated with that Jane's contact, let's say that note is "Dentist". Now If I get call from Jane I should be able to see "Dentist" on call screen. I am currently using PhoneGap framework. I have been searching for it but had no luck. 回答1: This is not possible on non-jailbroken iPhone. But you can achieve it in some other way

Admob integration for phonegap doesn't show the advertise

橙三吉。 提交于 2019-12-25 03:37:28
问题 I'm experimenting with the Admob plugin for Phonegap but it is complex. I have this code but it doesn't show the advertise and I really don't know why.. Can you guys see something wrong in the code? Yes I imported the plugin. http://pastebin.com/zbEs6D7H 回答1: If you are using this plugin: https://github.com/appfeel/admob-google-cordova ( cordova plugin add com.admob.google ) you should wrap your code with deviceready event: function configAds() { var enabledAdMob = true; // easily enable

Getting Blank Black adMob ad in Cordova using Admob Plugin

天大地大妈咪最大 提交于 2019-12-25 02:18:08
问题 I am using this admob cordova plugin. I've installed the plugin in Icenium and put the javascript code in the body: document.addEventListener('deviceready', function () { if (window.plugins && window.plugins.AdMob) { var admob_ios_key = 'xxxxxxxxxxxxxxx'; var admob_android_key = 'xxxxxxxxxxxxxxx'; var adId = (navigator.userAgent.indexOf('Android') >= 0) ? admob_android_key : admob_ios_key; var am = window.plugins.AdMob; am.createBannerView( { 'publisherId': adId, 'adSize': am.AD_SIZE.BANNER,

Phonegap Plugin Behaving in a strange manner

心不动则不痛 提交于 2019-12-24 20:42:59
问题 I have implemented Phonegap Plugins for v1.0.0. Please have a look at my HTML code /**** HTML FILE ****/ <!DOCTYPE html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum- scale=1.0, user-scalable=no;" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <script type="text/javascript" charset="utf-8" src="phonegap-1.0.0.js"></script> <script type="text/javascript" charset="utf-8" src="system.js"></script> <script type="text/javascript">

Cordova-plugin-camera is not being loaded; failed version requirement for cordova-android version: >5.0.0-dev

社会主义新天地 提交于 2019-12-24 16:35:24
问题 I'm using Netbeans 8 to build Cordova app (and am new to it) using the standard method of selecting the standard plugins to use through the Netbeans cordova config. When I build on Netbeans, the build is successful but the camera plugin is removed. The build output says: Installing "cordova-plugin-camera" for android Running command: cmd "/s /c "C:\test\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "C:\test\platforms\android\cordova\version.bat" Plugin

PhoneGap Build: Plugins not working (getting “undefined” errors) on Android

本秂侑毒 提交于 2019-12-24 16:25:00
问题 I've got a really nasty problem here. Every time, I try to use the file and file-transfer plugins in my project, I get the Uncaught TypeError: Cannot read property 'dataDirectory' of undefined error while trying to get the data directory with store = cordova.file.dataDirectory; . Now, I've been trying to solve my problem for hours, but I couldn't find any help. I'm also using the Barcode Scanner plugin in this project an it's working like a charm. I am using PhoneGap 3.6.3 and jQuery Mobile 1

How to use Cordova InAppBrowser into a HostedWebApps?

感情迁移 提交于 2019-12-24 15:42:43
问题 I have a website with 2 mobile-apps displayed with Cordova, and they works really great. But I have a problem : When an external link is triggered by the user, he go out of the application and don't have any possibility to come back on the App... (except close and reopen). I have installed inappbrowser according to this tutorial. Sounds very simple but not working... Console : cordova plugin add cordova-plugin-inappbrowser Link (supposed to trigger InAppBrowser - not working) : <a href="#"

Cordova calendar plugin for Windows Phone 8

寵の児 提交于 2019-12-24 12:29:05
问题 I am looking for a cordova plugin to add events to Windows Phone 8 calendar. There is no plugin on cordova plugin registry. My workaround was to write native plugin- public void addCalendarEvents(String str) { string[] calendarValues = str.Split('|'); SaveAppointmentTask saveAppointmentTask = new SaveAppointmentTask(); int appointmentYear = Int32.Parse(calendarValues[3]); int appointmentMonth = Int32.Parse(calendarValues[4]); int appointmentDate = Int32.Parse(calendarValues[5]); float

phonegap plugins 5.1.1 cli don't work

纵然是瞬间 提交于 2019-12-24 12:12:50
问题 I solved the problem: "I forgot to read the FAQ. Now, I read it and it worked. The problem was I was uploading the full project of phonegap instead www directory + config.xml" I am using Phonegap 5.1.1 cli and when I tested my App with Phonegap Developer App, all plugins such as Dialogs plugin or camera work, but when I compiled the App using Adobe Phonegap Build and installed on the phone, I pressed up a button and the dialog doesn't work: I have this code on my config.xml: <?xml version='1

Installing a PhoneGap plugin: BarcodeScanner

自古美人都是妖i 提交于 2019-12-24 11:50:13
问题 I want to install the BarcodeScanner plugin in a PhoneGap project. I've read the Readme within the repository and it says that it must be installed with PlugMan like so: Install a plugin ---------------- $ plugman install --platform <platform> --project <directory> --plugin <plugin> [--variable NAME=VALUE] Parameters: - platform <platform>: One of android, ios, blackberry10, wp7 or wp8 - project <directory>: Path reference to a cordova-generated project of the platform you specify - plugin