Page 1 of 1

Create independent apps

Posted: 13 Oct 2015 14:30
by Mar
Hey,

I have already used Automagic on my old device. It really fascinated me. Since I have owned a new device, I have looked for an alternative which is maybe better than Automagic but there isn't a comparable app. Although Tasker provides a really nice feature with the App Factory.
And here is the point. My new phone (Honor 7) has got an extra button. It's called 'Smart Key'. You can occupy this button with different functions. First of all, there are the system actions like the torch, audio recording, taking a photo quickly and screenshot. Additionally, you can start every app installed on your device (like WhatsApp, Gmail, Chrome, Automagic, etc.) as you can do it in the app drawer. And while searching the web for functions for the Smart Key, I came across App Factory by Tasker. You can create apps with this function and occupy the Smart Key with them.

So, my question is: Will (or maybe already is) it possible to create small apps with actions (for example out of flows) where I don't have to interact as a user, but the app immediately starts the actions? Moreover, it would be great if the app worked without a user interface and only ran in the background.

Re: Create independent apps

Posted: 13 Oct 2015 15:06
by Martin
Hi,

I don't have plans to create standalone apps from Automagic flows in the foreseeable future.
You could use AppFactory or the regular Android SDK (which is free) to create a simple app that will send a broadcast intent. You could then react to this broadcast intent in Automagic.

Maybe the device creates a regular input event when this special button is pressed. If this is the case, you could try to intercept it with trigger Command Output with command getevent (search the forum for some hints).

Regards,
Martin

Re: Create independent apps

Posted: 03 Nov 2015 08:17
by lchiocca

Re: Create independent apps

Posted: 03 Nov 2015 11:45
by Wibbly
Mar, if your device allows you assign a shortcut to the Smart Key, then you can use the fact that AM allows you to create shortcuts to a flow :-)