Tag: cordova

Phonegap Plugin:How to convert Base64 String to a PNG image in Android

Android does not allow native apps like Phonegap-based apps to write binary files. A common application is converting Base64 Strings to Images. So, how do you go about this problem?

How do I disable Android Back button on one page and change to exit button on every other page

I am developing an Android application using Phonegap that interacts with my Drupal site. I have re-assigned the Android “Back” button to prompt the user to log off from the Drupal server however, I just want it disabled on the login page (for obvious reasons). I can get it to work but only until the […]

Failed to deploy to device while deploying cordova app to a connected device

I am developing a Cordova app in Visual Studio 2015. I have my device “HTC One – Android” is connected to my machine and when i select to run my app on a device i get the following error: Failed to deploy to device, no devices found. Below screen shot for the error in VS […]

How to implement an SQLite database in Phonegap?

I’m implementing a cross-platform app for Android, iOS, and BlackBerry. I’m using PhoneGap to produce native language versions for each platform. I want to know how to create, access, and search a SQLite database. I’ve read in the documentation that it can be created via a Javascript file but I want to know where to […]

Google play don't let me update my app

I already made a huge search and don’t know why Google Play are not letting me update my Prod app. Their error message does not make too much sense for me, actually I don’t understand for real why they are not accepting it. This is the error message: This configuration cannot be published for the […]

Cordova session cookies don't work on Android Lollipop

I develop a Cordova/Phonegap app for Android which uses session cookies to login to third party websites. For this, I do an AJAX post request (with jQuery) and then cookies are set automatically. But, when I updated my smartphone to Android Lollipop 5.0 and also the app libraries to API level 21, cookies stopped working. […]

PhoneGap 3.0 Android build Command failed to execute : ant jar

I installed PhoneGap 3.0 with Node.js and configured all the environment variables so that javac, java, and ant all work but when I do a basic app create and try to build it for Android, I get the following error: An error occurred during creation of android sub-project. Creating Cordova project for the Android platform: […]

Phone gap implementation of 'application settings'

I wanted to store some settings like username and password for my application, such that at the start of the application I would be able to do user authentication. Can anyone guide me how to achieve this using phoneGap.

VM error while Build Cordova PhoneGap

I got this error while i tried to create a Cordova PhoneGap application, and in the final step while I use the build command cordova build android I got this error: Error D:\rmapp>cordova run android Running command: D:\rmapp\platforms\android\cordova\run.bat ANDROID_HOME=D:\Android\sdk JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_71 WARNING : No target specified, deploying to device ‘’. Running: D:\rmapp\platforms\android\gradlew cdvBuildDebug -b […]

No Java files found which extend CordovaActivity. when use “cordova build”

My computer is Windows 8 64bit, i install cordova and android platform for my project, I have created my project by input cordova create hello com.example.hello HelloWorld and cordova platform add android but when i run cordova build, it show below error: [Error: No Java files found which extend CordovaActivity.] i searched the web but […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.