Android Things - OTA via bluetooth? - bluetooth-lowenergy

I haven't had much success searching for this. I'm developing an Android Things application that will connect to a user phone to do certain things. I want to use this for delivering app updates as well.
So far, my crude searches on this have just discussed OTA via the Console and thus internet.
My gut has said that I could just build this - I could have a new version of the APK, transfer it to my device via bluetooth, and then just have the device copy it over the old one and reboot. But, not sure. I was hoping maybe there was an API for this and I'm just not wise enough to know how to find it via the searches.

Related

HERE offline maps update from PC

I'm using HERE SDK on an Android heads up display device which only has a Bluetooth link to the internet. This internet link is therefore very slow, and somewhat unreliable.
Traffic and even live maps information seems to work pretty well, however it's impossible to update offline maps with this, they're too large and time out.
The device appears as a USB drive when plugged into pc which has the here maps offline cache folder directly visible. I've been able to test that copying the cached offline maps folder downloaded by a different here maps app on Android onto the device works to update the maps, but it's very slow and tedious.
Is is possible to update the offline maps cache from any web service / desktop app outside of the Android/iOS sdk libraries?
Currently, there is no way to store the offline maps data into PC storage and we have to use mSDK Premium version to use the offline mode based on the offline maps data.
Additionally, the downloaded offline maps data needs to be updated when there is a new version in the HERE backend server and it is handled by HERE mSDK.

How to get a tessel microcontroller to connect to firebase

I am trying to connect my tessel to firebase, and I have tried everything. Is anyone else having a similar problem? I have read that the tessel uses different web sockets than firebase, but I am really new and don't know much about that. Could anyone help me out?
Glad to hear that people are interested in using Firebase with the Tessel. I'm one of the Firebase engineers who has been working with the Tessel folks to make this happen. There are two Tessel Forum posts that give some more detail on the problem:
Firebase cannot be compiled by Colony
Websockets on Tessel
The Firebase node packages uses faye-websockets, which the Tessel compiler couldn't support. We got nodejs-websockets to compile, and built a version of the Firebase library to test the concept. I was able to read and write from Firebase using the Tessel, but we were very hesitant to release a separate version of Firebase to NPM just for use on the Tessel, especially since nodejs-websockets is not as well maintained as faye-websockets. I then spent an evening working with the Tessel folks to get faye-websockets working, and it now compiles, with the changes sitting out on a branch (tessel/runtime/JH-HTTPParser). I don't have a timeframe on these getting merged into Master and being shipped out to production, but I know there are a good number of SSL and websocket based API's who are waiting on these changes to hit the main branch.
TL;DR: Firebase compiles on the Tessel (you can build the code off the above branch), and it can either read or write (not both at the same time). When I get some more time, I will be debugging Tessel + Firebase to get this working correctly.
With the acquisition I haven't had much time to try. Last time I checked, things were compiling and running for some operations (I haven't tested everything) if we used a non-minified version of the Firebase library (not currently provided to end users). The issue here is that the minification puts all the variables in the same line, and the Tessel Lua VM would complain that there were more than 200 variables and wouldn't like it. I can play around with it some over the next week and see where things are, otherwise I can ping Jon and the Tessel folks to see how we can best move this issue along.
I am using SynergyKit for realtime communication. You can download Node.js library, which is fully supported by tessel platform and using websocket library, which is one of few libraries written in pure javascript.
You will be able to live observing all data in collections and sending messages. There is documentation for Node.js.

in need for good tutorial on deploying ad-hoc

I'm writing an iphone application that sends email, sms and make phone calls.
since I can't test from the simulator that any of the code I wrote actually work, I'd like to deploy the application on my iphone without a developer license.
After searching the web and similar questions here I'm still looking for dummies tutorial (step 1...step 2...), can anyone refer me to one
thanks
TestFlight provides an easy ad-hoc distribution system for testing apps. It's easy to add devices and their documentation is very helpful. Their website is https://testflightapp.com/dashboard/. And here is a great step-by-step tutorial http://mobile.tutsplus.com/tutorials/iphone/testing-with-testflight/.

Web page to access bluetooth device

I have made an asp.net application designed to manage and optimize warehouse statistics info. The user had to collect and enter all the info manually so I thought it would be way better to get use of some bar code devices that uses bluetooth for communications to get that info on an automated process.
So I developed an Internet explorer extension that managed the page requests for the bluetooth device and made posts inside a control container with the data.
The fact is that this extension gives me plenty of problems, having to redo the pairing of the devices every now and then as it looses it's functionality after some unknown event. I don't know if it has to do with windows updates or accounts management and rights.
Does anyone knows an alternative, that would be more stable? Perhaps with Java?
Cross-browser would be a plus. In fact I'm headed at mobile devices using android. For the moment, only windows tablets are compatible.
Thanks.
if you are targeting windows tablets, why not using HTML5+Phonegap. This might help.
http://phonegap.com/blog/2012/10/30/announcing-apache-cordova-support-for-windows-phone-8/

Managed library / component / api for Windows Mobile WiFi management and control?

Does anyone know of a commercial or free .NET CF library/component/api that I can use within my Windows Mobile 6 and .NET CF 3.5 application?
I need to: enumerate the list of available WiFi networks in range, connect and disconnect specific SSIDs/networks in the list, and manage switching between SSIDs programatically (e.g. I'm currently connected to "public1" and want to switch to "public2" to do some stuff, and then switch back to "public1").
I have tried the OpenNETCF library for this and it somewhat works, but it's crashing quite often with Native Exceptions, which I can't handle with a catch() in my C# code so they bubble up to the end user and they get a nasty windows crash screen with the "send" and "don't send" buttons.
OpenNETCF forums seem to be dead, with lots of posts but no replies to most of them, and the last release from those guys was way back in March 2009.
Last I remember the OpenNETCF code was decent and worked without any issues on a number of devices I tried it on. I certainly don't remember getting native exceptions from it.
Is it possible that you're working on a customised platform? It is possible that the real issue might be due to modifications made to your particular device / operating system.
IIRC we eventually switched to Summit cards for hardware or cost reasons which uses a different API but obviously an API that would only work with Summit cards.
I'm afraid I don't know of any other alternatives atm. Sorry. :(

Resources