Developing apps for TI SensorTag made easy
Posted: 09:34, 31 Oct 2014
Evothings looks great so I got stuck in using this README
https://github.com/divineprog/evo-demos ... ISensorTag
Running the included apps worked fine but I the whole idea was to be able to roll my own. The 2 approaches I tried failed. This may be my wrong reading of the instructions or maybe they are no longer correct?
1. Running the app using Evothings Studio
"Drag and drop index.html into the Evothings Workbench running on your computer"
I have the workbench running but it has no drop area so what do you mean by "into the Workbench"
2. Drag and drop index.html into the Evothings Workbench running on your computer
I already use cordova so I thought this would be simple
the link to "Evothings Build Doc" is broken
so I did:
cordova create
moved in the index.html from the above example
added ble.js and ti-sensortag.js and referenced them from index.html
cordova build
adb install
This gave me a running app but a completely static one (none of the javascript executing and nothing on adb logcat).
Looking at the code I do not see why it doesn't start. Maybe there was something in the "Build Doc" that I need to do.
3. Modifying the included examples
Did not see anything to explain how to copy and modify the examples and have the modified one executable from the studio.
Any suggestions appreciated. Thx. Paul
https://github.com/divineprog/evo-demos ... ISensorTag
Running the included apps worked fine but I the whole idea was to be able to roll my own. The 2 approaches I tried failed. This may be my wrong reading of the instructions or maybe they are no longer correct?
1. Running the app using Evothings Studio
"Drag and drop index.html into the Evothings Workbench running on your computer"
I have the workbench running but it has no drop area so what do you mean by "into the Workbench"
2. Drag and drop index.html into the Evothings Workbench running on your computer
I already use cordova so I thought this would be simple
the link to "Evothings Build Doc" is broken
so I did:
cordova create
moved in the index.html from the above example
added ble.js and ti-sensortag.js and referenced them from index.html
cordova build
adb install
This gave me a running app but a completely static one (none of the javascript executing and nothing on adb logcat).
Looking at the code I do not see why it doesn't start. Maybe there was something in the "Build Doc" that I need to do.
3. Modifying the included examples
Did not see anything to explain how to copy and modify the examples and have the modified one executable from the studio.
Any suggestions appreciated. Thx. Paul