GadgetBridge/app
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
..
src Add and use a "client interface" for the actions of the service 2015-08-21 01:03:57 +02:00
build.gradle Static code analysis: run findbugs, pmd and lint at 'gradle check' #92 2015-08-15 23:02:38 +02:00
proguard-rules.pro First checkin of actual code 2015-01-07 14:00:18 +01:00