Razeeman / Android-SimpleTimeTracker

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

[Feature Request] Support shortcut function that can help automation when intents are not available #176

Open N1N74 opened 3 months ago

N1N74 commented 3 months ago

Hello, I am writing this since I found no prior issue about this and after trying to get intents working on PhoneProfilesPlus (used for automation) with no avail.

The app has an alternative method to trigger apps called shortcuts and apps such as shade launcher, samsung default contacts app, key mapper, antennapod, etc. show up but not SimpleTimeTracker. Some apps even support selecting options like launch activity shortcut from shade launcher that launchers any activity. Supporting this would allow integration of app with PhoneProfilesPlus which otherwise seems impossible.

Options to set these in PhoneProfilesPlus are found in profile_name >others>run applications, shortcut, intents. It provides option to test intents.

Razeeman commented 2 months ago

Hello! I'm not familiar with shortcuts, can you point to some documentation please? Broadcast intents should work, and it seems they are supported in PhoneProfilesPlus, maybe you can try to create an issue in their project to find some solution?

N1N74 commented 2 months ago

Hey, so I'm not a developer so I don't actually know what those are. I have opened a discussion to ask about it with PhoneProfilesPlus that can be followed here.

Razeeman commented 2 months ago

If I understood correctly intents will work with the next version of PPP. Shortcuts looks interesting but for now broadcast intents seems to cover all the needs of automated tracking.