Hi again Theres, wrote a tutorial based on your question:
http://evothings.com/javascript-tutoria ... your-code/
Best, Mikael
Search found 256 matches
- 18:38, 25 Jul 2015
- Forum: Texas Instruments
- Topic: TI Sensortag CC2650 Demo period
- Replies: 4
- Views: 39644
- 16:23, 25 Jul 2015
- Forum: Questions and answers
- Topic: Long delay when connecting to BLE device
- Replies: 5
- Views: 52029
Re: Long delay when connecting to BLE device
Hi, what is your environment? Are you on Android or iOS? Which BLE device are you using? Is it possible for you to try out your app on different combinations of hardware, Android and iOS, different BLE devices if you many have. I experienced connecting to the TI SensorTag takes longer time on Androi...
- 16:18, 25 Jul 2015
- Forum: Questions and answers
- Topic: Codova integration with Evothings Studio
- Replies: 13
- Views: 54229
Re: Codova integration with Evothings Studio
Yes, as Fredrik says, it is great if you can have a look at the output from adb logcat. It might be that there is a JavaScript error that is not shown in the workbench log window, but is reported in logcat. If problems persist, I suggest creating a small bare-bones Cordova project and try hooking th...
- 16:06, 25 Jul 2015
- Forum: General discussion
- Topic: Reading a directory
- Replies: 2
- Views: 31377
Re: Reading a directory
Thanks for sharing your findings!
Best regards, Mikael
Best regards, Mikael
- 08:39, 24 Jul 2015
- Forum: Texas Instruments
- Topic: TI Sensortag CC2650 Demo period
- Replies: 4
- Views: 39644
Re: TI Sensortag CC2650 Demo period
Hi Theres, Here are examples of JavaScript tutorials: https://developer.mozilla.org/en-US/Learn/Getting_started_with_the_web/JavaScript_basics http://htmldog.com/guides/javascript/ http://www.w3schools.com/js/default.asp It works fine to move the JavaScript code in for instance the TI SensorTag from...
- 09:32, 23 Jul 2015
- Forum: Questions and answers
- Topic: Codova integration with Evothings Studio
- Replies: 13
- Views: 54229
Re: Codova integration with Evothings Studio
Hi Scott, Here are a couple of things to try out. Does the app work as expected when built as a stand-alone Cordova app? (That is, referring to index.html in the content tag.) Is cordova.js included in index.html? Are the plugins needed added to the Cordova project? Note that for recent versions of ...
- 08:51, 22 Jul 2015
- Forum: Questions and answers
- Topic: Native Android app starts as Evothings client
- Replies: 3
- Views: 20539
Re: Native Android app starts as Evothings client
Hello Magnus, I don't think you can set different content tags for development/production builds directly in config.xml. I would guess hooks are a way to do what you want. Cordova hooks are scripts that run during the build and makes it possible to configure things during build. For example, you cou...
- 08:09, 22 Jul 2015
- Forum: Questions and answers
- Topic: Cordova Native APP generation from TISensorTag example
- Replies: 2
- Views: 13972
Re: Cordova Native APP generation from TISensorTag example
Hi Mauro, To use adb to install an app, developer mode must be enabled on the phone and the computer needs to be trusted. Try the command: adb devices If not devices are found, check that developer settings are enabled and that USB debugging is enabled. You can also try to stop/start adb using these...
- 13:40, 09 Jul 2015
- Forum: Questions and answers
- Topic: Problem when building app (iBeacons)
- Replies: 4
- Views: 18786
Re: Problem when building app (iBeacons)
Perhaps the issue is with conflicting versions of Cordova? Latest Cordova versions introduced new package names. I see upi are using cordova-plugin-whitelist, which is for latest Cordova, and org.apache.cordova.device, which is for older Cordova versions. This could be a problem. Also you may need t...
- 13:36, 09 Jul 2015
- Forum: Questions and answers
- Topic: Problem when building app (iBeacons)
- Replies: 4
- Views: 18786
Re: Problem when building app (iBeacons)
Hi Andres, Hard to say what goes wrong. I guess you already seen this post: http://evothings.com/hands-on-guide-to-building-a-native-javascript-ibeacon-app-using-cordova/ It is a good sign that the app works in Evothings Client. Do you see any errors? Is it possible for you to have a look at the out...