Tag: cordova

Capturing native button clicks in Android phone in javascript

Is there a way by which we can capture the click of HOME and BACK button in the html file in android application using phonegap/jqtouch/javascript? I have an application for Android using phonegap. I want to capture the click of native HOME and BACK button of the Android phone in the html page to exit […]

Does The Famo.us web platform support phonegap?

I would like to integrate notifications and bluetooth via phonegap to my web app built with famo.us. Is it possible?

Cordova platform add android weird issue

I have created my Cordova app with this command: cordova create testapp com.example.testapp TestApp Then cd’d into it cd testapp and when trying to add the android platform: cordova platform add android result is below: cordova platform add androidCreating android project… Creating Cordova project for the Android platform: Path: platforms/android Package: com.optie24.optie24 Name: Optie24 Android […]

Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable

“Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.” Facing this issue while building the Cordova Project through Terminal, if I run through Android Studio I am not getting the issue what will be the root cause for this issue.

cordova run (in real) android device using command line?

According to the documentation We can run our android project on an emulator by: cordova run android or cordova emulate android But how to run a project on a real android device? thanks a lot -EDIT- adb devices list none..

Ionic plugin need to remove platform and readd platform before it work

I have package.json like this, “cordovaPlugins”: [ “com.ionic.keyboard”, “org.apache.cordova.camera”, “org.apache.cordova.console”, “org.apache.cordova.device”, “org.apache.cordova.dialogs”, “org.apache.cordova.file”, “org.apache.cordova.file-transfer”, “org.apache.cordova.geolocation”, “org.apache.cordova.network-information”, “org.apache.cordova.splashscreen”, “cordova-plugin-whitelist”, ], “cordovaPlatforms”: [ “ios”, “android” ] The root project directory does not have plugins and platforms directory, when I pull from repository. so I run “ionic platform add android”, which will create the platforms directory and install […]

Application crashed when orientation change

Actually my problem is the same as the question posted in : the same problem But there is no answer yet.. Here is the problem I got : I’ve just built an application using sencha touch & phone gap. It runs well on my galaxy tab but when I rotate it to portrait or landscape, […]

phonegap geolocation, Code 3 – timeout expired keeps popping up on some Android Devices

I am using the PhoneGap API for geolocation. I have set the enableHighAccuracy Option to “true”. Code 3, time out expired option keeps popping up, but only on some android devices and more than once while using the application. Please help me… Why is this so that it fails only on some android devices. If […]

Cordova auto update application folder

I have an offline application cordova, composed of simple html and pictures, all inserted in a sub folder (android_asset/www/app). I would like to add a second online application (android_asset/www/update/) that, check for update, download and replace the first. Is this a reasonable solution for in app synchronization? Thanks for the time

Build Error running cordova platform add android

I’m trying to create an Android PhoneGap project according to the following link: http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html But, when I run the command: cordova platform add android I get the following output: Checking Android requirements… Creating android project… [Error: An error occured during creation of android sub-project. Looks like your environment fully supports cordova-android development! Creating Cordova project […]

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