1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-18 16:09:30 +01:00
Commit Graph

10820 Commits

Author SHA1 Message Date
Andreas Shimokawa
d80e98d26a fix encoding of pebble version command, stops pebble from rerequsting our version over and over 2015-02-06 23:28:24 +01:00
Andreas Shimokawa
2793669e88 New icon 2015-02-06 14:28:57 +01:00
Andreas Shimokawa
243b9f0a88 Various changes to Service, Activity and Notification handling
- Bluetooth connection is now established in BtSocketIOThread
- Service is now started as soon as the main activity is started
- changed "start service" button to "connect" button
- quit button in service notification now also quits the main activity
- Service notification now displays "Gadgetbride started",
  "connected to Pebble XXXXX" and "not connected" depending on connection state
2015-02-06 13:55:44 +01:00
Andreas Shimokawa
ab233279e1 enable/disable BroadcastReceivers via PackageManager when Socket is connected/disconnected
This does not work with NotificationListener unfortunately.
2015-02-02 21:16:42 +01:00
Andreas Shimokawa
fafcdc1d78 Update README.md 2015-02-01 00:43:31 +01:00
Andreas Shimokawa
24c9b5b400 quit BtSocketIoThred when socket has been closed by remote, remove dead "passive mode" code 2015-02-01 00:34:12 +01:00
Andreas Shimokawa
c0bfe2f715 make quit button work by letting BtSocketIoThread actually leave its main loop, do not display "Unknown" for unknown numbers but the number itself. 2015-01-31 11:49:46 +01:00
Andreas Shimokawa
8e69723931 Added quit button to Service notification, removed unneccessary ACTION_STOP form Service 2015-01-30 11:59:36 +01:00
Andreas Shimokawa
ebf4c73e02 Added (ugly) icons.
But having ugly icons is better than having default icons....
2015-01-29 00:37:54 +01:00
Andreas Shimokawa
2880e4dac9 Native support for K-9 Mail, bugfixes for generic notifications 2015-01-26 18:52:19 +01:00
Andreas Shimokawa
94c73ef20e Receive SMS the proper way, filter them out in the generic NotificationListener. 2015-01-24 12:21:15 +01:00
Andreas Shimokawa
070c6db5ed Resolve caller names by phone number before sending to Pebble 2015-01-23 11:32:58 +01:00
Andreas Shimokawa
bf6abe9672 Quick and dirty support for incoming calls notification the Pebble way
Incoming calls are no longer send as simple notifications but properly as
incoming calls. The Pebble will vibrate until the call is taken or dismissed.

It is not yet possible to dismiss the call using the Pebble button.
2015-01-22 22:49:50 +01:00
Andreas Shimokawa
59c281c61c Reply to Pebbles version requests 2015-01-20 23:51:55 +01:00
Andreas Shimokawa
fcaf099e70 fix various annoyances
- only ask for notication monitoring permissions the on first start
- filter out annoying system messages like keyboard notifications
- rearrange buttons
- bugfix for message being ignored when sending a test message to the
  Pebble (sender was used as message content)
2015-01-18 22:44:38 +01:00
Andreas Shimokawa
88bb645834 Add ACTION_SETTIME to Service and add a corresponding button in the ControlCenter activity 2015-01-18 01:10:44 +01:00
Andreas Shimokawa
85fcdb208a Put Bluetooth communication into a foreground service and keep socket open. 2015-01-12 00:35:15 +01:00
Andreas Shimokawa
cc2b224a71 Do dot reuse BluetoothDevice, remember BT address instead and lookup the corresponding BluetoothDevice every time
This fixes problems after sleep with bluez on Android.
2015-01-09 13:45:47 +01:00
Andreas Shimokawa
dada70e92c First checkin of actual code 2015-01-07 14:00:18 +01:00
Andreas Shimokawa
8dd67b146d Initial commit 2015-01-06 00:19:03 +01:00