Im building an Android app to interface Arduino with a BLE module from HMSoft10.
I found a tutorial online for an android app and it takes care of the connectivity and it uses 3 seekbars to send information from the android app to the BLE module. So far because the app sends 3 values, 1 for each seek bar, the class has an array declared as int[]:
Bluetooth LE Service & Characteristic Design
I found a tutorial online for an android app and it takes care of the connectivity and it uses 3 seekbars to send information from the android app to the BLE module. So far because the app sends 3 values, 1 for each seek bar, the class has an array declared as int[]:
Code (Text):
- private int[] RGBFrame = {0,0,0};
- // Then it creates variables to hold the values
- private SeekBar mRed,mGreen,mBlue;
- //Then it accesses...