Andreas Shimokawa
d6e5f0a9f8
bump version to 0.1.1
2015-03-16 19:26:46 +01:00
Andreas Shimokawa
2260d60bac
K-9 Mail notifications: Hopefully fix #7 and #8
...
K-9 Mail seems to completely ignore the where clause when querying for messages.
That is why we got data from the newest message instead of the one requested.
Work around by walking through the messages and match the uri manually.
This is not as expensive as I thought because in most cases it is the first
message is the one we want anyway.
2015-03-16 16:18:11 +01:00
Andreas Shimokawa
eeb74b4c61
Preferences: "Generic Notification Support" is no longer a checkbox - it now opens the Android Notificaion Permission Dialog
...
If the permission is not granted we wont get notfifications, an extra preference for
Gadgetbridge is pointless, so I removed it.
2015-03-15 21:36:39 +01:00
Andreas Shimokawa
3e4922a4eb
revert some useless changes in gradle files
2015-03-11 21:46:01 +01:00
Andreas Shimokawa
326e079068
fix crash when no Pebble was paired, change version to 0.1.0, build tweaks
2015-03-11 12:40:59 +01:00
Andreas Shimokawa
6fa99082ab
Support for rejecting/ending calls via Pebble buttons
2015-03-07 17:44:39 +01:00
Andreas Shimokawa
85ccafc922
Experiment with styling.
2015-03-07 15:32:34 +01:00
Andreas Shimokawa
4e7553836b
Workaround for non-working outgoing call display. Fixes #6 .
...
This is still a bit ugly because we cannot (yet?) detect whether remote has
taken the call or not. So we will start counting in-call time from the moment
we start dialling.
2015-03-07 14:40:59 +01:00
Andreas Shimokawa
e52e26168a
quick&dirty preference screen. Allows to enable/disable SMS/K9/generic notifications
2015-03-06 14:00:56 +01:00
Andreas Shimokawa
bc40f41eab
Do not send notifications out notification when screen is on. Also filter out "ongoing" notifications
2015-03-04 23:47:47 +01:00
Andreas Shimokawa
e0c146bde9
add notification icon. This fixes #2
2015-02-24 12:36:38 +01:00
Andreas Shimokawa
df8c290442
Implement music control (play, pause, next, previous). Try to make code a bit less Pebble centric.
2015-02-12 16:00:45 +01:00
Andreas Shimokawa
20b3dffba6
initial support for music playback information (artist, album, track), fix encoding of empty strings in PebbleProtocol
2015-02-08 23:53:40 +01:00
Andreas Shimokawa
efa7920b9d
do not disable/enable NotificationListener at runtime (leads to loss of permissions to read notifications)
2015-02-07 13:20:38 +01:00
Andreas Shimokawa
a47ba3c96f
Cleanup main Activity, move debug code to DebugActivity, added Call related debug buttons, add state tracking to PhoneCallReceiver, support in-call display of incoming calls (untested)
2015-02-07 12:58:18 +01:00
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
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