Razeeman / Android-SimpleTimeTracker

Simple app that tracks time.
GNU General Public License v3.0
641 stars 80 forks source link

[Suggestion] Wear OS app #60

Closed yegarti closed 7 months ago

yegarti commented 1 year ago

More of a question than suggestion, but are there any plans to support on Wear OS for Galaxy and Pixel watches?

Thanks.

Razeeman commented 1 year ago

Hello! Thank you for the suggestion, I was planning to look into it after the next update, but can't tell for sure if it can be implemented or when.

thehale commented 1 year ago

I'd also appreciate a WearOS app so that I can track my time without needing to pull out my phone every time I switch activities. Here's how I would prioritize SimpleTimeTracker's current features for a WearOS version.

Valued Features:

Unnecessary Features:

Here's an existing time tracking app with some screenshots showing how it supports smartwatches: https://play.google.com/store/apps/details?id=com.rauscha.apps.timesheet

Razeeman commented 1 year ago

@thehale Thank you for the suggestion! If wear os version would be possible to implement, in the first version probably would be the thing you suggested - ability to view current records and change active activities.

thehale commented 1 year ago

I started building a sample WearOS app which leverages the automated tracking features from #11 for its functionality.

Check it out here: https://github.com/thehale/SimpleTimeTracker-WearOS

Features

Limitations

MicaelJarniac commented 1 year ago

A Wear OS app would be amazing! And if possible, after the basic implementation, having a tile for quickly switching activities would be awesome. I love tiles because they're super quick to get to, no need to open the app drawer and look for the app. The tiles are always there, and always easy to get to.

christophstoeckl commented 10 months ago

Are there any news on this?

I would also be very interested in a Wear OS app and could also help with the development.

thehale commented 10 months ago

@christophstoeckl Yep! Here's the current roadmap for the WearOS app I started a few months ago.

https://github.com/users/thehale/projects/2/views/1

If you join, there would be three of us working on it. The best ticket to work on right now without stepping on other's toes is probably https://github.com/thehale/SimpleTimeTracker-WearOS/issues/7.

christophstoeckl commented 10 months ago

@thehale Sounds great, I hope that I can find a bit of time on the weekends to contribute to this!

kantahrek commented 9 months ago

Hi @Razeeman! I've teamed up with @thehale to put some work into our "companion WearOS app" for SimpleTimeTracker. We wanted to check in with you on our first round of planned changes to STT to facilitate a Wear<->Mobile integration.

I've made some modifications to NotificationReceiver in my fork of STT (see my changes here) to facilitate passing tracking state data to the Wear. Namely, I've added a pair of Intent handlers to the list that handle the new events "AdhocExportCategories" and "AdhocExportPrefs", which turn around and broadcast back to the calling app, respectively, the current registered categories+whether they're running and whether the user has enabled the "multi-tasking" preference. I believe this is all the information we will need from STT for our app's first iteration.

I could send a PR your way soon; do the changes I've described above make sense to you? Thanks!

Razeeman commented 9 months ago

Hello! Looked through suggested changes and they totally make sense. I'd like to make some small changes that I can either write as comments to the pr or can make them myself after pr would be merged, whichever would you prefer.

thehale commented 8 months ago

@Razeeman another status update...

We've pivoted to implementing WearOS support directly into a fork of your app. Still not production ready, but the communication layer between Watch and Phone is now solid, which means long term maintenance will be dramatically simplified.

Here's the current diff against your dev branch (updated regularly): https://github.com/thehale/SimpleTimeTracker-WearOS/compare/dev...wearos

Feel free to share your thoughts/suggestions!

thehale commented 8 months ago

@kantahrek and I have completed an MVP of a WearOS app! The current PR is linked to this ticket.

Feel free to clone the forked repo to try it yourself!

lucasfais commented 7 months ago

Amazing work! It will be great to have my favorite android app on the watch.

I see there is a new release with the wear apk. Is it bundled with base or play apk? Do you I have to use ADB to install it? Thanks.

Razeeman commented 7 months ago

@lucasfais Hello! wear apk works with play apk. Wear application was published to google play, but unfortunately there were some problems with the publishing review process, it would require a little more work to be done, and republished again after that. If everything goes well it will be released this weekend. At the moment wear apk can be installed on the watch through the ADB.

lucasfais commented 7 months ago

@Razeeman I see, thank you for your reply. I was able to install it. Works great! You guys rock!