UmerCodez/SensorServer ? reverse-engineered prompt

Reverse engineered prompt

Build me an Android app that turns the phone into a live sensor server. I want it to show the available sensors on the device, let me start and stop streaming, and expose the data over a WebSocket connection so other devices or scripts can connect and read it in real time.

The app should support multiple clients at once, and different clients should be able to subscribe to different sensors like accelerometer, gyroscope, GPS, light, pressure, and other built in sensors the phone has. It should send JSON messages with the sensor values, timestamp, and accuracy, so a client can parse it easily. Add a simple dashboard inside the app to see current connections and the list of sensors, and make it feel clean and modern. If anything about the sensor names or WebSocket behavior is unclear, look up the current Android docs online and follow the usual approach.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab