cordova-2.0.0

Android + phonegap +package manager

六眼飞鱼酱① 提交于 2020-01-02 16:13:10
问题 I need to write a cordova plugin to retrive the application name, version code and version name using for Android application. Please Respond ASAP... Thanks in Advance :) Here is my Code....getting Invalid Action Error Message. In My.js var AppInfo = function() {}; AppInfo.prototype.getVersionName = function(successCallback, failureCallback) { return cordova.exec( successCallback, failureCallback, 'AppInfo', 'GetVersionName', [] ); }; In AppInfo.java (Plugin) package com.cordova.plugin

Phonegap CDVViewController.h not found when archiving for distribution

心已入冬 提交于 2020-01-02 05:51:25
问题 I am experiencing this issue in version 2.2 of Cordova/Phonegap in Xcode 4.5.2 . This is a new project - so right off the bat without anything in the www folder modified. When I build in Debug mode everything goes fine. When I try to build for archiving in distribution mode (AdHoc or App store) I get this error: 'Cordova/CDVViewController.h' file not found Is there any further information that I can post to help clarify the situation? I have tried starting from scratch several times (as per

Phonegap - Error - Keystore alias not recognized

空扰寡人 提交于 2020-01-02 02:12:08
问题 I am strugging to sign an Android app using Phonegap Build I get the following error: Error - Keystore alias not recognized I am using this to create the keystore in my terminal: keytool -genkey -v -keystore name.keystore -alias alias -keyalg RSA -keysize 2048 -validity 10000 -storepass password What should I be using for the 'name' and 'alias', am I missing something? Thanks. 回答1: Try this way. https://github.com/amirudin/build/wiki/Android-Signing If the alias is not recognized, the alias

how to use iscroll javascript in phone gap?

瘦欲@ 提交于 2019-12-28 05:45:10
问题 I have tried implementing the iscroll java script for my application as a remedial process for the CSS position:fixed that does not work in android 2 and 3 versions using cordova 2.1.0 I have copied the javascript of iscroll-lite from here html code <div id="wrapper" class="wrapper"> <div id="wrapper-container" class="wrapper-container"> <div id="header" class="header"> <div id="header_title" class="header_title"> </div> <div id="abc" class="abc"><img src="img/abc.png""/> </div> </div> <div

phonegap error: log Tag:dalvikvm, Could not find class 'android.webkit.WebResourceResponse'

喜欢而已 提交于 2019-12-25 03:04:23
问题 Use cardova 2.0.0. After Compilations app show error: Could not find class 'android.webkit.WebResourceResponse', referenced from method org.apache.cordova.CordovaWebViewClient.generateWebResourceResponse. android:minSdkVersion="8" uses-permission - All config.xml is. What do I do? 回答1: Nothing, ignore the log. I believe in 2.1.0 Joe is guarding against the method not being around so it should go away. 来源: https://stackoverflow.com/questions/12042784/phonegap-error-log-tagdalvikvm-could-not

Change the color of the iPhone keyboard (working with Phonegap/Cordova)

徘徊边缘 提交于 2019-12-25 01:15:49
问题 As the title states: is it possible to change the keyboard color to black (some call it transparent?) when working with Phonegap/Cordova? I've googled a lot but I can't seem to find anything about it. So can it be done? Either with HTML5/jquery or in XCode? A picture of what I'm looking for: 回答1: To use a dark theme on the iOS Keyboard, you can follow this article. You can add the Objective-C code to your PhoneGap project's AppDelegate.m 来源: https://stackoverflow.com/questions/11799840/change

My app crashes in Play Console (signal 11 (SIGSEGV), code 1 (SEGV_MAPERR))

ぐ巨炮叔叔 提交于 2019-12-24 10:46:57
问题 Android app (hybrid app built on cordova) recorded more crashes in Google Play Console, signal 11 (SIGSEGV), code 1 (SEGV_MAPERR). crash happening only in production app pid: 0, tid: 0 >>> My App package name <<< backtrace: #00 pc 000000000147a832 /data/app/com.android.chrome-HY_VMhbJ0-Nzo6iNC_o1EA==/base.apk #01 pc 0000000000000000 <unknown> I had checked below links also but no use android Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9 in tid 27173 signal 11 (SIGSEGV), code 1 (SEGV

cannot remove Cordova plugin

白昼怎懂夜的黑 提交于 2019-12-24 06:14:30
问题 I'm using the following command to remove an unused Cordova plugin: $ cordova plugin remove cordova-plugin-facebook Uninstalling cordova-plugin-facebook from android Uninstalling cordova-plugin-facebook from its Its giving me the following error: Error: Uh oh! Path must be a string. Received undefined How do I resolve the problem or remove the plugin by hand? 回答1: I'm guessing that on the line: Uninstalling cordova-plugin-facebook from its That last word should be ios ? If so, the ios

cannot remove Cordova plugin

99封情书 提交于 2019-12-24 06:13:20
问题 I'm using the following command to remove an unused Cordova plugin: $ cordova plugin remove cordova-plugin-facebook Uninstalling cordova-plugin-facebook from android Uninstalling cordova-plugin-facebook from its Its giving me the following error: Error: Uh oh! Path must be a string. Received undefined How do I resolve the problem or remove the plugin by hand? 回答1: I'm guessing that on the line: Uninstalling cordova-plugin-facebook from its That last word should be ios ? If so, the ios

cannot remove Cordova plugin

ぐ巨炮叔叔 提交于 2019-12-24 06:13:12
问题 I'm using the following command to remove an unused Cordova plugin: $ cordova plugin remove cordova-plugin-facebook Uninstalling cordova-plugin-facebook from android Uninstalling cordova-plugin-facebook from its Its giving me the following error: Error: Uh oh! Path must be a string. Received undefined How do I resolve the problem or remove the plugin by hand? 回答1: I'm guessing that on the line: Uninstalling cordova-plugin-facebook from its That last word should be ios ? If so, the ios