cpfeiffer
be52724fdd
Also commit leftover
2015-05-10 21:19:24 +02:00
Andreas Shimokawa
c8feea9f37
Refreshing device list when paired devices change now works.
...
I was using LocalBroadcastManager.... :/
2015-05-10 17:05:24 +02:00
Andreas Shimokawa
0d77a5ac05
Try to refresh device list if BluetoothDevice.ACTION_BOND_STATE_CHANGED is received.
...
On my Android 4.4 device, this does not work however (no Intents arrive)
2015-05-10 16:56:09 +02:00
Andreas Shimokawa
7f5b495480
Move Mi Band MAC address setting to Mi Band Settings
2015-05-10 13:08:28 +02:00
cpfeiffer
1604ae2c22
#33 only start discovery activity when bt is enabled
2015-05-07 22:15:53 +02:00
cpfeiffer
0c039b8a46
Start discovery activity automatically when no devices available ( #33 )
2015-05-06 22:59:31 +02:00
cpfeiffer
9df661bd96
Initial (ugly) support for device discovery and pairing ( #3 )
2015-05-05 00:48:54 +02:00
Andreas Shimokawa
f143c9ec54
androidstudio vs. eclipse :/
2015-05-01 01:49:43 +02:00
cpfeiffer
8b3b4d0882
#46 make all strings localizable
2015-05-01 01:26:30 +02:00
Andreas Shimokawa
613ff1fc91
Pebble: corrections to PebbleIoThreads, better logging
2015-04-26 00:54:41 +02:00
cpfeiffer
c773181da3
Request and display device info (connection state and firmware version)
...
- request device info initially (connection state)
- request device info (firmware) when connected
This also fixes the wrong connection state being displayed on
orientation change.
2015-04-24 23:09:35 +02:00
cpfeiffer
cf681a089a
Add the device if it's not in the list yet.
2015-04-22 20:38:05 +02:00
cpfeiffer
1e3ba57b03
fix unpaired MI devices disappearing from view ( #15 )
2015-04-20 23:25:46 +02:00
Andreas Shimokawa
412c771d59
fix crash
2015-04-20 20:48:52 +02:00
Andreas Shimokawa
a12a76313c
do not append Miband to device list if it has already been added as the connected device before
2015-04-20 19:32:12 +02:00
Andreas Shimokawa
fbbc808ca8
Make GBDevice parcable to make passing it via Intents more convinient
2015-04-20 11:58:59 +02:00
Andreas Shimokawa
cd0139cd7c
add isConnecting() method to GBDevice
2015-04-20 10:50:30 +02:00
cpfeiffer
28272714aa
remove whitespace
2015-04-19 21:50:01 +02:00
cpfeiffer
54784100b8
use isConnected() rather than getState() == CONNECTED
...
because getState() == INITIALIZED implies CONNECTED
2015-04-19 15:56:32 +02:00
cpfeiffer
7b4c7926d3
Listen to device_changed in addition to refresh_device_list
2015-04-19 15:09:27 +02:00
Andreas Shimokawa
b74319fee9
Make list refresh automatically when Miband MAC was entered or removed. Update README.md
2015-04-19 12:35:23 +02:00
Andreas Shimokawa
13d734b0f1
add development option to set a miband device address so it appears in our list.
...
This is only meant for future development, there is no MI Band support yet!
2015-04-01 23:00:05 +02:00
Andreas Shimokawa
ed2e177fcb
Remove direct PebbleProtocol usage. Add GBDeviceProtocol as a base class for all protocols.
...
Also add a empty MibandProtocol
2015-04-01 18:34:52 +02:00
Andreas Shimokawa
9d74cee093
add icons for pebble and watchfaces. Store app type in GBDeviceApp. Store device type in GBDevice.
2015-03-31 23:34:19 +02:00
Andreas Shimokawa
4117444c26
Display app name, company and version when opening a .pbw file from a filemanager
2015-03-28 23:23:10 +01:00
Andreas Shimokawa
b3251a33f2
show hint at the bottom of the Main Activity, update README.md, bump to 0.1.4
2015-03-27 12:33:51 +01:00
Andreas Shimokawa
b20aaf59a8
enable back navigaton in AppManager and Debug activitys ActionBar
2015-03-27 11:23:30 +01:00
Andreas Shimokawa
6ec1fa9e23
use LocalBroadcastManager
2015-03-27 10:56:08 +01:00
Andreas Shimokawa
0ccb818f58
Added AppManager, does not do anything useful yet. Only lists installed Apps.
2015-03-25 22:23:45 +01:00
Andreas Shimokawa
2e7f45433a
display connection status in the device list
2015-03-22 23:38:51 +01:00
Andreas Shimokawa
ecb7a9f3b5
Remove quit button from the service notification, put a quit item in the context menu instead. Closes #12
2015-03-22 13:10:45 +01:00
Andreas Shimokawa
79c7085264
refresh list of paried devices when bluetooth gets turned on
2015-03-22 12:46:28 +01:00
Andreas Shimokawa
05c07aa611
Get and display Pebble firmware version when connected.
2015-03-22 00:34:54 +01:00
Andreas Shimokawa
4e465928e6
List all suported devices and connect on tap. Remove the connect button.
2015-03-21 18:18:07 +01:00
Andreas Shimokawa
c56194c0e5
* Add option to start Gadgetbridge and connect automatically when bluetooth is turned on.
...
This closes #9
2015-03-17 21:41:58 +01:00
Andreas Shimokawa
85ccafc922
Experiment with styling.
2015-03-07 15:32:34 +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
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
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
94c73ef20e
Receive SMS the proper way, filter them out in the generic NotificationListener.
2015-01-24 12:21:15 +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