phonegap-plugins

Angular 2 items don't update when changed from phonegap notification dialog

*爱你&永不变心* 提交于 2019-12-12 02:51:56
问题 I am building an phonegap app with angular2. I want to show a confirmation dialog and in success callback to update elements from angular2 view. When I do this nothing happens right away, but if I update other model on the page (what is linked with angular) my update is updated. For confirmation dialog I use phonegap plugin: cordova-plugin-dialogs and the method called is: navigator.notification.confirm(...) . Here is my full code of my Component: AboutComponent = ng.core .Component({

Facebook login responce : Not Get Users details except (Id and name)

僤鯓⒐⒋嵵緔 提交于 2019-12-12 02:50:16
问题 Facebook login responce not getting user's all Details like email, firstname, lastname. Its works fine in Facebook Graph API v2.0 but not in v2.4. I am using this plugin for PhoneGap application. this repository from https://github.com/phonegap-build/FacebookConnect if (response.authResponse) { facebookConnectPlugin.api('/me', null, function (me_response) { var username = me_response.email; var firstname = me_response.first_name; var lastname = me_response.last_name; var ExternalIdentifier =

Numeric keypad 8 and 9 crashes app - KnockoutJS + Cordova

爷,独闯天下 提交于 2019-12-12 02:13:17
问题 I am facing a strange issue in my project. I have used KnockoutJS for creating my UI. I am using latest version of Android Cordova. I have defined an HTML input type number in KnockoutJS <input maxlength="3" type="number" data-bind="maxLength: maxLengthSeats" placeholder="seats" /> However, when I run my app on Android device, the numeric keypad opens but when I enter either 8 or 9, my app crashes. There are no errors or logs. The app just stops with a white screen and I see the home screen

cordovawebviewclient cannot be resolved to a type

ぐ巨炮叔叔 提交于 2019-12-11 23:51:51
问题 I am working on cordova application(Phonegap). I am using the following method in my Android main.java protected CordovaWebViewClient makeWebViewClient(CordovaWebView webView) { appView.setOnKeyListener(new View.OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) {} });} In previous projects it is working fine, but in the new project it is saying "can not resolve symbol CordovaWebViewClient". Don't know why. I am having trouble with it. Is it because of the

Getting PhoneGap plugins working

流过昼夜 提交于 2019-12-11 23:13:55
问题 I've created my first phonegap app yesterday following the tutorials and using the PhoneGap Developer App. Now I'm trying to get plugins working, I'm not sure if I'm missing a step somewhere or doing it completely wrong. On OSX, I installed nodejs using brew install nodejs followed by sudo npm install -g phonegap . After phonegap was installed, I created a sample project phonegap create sample-app followed by cd sample-app and phonegap serve . I can now see the sample app inside the phonegap

facebookConnectPlugin is not defined - PhoneGap Build & Android

你说的曾经没有我的故事 提交于 2019-12-11 22:41:48
问题 I was able to get the facebookConnectPlugin working on iOS using PhoneGap and Ionic. The issue is that when I try to run the exact same app on Android I get the error "facebookConnectPlugin is not defined" . I'm using PhoneGap Build and am not building natively for Android. Here are the steps I've taken to try to get it working on Android: 1) Generated a new keystore. "C:\Program Files (x86)\Java\jre1.8.0_60\bin\keytool.exe" -genkey -v -keystore debug.keystore -alias androiddebugkey -keyalg

Phonegap BarcodeScanner plugin could work in Android project

可紊 提交于 2019-12-11 20:07:53
问题 I have tried to integrate the BarcodeScanner plugin to one of my Phonegap project of Android. I have even done all the thing step by step as the tutorial provided by github. The library has been imported,BarcodeScanner.java file has been imported, barcode.js has been imported, activity has been added to AndroidManifest.xml the config.xml in res path has been also modified. When I test my app with eclipse, I have gotten the error below. By the way, I have used phonegap 2.9 and my code for

Phonegap build - Facebook connect plugin - Invalid android_key parameter error

别说谁变了你拦得住时间么 提交于 2019-12-11 19:50:11
问题 I'm running example code (found below) through phonegap build to produce an android apk. https://github.com/phonegap-build/FacebookConnect/blob/master/example/Simple/index.html When I try to log into facebook through the app on an android device (with the facebook app installed), I get this error: Invalid android_key parameter J4INwYsuTyQ_LJc1d3WZ2HReg7M does not match any allowed android key. Configure your app key hashes at http://developers.facebook.com/apps/'app id' I have copy-pasted

PhoneGap Build + Cordova + ChildBrowser Error

走远了吗. 提交于 2019-12-11 19:47:38
问题 Here is my code: <script src="include/cordova.js" type="text/javascript"></script> <script src="include/sencha-touch-all.js" type="text/javascript"></script> <script type="text/javascript" charset="utf-8" src="include/childbrowser.js"></script> <link href="include/sencha-touch.css" rel="stylesheet" type="text/css" /> var childBrowser = null; if (navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/)) { document.addEventListener("deviceready", onDeviceReady, false); } else {

PhoneGap file transfer plugin parameters to ASP.NET service

混江龙づ霸主 提交于 2019-12-11 19:27:31
问题 I want to pass parameters from the PhoneGap file transfer plugin to an ASP.NET MVC web service. So I prepared Params in JavaScript : var Params = {}; Params.Order = $("#Order").val(); alert($("#Order").val());//It works it is not null Params.latitude = $("#latitude").val(); Params.longitude = $("#longitude").val(); options.Params = Params; ft = new FileTransfer(); ft.upload(sPicData, encodeURI("../Mobile/UploadPhoto"), win, fail, options); Now I want to acces the Params from my ASP.NET MVC