Questions tagged as 'apache-cordova'

2
answers

Run callback when closing android keyboard

I have an app running with Cordova and Ionic. In this app I would like to perform an action on a certain controller when the keyboard completely closes. Today I'm using cordova.plugins.Keyboard.close(); . The keyboard normall...
asked by 04.08.2015 / 20:31
2
answers

How to use the audio tag in PhoneGap?

I'm trying to play an .mp3 file as follows: <audio src="sound/som.mp3" autoplay></audio> When I open the .html file on my PC, the audio plays normally, but when I compile using phonegap, and I open the android, nothing happens....
asked by 04.05.2015 / 20:49
2
answers

After ajax action, data is not saved in the mysql database

I am capturing latitude and longitude through the Cordova plugin, and after that I store it in two variables and then, through an ajax request, I transfer these values to a PHP script where I am saving the data to a table called a map. The probl...
asked by 04.11.2015 / 23:52
2
answers

Problems using Phonegap

I'm trying to use Phonegap for the first time, but I'm having problems. I already had NodeJS installed, I was able to install Phonegap with npm install phonegap with no problems. Then, as suggests , I created an app with phonegap c...
asked by 27.08.2014 / 20:54
4
answers

External Connection JSON WebService

I have a webservice in PHP feeding data from a array via JSON , to read in an HTML file. When I run the application having $.get with a local file it works, but when I change the path to read the same file on my server, it...
asked by 02.07.2014 / 02:35
1
answer

What database types can be applied to a mobile app using apache cordova?

I wonder if it's possible to build mobile apps with a database using Apache Cordova, and if it's possible to also integrate with a database in another location, like an external database that sends data to the app ( nothing too much like most ap...
asked by 10.02.2014 / 21:29
2
answers

No Access-Control-Allow-Origin header is present on the requested resource. Origin 'null' is therefore not allowed access. - Phonegap [duplicate]

I have read about this method json and I just do not understand and do not know what to fix, I'm using another domain to get json. Here is my code: $(function(){ var url = "http://website.com/json.php"; $.getJSON(url, function(res...
asked by 11.09.2017 / 17:02
1
answer

Add plugin phonegap / cord

Hi, guys. I'm trying to develop an APP on phonegap for Android and iOS. The purpose of the APP is: 1) The person will have a button to access the device's camera. 2) When the photo take screen of the device appears, you should have an imag...
asked by 12.12.2015 / 22:35
1
answer

How to bypass Same-Origin Policy and consume a SOAP webservice with JavaScript

I am building a mobile application using PhoneGap for iOS, Android and Windows Phone and need to connect to a SOAP webservice for various application features. I've been trying to do this with Ajax, but I always have the same problem: hit Sam...
asked by 21.09.2015 / 11:42
1
answer

How to run my project Phonegap Cordova on a mobile phone with Android 2.3.6?

Hello, I'm developing a game with html5 and javascript like tcc. I am using the cordova to generate versions for different platforms, I have several androids devices to test the project, however only with the command "cordova run" run the projec...
asked by 12.07.2015 / 07:57