1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-12 04:59:27 +01:00
Commit Graph

236 Commits

Author SHA1 Message Date
cpfeiffer
4b241ca9eb Initial work on supporting multiple charts.
- one fragment per chart screen
- common chart code should move to fragment baseclass and the host
  Activity (ChartsActivity)

Currently it's not used, change ControlCenter to invoke ChartsActivity
instead of SleepChartActivity to test it.

WIP for #79
2015-06-23 23:03:05 +02:00
Andreas Shimokawa
bffd7f332f remove SleepChartActivityOld, as the new one is usable now ;) 2015-06-17 08:18:24 +02:00
Andreas Shimokawa
73187431b2 Use old Sleep Monitor Activity for Pebble/Morpheuz
The new one does not look good with Morpheuz data yet (samples every 10 minutes)
2015-06-13 20:37:53 +02:00
cpfeiffer
8aef92026c A new sleep chart based on MPAndroidChart 45
- supports zooming an panning
- displays labels for all x-values (= time of day)
- fix deep vs. light sleep constants
- increase activity data buffer size for Mi Band
2015-06-11 23:37:00 +02:00
Andreas Shimokawa
7d86396e30 Support CM 12.1 Music App 2015-06-02 21:48:21 +02:00
Andreas Shimokawa
41207516b1 Move BluetoothChangeReceiver to externalevents 2015-05-30 21:40:42 +02:00
Andreas Shimokawa
68b76aa5c5 Pebble: Get Morpheuz sleep data visualize through SleepMonitorActivity
This very very experimental, and needs a complete overhaul.
But it is a start ;)
2015-05-21 18:17:39 +02:00
cpfeiffer
1a7c3c42e4 Do both BT and BTLE discovery (one after another) #33 2015-05-09 23:54:47 +02:00
Andreas Shimokawa
157deff237 Send current time to device if time/timezone changes. Closes #51. 2015-05-07 23:46:18 +02:00
cpfeiffer
a23690c8e1 Initial support for Mi Band specific settings
(User info for now).

TODO: We need to have that information *before* starting a connect
2015-05-07 01:32:17 +02:00
cpfeiffer
9df661bd96 Initial (ugly) support for device discovery and pairing (#3) 2015-05-05 00:48:54 +02:00
Andreas Shimokawa
e859ece7c6 Add Support for notifications send to Pebble from 3rd party applications
This enables support for Conversations without using generic notificaion support.
Other applications could also work partly but are untested.

This commit also changes the SettingsActivity to use Comboboxes instead of two
Checkboxes for each notification source.
2015-05-04 01:03:56 +02:00
cpfeiffer
8b3b4d0882 #46 make all strings localizable 2015-05-01 01:26:30 +02:00
Andreas Shimokawa
33d86de923 move external receivers to externalevents/ directory 2015-04-20 22:39:35 +02:00
cpfeiffer
09914e6da0 #15 Initial support for MI Band
1) The MAC address has to be added manually for now (Settings -> Debug) 
2) Configure other notifications as desired
3) After doing that, restart Gadgetbridge, after that, the device should
be visible.
4) Tap it to connect
5) Try the Debug activity via the Menu to send some dummy notifications
=> Your MI should vibrate and blink

Also: add some extra files necessary to support Eclipse ADT. To be
migrated to Andmore, later.
2015-04-19 02:37:29 +02:00
Andreas Shimokawa
7c60e4b595 Pebble: Firmware upgrade support 2015-04-17 12:23:19 +02:00
Andreas Shimokawa
2c1cacedb3 Pebble: working on app installation (WIP, do not use) 2015-04-06 20:58:35 +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
d4ff94da4a Back button for SettingsAvtivity. Remove tablet specific code. 2015-03-28 20:39:46 +01:00
Andreas Shimokawa
0dacc1f9c7 make sure Intent broadcasts do not leave Gadgetbridge, add missing xml file 2015-03-27 12:13:19 +01:00
Andreas Shimokawa
b20aaf59a8 enable back navigaton in AppManager and Debug activitys ActionBar 2015-03-27 11:23:30 +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
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
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
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
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
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
8e69723931 Added quit button to Service notification, removed unneccessary ACTION_STOP form Service 2015-01-30 11:59:36 +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
85fcdb208a Put Bluetooth communication into a foreground service and keep socket open. 2015-01-12 00:35:15 +01:00
Andreas Shimokawa
dada70e92c First checkin of actual code 2015-01-07 14:00:18 +01:00