1

There are many tasks I do repetitively, like connect a Bluetooth headset or connect to a hotspot. How do I typically "code" this? How do I execute? Is there a consistent library or package manager, or do I have to collect from everywhere?

Any community projects? Anything that works consistently over several platforms? Is there some framework to execute over several devices? (In the Bluetooth example I might want to disconnect other devices at the same time)

3
  • 1
    I think you can use automation apps to accomplish what you asked. However, the example given is not detailed enough (what other devices or actions do you want to automate? ) for me to be 100% sure. Feb 23 '19 at 9:13
  • @ReddyLutonadio Use case: disconnect existing sound devices connect to a known already paired Bluetooth Headset with spesific settings.
    – Olav
    Feb 23 '19 at 12:25
  • @ReddyLutonadio In the above case it could be useful to have other devices disconnect from the headset at the same time (Mostly Android, also Wondows)
    – Olav
    Feb 23 '19 at 12:40
3

A great app for that is Automate. I've used it with great success. There are a few plugins that exist; you may or may not need them

The main app is here

Based on your use case, you may want this, this and maybe this extensions but it all depends on how you use the main app

5
  • This showed up when I googled the issue. I kindof thought that scripting should be more powerful, and also that a community project could do more (Like supporting different devices)
    – Olav
    Feb 24 '19 at 8:20
  • @Olav for what it is, it works really well
    – unixandria
    Feb 24 '19 at 14:23
  • 1
    Please note that the solution from the other answer is not free. If that's your thing, though, go for it
    – unixandria
    Feb 24 '19 at 21:21
  • Thanks. On a first look, it looks more like a community thing? I don't mind paying, but a community project should be better for this purpose. (And also it should be mentioned)
    – Olav
    Feb 27 '19 at 9:26
  • @Olav if I'm remembering correctly that is true
    – unixandria
    Feb 27 '19 at 11:34
3

The best one I've ever come across is Tasker. It isn't necessarily coding but you do get to script your tasks in a scratch fashion. Although I don't see how it might be different from Automate which is another great choice.

Tasks created for tasker can also be download from the internet of which Tasker Wiki is my favourite source.

1
  • 1
    The true strength of Tasker is the number of third party apps with links to Tasker. Feb 27 '19 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.