News for hackers. Stuff that matters.
Re:Uses for an old Android device by interfaced on Tuesday August 09, 2022 @08:57AM (#32397153)
This is great! Would love to join the discord. A couple things that I'm curious about: can you make a script/app start by default, can you use a node library (murmur specifically), can you interface with peripherals (led and knobs). I'd like to turn my old androids into screen-less walkie talkies, and phonk feels like I might be able to avoid android studio, which would be a relief.
Re:Uses for an old Android device by victornomad on Tuesday August 09, 2022 @09:12AM (#32397336)
1) Yes, you can make a script that starts on device boot.

2) Sadly you cannot use node libs. The JS engine I use is pretty dated (Mozilla Rhino) and I dont have time these days to do big changes.

3) Yes, you can interface with Arduino compatible hardware via USB serial or Bluetooth / Bluetooth LE.

4) If you want to do something screen less, you can run a script as a service (background). A bunch of years ago, when the ESP modules were not common I used an Android device as a network interface for my Arduino :)

Re:Uses for an old Android device by victornomad on Tuesday August 09, 2022 @09:18AM (#32397400)
Also, here is the up-to-date Discord link https://discord.gg/Rt2mkWp