plain-app icon indicating copy to clipboard operation
plain-app copied to clipboard

Service Quick Tile

Open shailantani opened this issue 1 year ago • 3 comments

It's a very small issue, but its a bit long process, going to the app, and then starting the plain-app service.

A solution to that is, creating a quick settings tile which can toggle between starting/stopping the service.

Another alternative could be creating a simple widget, which can toggle between starting and stopping service too.

shailantani avatar Jun 26 '24 08:06 shailantani

That means the service has to run in a separate process. When a service needs to run in a separate process in an Android app, it makes things more complicated because the app and the service can't easily share data or sync events. Handling this communication between processes adds extra complexity to the project. So put this in low priority.

ismartcoding avatar Jun 27 '24 15:06 ismartcoding

Sure, that makes sense. Thanks for the reply!

shailantani avatar Jun 27 '24 16:06 shailantani

A simple walk around for this is that you don't need to toggle the start/stop service button each time, just kill the whole app if you don't need it. And next time when you need it, just open the app, the service will be started automatically if the switch was on.

ismartcoding avatar Jun 27 '24 16:06 ismartcoding