Create independent apps

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Mar
Posts: 49
Joined: 20 May 2015 23:24
Location: Germany

Create independent apps

Post by Mar » 13 Oct 2015 14:30

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Create independent apps

Post by Martin » 13 Oct 2015 15:06

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

lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Re: Create independent apps

Post by lchiocca » 03 Nov 2015 08:17


Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Create independent apps

Post by Wibbly » 03 Nov 2015 11:45

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 :-)

Locked