Bangle.js Android App

Posted on
  • Just a suggestion for the app: It would be nice to be able to define freely a couple of (REST-) URI so that Bangle apps can call the Android app e.g. URI 1 call with a=1 and b=2 like "request({1,1,2})" on Bangle. This should be easy to implement and helps people who don't want to modify the app and would open up great possibilities for new apps.

  • You mean that the android app could act as BLE http proxy to do basically any REST call to the internet via the app? like this https://www.espruino.com/BLE+HTTP+Proxy ?

  • You mean that the android app could act as BLE http proxy to do basically any REST
    call to the internet via the app?

    exact.

  • it would be nice if the android app were also in javascript (+ html + css), so that everyone can participate in the development and expansion, exactly as they are doing with the bangle.
    If it was also possible a sync / backup of the configuration files and apps for a later restore.

  • Hi,

    Initially, the plan is to let the app request a URL directly, for example request({url:"https://...."}) - I'd probably end up mirroring some existing API here (either Node's or XMLHTTPRequest).

    If you want an app that is easy to customise to different URLs then you can just create a custom.html for it to allow the user to customise it...

    The Android app's going to be just native Android, but it'll be as minimal as possible, with as many features as I can get away with implemented in HTML/CSS/JS in a WebView. Hopefully where that is loaded from will be configurable, so you'll be able to point it at your own personal GitHub pages for speedy development.

    I'm not using React Native because it seems the Bluetooth and Notification libraries in it need a bit of tweaking to do what we need - so then any contributor would have to learn Android, React Native, and also the internals of the React Native libraries - which seems a step back from just a simple Android app.

  • Sounds great. This will enable many new apps.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Bangle.js Android App

Posted by Avatar for Tx @Tx

Actions