Tag: cordova

phonegap 3.1 – Unable to hide splash screen on device ready

Using phonegap 3.1 I’m trying to hide the splash screen when device is ready: document.addEventListener(“deviceready”, onDeviceReady, false); function onDeviceReady() { navigator.splashscreen.hide(); } But it returns: Cannot call method ‘hide’ of undefined The navigator object doesn’t including the splashscreen attribute. I’ve tried it on phonegap 2.9 and it works fine.

Status bar notification plugin error with Cordova

I’m trying to add the Status Bar Notification Plugin for Cordova to my Android App, but I get an error with it’s code. Here’s the problematic code: Notification noti = new Notification.Builder(context) .setContentTitle(contentTitle) .setContentText(contentText) .setSmallIcon(icon) .build(); The error is on the .build(), Eclipse tells me: “The method build() is undefined for the type Notification.Builder”

PhoneGap – Bad Performance compared to Browser on Android

I developed an application for android using jquery mobile and phonegap. I deployed the app to my device over usb. The performance of the app ist really bad, especially while scrolling a longer list. The strange thing is: The whole app runs smooth if i just open up the browser on my phone and access […]

VS2013 Cordova blank app command failed with exit code 8 error

I’ve create a new Blank App (Apache Cordova) typescript in VS2013 community edition. Running the ripple emulator works fine. But when I attempt to run the android emulator or device, then I get this error: C:\WorkspaceMobileVisualStudio\BlankCordovaApp1\BlankCordovaApp1\bld\Debug\platforms\android\cordova\build.bat: Command failed with exit code 8 C:\WorkspaceMobileVisualStudio\BlankCordovaApp1\BlankCordovaApp1\MDAVSCLI The output is: 1>—— Build started: Project: BlankCordovaApp1, Configuration: Debug Android 1> […]

Avoid android from shutting screen off while app (with Phonegap) is on

I’m programming an Android application, and I would like to do so that it doesn’t shut down the screen, ever.Pretty much like a car gps app that keeps the screen on. Would someone know how to do this with phonegap ? If its not possible in Javascript, is there an easy way to do it […]

How to redirect to local html page in phonegap android app?

I am trying to create a android app with phonegap, the first page is the login page, it queries to a server for user authentication, the server returns json string: true if the login is successful or false otherwise. I am getting the response but i am not able to redirect to next html page. […]

Android/ phonegap – Click response time slow

I am close to working out a solution courtesy of ghostCoder hinting at the idea of detecting the touch event rather than the click event. This below code is what I currently have, however something is still not quite right. It works on my homepage (very basic page), however with the actual game page it […]

Signing APK file in Cordova v-5.0 CLI is not working

i tried to add keystore properties into two files in the platforms/android directory. key.store=Users/admin/workspace/android-keystore/keystore key.alias=keystore into ant.properties and project.properties File. It worked fine in previous version, but not seems like the Cordova does not using ant in latest version. So if i run command: cordova build android –release I always get only unsigned apk. platforms/android/build/outputs/apk/android-release-unsigned.apk […]

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?

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