We (me and 2 other students) are using the Common Sense platform and android app for a prototype application.
We measure some sensor values on an android phone with the common sense android app.
The prototype app is an android app running on the same phone (android 2.3.5), built using PhoneGap.
We *should* be making a native app, so that we can measure everything directly on the phone, instead of measuring it,
sending data to common sense, retrieving data from common sense to use in the app.
However, using the common sense android app saves a lot of time (and we have no Android native development experience)
My question is: How long does it take before measuring a sensor value, uploading it to common sense and having that sensor
value available for GET REST requests? right now, it takes a SUPER long time for us to get a sensor value using HTTP GET requests.
for instance, we use the display_activity sensor value, but if we turn on the screen, only between 60 - 120 seconds a change happens
if we look at the sensor data that we get back from common sense.
Even with our approach this seems a VERY long time...
We perform GET requests each 5 seconds, so we expect a sensor change in two or three GET requests instead of 12 - 24 GET requests :(
I hope my question is clear, unfortunately i don't happen to have console.log outputs at the moment, will update as soon i have a good example.
Also, the unread_msg sensor seems to be working very erratically, some times this reflects my android screen activity correctly, sometimes not at all!
What could be the reason of this?