Page 1 of 1
activate Flow from MIT App Inventor
Posted: 13 Mar 2016 09:54
by eggger
I want to activate Flow from "MIT App Inventor"
I thought of using shortcut trigger for the flow
and activate it by ActivityStarter from app inventor
I need some help to fill those fields
- snip_20160313115315.png (46.84 KiB) Viewed 16053 times
Re: activate Flow from MIT App Inventor
Posted: 14 Mar 2016 18:56
by Martin
Hi,
I would recommend to start the flow using a broadcast intent. Does MIT App Inventor support a way to send a broadcast?
If yes, you could add a trigger General Broadcast with field action set to start.your.flow and then send a broadcast intent with this action from App Inventor.
Regards,
Martin
Re: activate Flow from MIT App Inventor
Posted: 15 Mar 2016 06:23
by eggger
I don't think broadcast intent is possible ,
can you suggest another way to start a Flow?
Re: activate Flow from MIT App Inventor
Posted: 15 Mar 2016 19:50
by Martin
Then you can try using the shortcut-trigger. Try to fill in following values in the UI shown on your screenshot:
Action: ch.gridvision.ppam.androidautomagic.intent.action.TRIGGER_SHORTCUT
ExtraKey: name
ExtraValue: the title defined within the trigger shortcut in Automagic
Re: activate Flow from MIT App Inventor
Posted: 16 Mar 2016 14:43
by eggger
it doesn't worked
- Screenshot_2016-03-16-16-39-33.png (126.02 KiB) Viewed 16011 times
Re: activate Flow from MIT App Inventor
Posted: 16 Mar 2016 20:40
by Martin
I've missed the DataType. Please enter application/x-androidautomagic in field DataType and see if it works.
Re: activate Flow from MIT App Inventor
Posted: 16 Mar 2016 20:58
by eggger
great success
Re: activate Flow from MIT App Inventor
Posted: 17 Mar 2016 19:20
by Martin