Ứng dụng này cho phép một thiết bị Android được trang bị bluetooth và gia tốc kế để di chuyển quả bóng trên thiết bị từ xa.
App refactor to use fragments, a shared view model + databinding for the bluetooth socket and data, and improved logging.
Install this app on 2 phones. Pair the phones. Then select one as meatball and other as driver. You will be able to drive the ball around phone A using the accelerometer data on phone B. BUT the app will be buggy because the fragment lifecycle isnt handled well.
This is a proof of concept to get the app working with API 34. Improvements coming soon,.