Cordova App with BLE functionality
Posted: 19:01, 30 Oct 2014
Hi team!
Im trying to develop a new app which can detect ibeacons. I've got a box with 3 estimote beacons and a PHP webapp hosted in my server. This webapp works like a charm through the evothings iphone and android apps, It detects the beacons as expected and Im the happiest person in the world when this happens
. In the other hand, I made my own android app with cordova, added the BLE plugin and loaded the content of my webapp from my server. It doenst detect any beacons
.
Im starting to think that the problem is that im loading the content from a server instead of setting my html and js files inside the app built, but I really need this because my webapp requires PHP and a public database.
The way Im calling my webapp is through the config.xml file:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.javifeo.myApp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>myApp</name>
<description>
Lorem ipsum sit amet
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="http://urltomywebapp" />
<access origin="*" />
</widget>
What am I doing wrong??
Thanks in advance team!
Im trying to develop a new app which can detect ibeacons. I've got a box with 3 estimote beacons and a PHP webapp hosted in my server. This webapp works like a charm through the evothings iphone and android apps, It detects the beacons as expected and Im the happiest person in the world when this happens


Im starting to think that the problem is that im loading the content from a server instead of setting my html and js files inside the app built, but I really need this because my webapp requires PHP and a public database.
The way Im calling my webapp is through the config.xml file:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.javifeo.myApp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>myApp</name>
<description>
Lorem ipsum sit amet
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="http://urltomywebapp" />
<access origin="*" />
</widget>
What am I doing wrong??
Thanks in advance team!