1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-24 22:10:55 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities
cpfeiffer a1cb246e27 Add and use a "client interface" for the actions of the service
Previously, the DeviceCommunicationService was invoked directly,
via
Intent intent = new Intent(foo, bar);
intent.setExtra(EXTRA_BAZ, baz);
startService(...);

and this was scattered throughout GadgetBridge.
Now there is a "frontend" available, so that you can call
the service more easily, like
GBApplication.deviceService().connect();

For a start, this client interface (DeviceService) actually
implements the same interface (EventHandler) as the receiving side
(DeviceSupport). This may change in the future.

This will also make testing much easier, because we can use
this client interface to invoke the test service as well.
2015-08-21 01:03:57 +02:00
..
charts Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
AbstractSettingsActivity.java fix some lint warnings, mostly simplifications 2015-05-12 20:09:35 +02:00
AlarmDetails.java Big refactoring: move classes and packages around to get a better structure 2015-08-03 23:09:49 +02:00
AndroidPairingActivity.java fix some lint warnings, mostly simplifications 2015-05-12 20:09:35 +02:00
AppManagerActivity.java Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
ConfigureAlarms.java Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
ControlCenter.java Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
DebugActivity.java Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
DiscoveryActivity.java Big refactoring: move classes and packages around to get a better structure 2015-08-03 23:09:49 +02:00
FwAppInstallerActivity.java Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
InstallActivity.java Pebble: cache installed pbw files on sdcard if force untested option is set 2015-08-11 12:04:45 +02:00
SettingsActivity.java Pebble: Emulator support 2015-08-19 00:06:15 +02:00