| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- SdkController/SdkControllerLib: move files in Apps' .../lib
- SdkController/SdkControllerSensor + MultiTouch: remove.
- SdkController/SdkControllerApp: move to upper folder,
we don't need the subfolders anymore.
Besides the removal/move of the file, there's no
code change in the app itself.
Change-Id: Ib35428d7b10fd6eb849c7ec343fe5a23bf60ed97
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In SdkControllerLib:
- Add an "onEmulatorBindResult" callback to the emulator
listener that indicates the result of the bind operation.
This makes it easier to create the EmulatorConnection
from within a thread and capture the success/error when
it happens.
In the apps:
- Changed to use the new onEmulatorBindResult.
- Changed the app names to make them easier to indentify
in the home launcher.
- Added the missing onPause in the legacy sensors app to
close the emulator connection (otherwise trying to restart
it fails because the port is still bound by the paused
instance)
- In fact really the legacy activities should be in
singleInstance mode.
Change-Id: Ie194a75f9babebe74c899ea9327b3e4dcfe39f41
|
|
This is just a basic app that has a background
service and an activity to start/stop the service.
The service has a binder interface (so that the
activities can control the service) and a listener
(so that the service can report to activities.)
The service automatically starts with the app and
there's a toggle for the user to turn it off/on.
The activity also reports errors from the service, if any.
There's a notification when the service is running.
which brings back to the control activity.
Change-Id: I67d37e3d905eb328f4d1f7d13fb118f4c7077b74
|