Razeeman / Android-SimpleTimeTracker

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

Sync possible (feature ?) #103

Open Jacques-Olivier-Farcy opened 1 year ago

Jacques-Olivier-Farcy commented 1 year ago

Hi,

I am begining to use this really great app.

Do you know if it is possible to synchronize data from one device to another? I would like to use it from two different phones... But i am not sure how to do that or even if is it possible.

OuchPotato commented 1 year ago

There is no synchronization in the application, but there are intents and the "Send events" option. I think with the help of automation (Tasker, Macrodroid, etc.), you could imitate synchronization in the way you can start an activity on one phone and finish it on the other.

Jacques-Olivier-Farcy commented 1 year ago

Thanks i will look at this "Send events" option.

I was also thinking about a backup on a shared directory (with a webdav like nextcloud) on both devices.

MTW2237-40 commented 1 year ago

Or, to avoid having to use a server, have it just sync when both devices are online...

Razeeman commented 1 year ago

Hello! Thank you for the suggestion. Syncing would be a great feature indeed but I don't know how to do it yet without adding more permissions or using a server.

1over137 commented 7 months ago

I wonder if you can expose the database to a file and keep the writes to it atomic, and the user can use Syncthing to synchronize between devices. It would also be nice if you can document the data storage format so maybe I can implement a linux console version, so I don't have to be on my phone all the time trying to track activities. This will require some careful work to not cause bugs, though.

antgel commented 5 months ago

I'm new to the project, thanks for this great app and it's a bonus that it's open source! I have found it to be the most suitable for my needs although the UI / UX took some time to get used to.

Anyway, I'd love sync as well, and really a web UI to be able to track time on my laptop when working so I don't have to keep unlocking my mobile device. I guess the web UI would be strictly off-topic for this particular Github Issue but is it something that is being considered?