BackgroundService, Cordova and Evo_Things
Posted: 22:03, 10 Feb 2015
I am playing around with a TI SensorTag, want to use it as a datalogger.
As I do not want do all from scratch, I am basing it on Klemens Waldhör's app, that used the EvoThings demo:
http://www.heartsome.de/de/android/andr ... ensor.html
He has agreed to to let me adopt the code and put it on GitHub.
(I am cleaning up his beta a little.)
However, to be useful for me I need to run it as a background service. The same should apply for many internet-of-things apps.
Similar questions have been discussed on the forum, they seem to be focused on enable app when notification, not suitable for me.
It should be possible to let the SensorTag button appear as regular buttons to in Android.
(My goal is to let an external sensor as the TI SensorTag appear as an internal sensor, I assume that Xposed is required for this, if it is possible at all. (The ultimate goal is to get something like the stryd.com, that requires firmware changes too.))
Many of this can only be done in Android, whic´h is the only I am interested in myself, the GUI app should be possible in IOS too.
The way I have seen that this is possible is with the Red-Folder BackgroundService plugin:
https://github.com/Red-Folder/Cordova-P ... undService
The plugin is not updated after Cordova 3.1 though.
The BackgroundService has to written as a pure Android Java Activity.
Anyone with experience of the BackgroundService plugin?
Any problem with using Cordova 3.1 with EvoThings, or must testing GUI with EvoThings be separate from building real Android Cordova app?
As I do not want do all from scratch, I am basing it on Klemens Waldhör's app, that used the EvoThings demo:
http://www.heartsome.de/de/android/andr ... ensor.html
He has agreed to to let me adopt the code and put it on GitHub.
(I am cleaning up his beta a little.)
However, to be useful for me I need to run it as a background service. The same should apply for many internet-of-things apps.
Similar questions have been discussed on the forum, they seem to be focused on enable app when notification, not suitable for me.
It should be possible to let the SensorTag button appear as regular buttons to in Android.
(My goal is to let an external sensor as the TI SensorTag appear as an internal sensor, I assume that Xposed is required for this, if it is possible at all. (The ultimate goal is to get something like the stryd.com, that requires firmware changes too.))
Many of this can only be done in Android, whic´h is the only I am interested in myself, the GUI app should be possible in IOS too.
The way I have seen that this is possible is with the Red-Folder BackgroundService plugin:
https://github.com/Red-Folder/Cordova-P ... undService
The plugin is not updated after Cordova 3.1 though.
The BackgroundService has to written as a pure Android Java Activity.
Anyone with experience of the BackgroundService plugin?
Any problem with using Cordova 3.1 with EvoThings, or must testing GUI with EvoThings be separate from building real Android Cordova app?