# 09-14 Android Client

Instead of studying for a literature test, I thought it would be more interesting to see if the nodejs client would work on Android.

# Problem

After all, the app Termux lets you install a working version of node.js and run websites and the like from your phone. Issues came up with compiling the bluetooth module though, which is not directly compatible for android (android armv8) and does not pass the platform check. Another open question is whether the bluetooth module would even have been able to use android's bluetooth API.

# Solutions

There is a bluetooth enabled version of termux, but I still am not sure if this would have worked because it is often more for very basic functionality and does not expose the HCI socket as it does on full linux systems. Perhaps I could have worked around the platform check but android's sandboxing of apps probably would have hindered me from getting bluetooth to work.

Then I tried it again with UserLand, which actually lets you install a full Unix OS such as Debian, Alpine or even Kali Linux. Here I made it past the issues with installing the HCI socket adapter, but it couldn't get past the platform check. When I bypassed it manually, the UserLand app crashed fatally.

# Further actions

None, because I am not that interested in implementing an android client at the moment. I was just wondering if the nodejs version would be portable to android, which it happens to be partially.

Last Updated: 11/23/2020, 8:10:00 AM