Tuesday, September 30, 2014

Singularity dev status

OK, finally got it working with no FC's and it properly detects changes to the BluetoothPAN tethering state and changes the tile status accordingly.  Had to modify the framework to send a custom broadcast intent every time the bluetooth tether state changes and add a receiver for said intent.   If bluetooth is disabled, tapping the bluetooth tether quick settings tile will enable bluetooth as well as tethering.

That makes completed projects for the next version:

  • Restored notification panel header button spacing to default
  • Removed "Settings" button from notification panel header
  • Moved "Clear nofications" button to the space previously occupied by the "Settings" button in the notification panel header
  • Added/implemented "Settings" quick settings tile to replace notification panel header button
  • Added/implemented "Brightness" quick settings tile
  • Added/implemented "Notifications" quick settings tile
  • Added/implemented "Bluetooth Tether" quick settings tile
  • Changed behaviour of "Location" tile to switch between On/High Accuracy/Power Save/GPS Only/Off

Next project will be USB tether quick settings tile.

Singularity dev status

Finally got the preliminary code up and running for the bluetooth tethering quick settings button.  I originally had this set to check for changes to the system setting that the settings panel changes when enabling bluetooth tethering but that doesn't really work very well because the setting doesn't get reset to off upon reboot.  The setting only changes when you toggle bluetooth tethering from within the settings app.  So I'm working on modifying the code to detect when there's a change in the BluetoothPAN connectivity state instead and check whether tethering is ACTUALLY enabled.  So far, rough going.  Nothing but FC after FC.  I'll get it eventually, though.