Top "Cordova" questions

Apache Cordova (formerly PhoneGap) is a framework that allows developers to create cross-platform mobile applications using web technologies like HTML, JavaScript, and CSS.

Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.

I'm trying to install PhoneGap and I'm getting the following error: Error: ANDROID_HOME is not set and "android" command …

android windows macos cordova
How To Save Canvas As An Image With canvas.toDataURL()?

I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to save …

javascript html cordova canvas save
Refused to load the script because it violates the following Content Security Policy directive

When I tried to deploy my app onto devices with Android system above 5.0.0 (Lollipop), I kept getting these kind of …

javascript android cordova content-security-policy
How to create a signed APK file using Cordova command line interface?

I made a sample application named checkStatus. Now I want to create a signed APK file. So I can install …

android cordova ant
ionic 2 - Error Could not find an installed version of Gradle either in Android Studio

I create ionic 2 project and add diagnostic cordova plugin like this : ionic plugin add cordova.plugins.diagnostic npm install --save @…

cordova ionic2 android-gradle-plugin cordova-plugins
Not showing placeholder for input type="date" field

I am doing a phonegap app. When I am trying type="date" input field as shown below, it shows date …

html cordova datepicker placeholder
How do I correctly detect orientation change using Phonegap on iOS?

I found this orientation test code below looking for JQTouch reference material. This works correctly in the iOS simulator on …

javascript iphone ios cordova jqtouch
HTML5 LocalStorage: Checking if a key exists

Why this does not work ? if(typeof(localStorage.getItem("username"))=='undefined'){ alert('no'); }; The goal is to redirect the user …

javascript html cordova local-storage
'node' is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova

I am using phonegap/cordova. Everthing is installed propelry i.e cordova, phonegap, ant,sdk,jdk. But now it says "…

node.js cordova npm
Remove attribute "checked" of checkbox

I need remove the attribute "checked" of one checkbox when errors occur. The .removeAttr function not work. Any idea? :/ HTML &…

javascript jquery ios cordova jquery-mobile