Conversation
…tasource. Track sorting by usage.
…ns on wearable and handset.
…e in short intervals.
…into android-wear
Fixed WearTickButton calendar date. Fixed chart updates in week stats.
Some layout improvements.
Bumped version.
|
Please update |
f82146a to
cb09ca1
Compare
|
Thanks alot for the PR. I still have a few questions. |
|
I guess you could refrence classes and assets from the tickmate package, but it seemed to be more structured that way. |
|
So I tried to run both apps with two paired emulators. Pairing with the Android Wear app works, but running Tickmate on the watch emulator only shows a loading animation and the following entry in the log files: Any hint? Oh, and have a great new years eve :-) |
|
As for the warning: Normally this shouldn't be a concern, but adding the wake lock permission to the Manifest of the wear module should clear the warning. Running with a handset(emulator) and watch(emulator) setup won't work. You need the Android Wear app from Google Play as well as the Google Play Services and those aren't available on an emulator. |
|
Okay, I got it to work with I like the navigation of the wear app. One question that comes to mind: There seams to be no "sync" between the phone app and the wear app while both are running. Would such a thing be feasible? |
|
Shouldn't be a problem to trigger an UI update on the phone when receiving a message from the wearable. Updating data changes on the watch should be handled more conservatively as real devices are way slower than the emulator. |
Related discussion: #57
To share relevant code between the watch and the handset app I had to restructure the project.
Base classes like Tick and Track are now located in the tickmatelib module along with some assets the watch app uses.
I also bumped the target-sdk to 23 (Android M) and implemented the required permission requests when accessing external storage (DB-Backup).