Android-SimpleTimeTracker icon indicating copy to clipboard operation
Android-SimpleTimeTracker copied to clipboard

Sync possible (feature ?)

Open Jacques-Olivier-Farcy opened this issue 2 years ago • 6 comments

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.

Jacques-Olivier-Farcy avatar May 11 '23 11:05 Jacques-Olivier-Farcy

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.

OuchPotato avatar May 11 '23 23:05 OuchPotato

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.

Jacques-Olivier-Farcy avatar May 12 '23 06:05 Jacques-Olivier-Farcy

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

MTW2237-40 avatar May 22 '23 22:05 MTW2237-40

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.

Razeeman avatar Jun 17 '23 09:06 Razeeman

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.

1over137 avatar Feb 17 '24 15:02 1over137

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?

antgel avatar Apr 24 '24 11:04 antgel