Tag: cordova

How to play song in Android – phonegap

A month ago I started working with phonegap, html5, css3 and jQtouch. I am working on an application and I need to play sound in the application. I have a serious problem with this task. First I’ve found out that I can play .mp3 files through phonegap using the new Media(…) function. I am not […]

getting Error: spawn EACCES while ionic build android in ubuntu 14.04

i developed one project in ionic2 while i am doing ionic build android i am getting this error my ionic info is Cordova CLI: 6.3.0 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI Version: 2.0.0-beta.36 Ionic App Lib Version: 2.0.0-beta.19 OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Node Version: v4.4.7 I searched in google but no […]

How to combine Cordova, Crosswalk and Ionic framework

I’m trying to create a mobile application which combine the above projects and I’m not sure how should I do it. Here are 2 options which I found: Use https://github.com/MobileChromeApps/mobile-chrome-apps – My problem with it is that it seems that it’s not production ready. (I was told that it is but I can’t find any […]

How to remove Crosswalk from a Cordova project?

I have added Crosswalk to a cordova project, it works ok. But I wanted to remove it to do some tests, but I can’t find out how. I tried to remove the following line android.library.reference.2=org.apache.cordova.engine.crosswalk/xwalk_core_library from the project.properties file but the build process crashes. Any help? Didn’t find it in the documentation.

Cordova android build fails immediately

I am just getting started with with Cordova ( PhoneGap ) and trying to build my first project with it, however I am running into a problem with my compilation step- when I try to build ( in tracking down the problem I broke down the build step into prepare and compile and the former […]

How to send/receive push notifications from ionic mobile app?

I have a messaging app built using the Ionic framework (on cordova). I plan on building this for android, and I’d like a way to send and recieve push notifications from the app using javascript/ionic. Are there any good tutorials out there on how to go about setting something like this up?

How to get city name from latitude and longitude in phone gap?

I am able to get get full address from current latitude and longitude. but how can I get only city name from full address. this is my code. var geocoder; geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(latitude, longitude); //alert(“Else loop” + latlng); geocoder.geocode({ ‘latLng’: latlng }, function(results, status) { //alert(“Else loop1”); if (status […]

phonegap build not showing splashscreen

This question has been asked in the past but none of the answers that I have found have solved the problem for me. I am trying to make a very simple phonegap app to show a splash screen and announce when it is ready. It is just a test app to work out how to […]

scrollTop not working in Android mobiles

Am developing chat functionality for Andriod mobile app, for this am using jQuery and jQuery mobile theme frontend. My problem is am trying to use scrollTop() function to append new messages in bottom. scrollTop() function working fine in all browsers but in Andriod it is not working.. any one have any idea regarding this. Here […]

whitelist not working ionic with crosswalk

I created a working app using ionic. there was no problem with fetching data from my site and everything was good. I then went to add crosswalk to it and now i get the error when i run it on my android phone: W/XWalkCordovaResourceClient():URL blocked by whitelist: http://example.com/api/ In the top level config.xml i have […]

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