Page 2 of 2

Re: launching app with task managers and other automation apps

PostPosted: Mon Apr 21, 2014 3:38 pm
by stbi
spoteat wrote:Has anyone gotten this to work? I have been unsuccessful in my attempts.


Yes, for me it works now - thanks to iostream212!

In addition to iostream212's directions, "Target" has to be set to "Activity".

Here's my Tasker task as XML:

Code: Select all
<TaskerData sr="" dvi="1" tv="1.6u2m">
        <Task sr="task5">
                <cdate>1332005767888</cdate>
                <edate>1398122833130</edate>
                <id>5</id>
                <nme>Show Webcam</nme>
                <pri>10</pri>
                <Action sr="act3" ve="3">
                        <code>877</code>
                        <Str sr="arg0" ve="3">android.intent.action.MAIN</Str>
                        <Int sr="arg1" val="8"/>
                        <Str sr="arg2" ve="3"/>
                        <Str sr="arg3" ve="3"/>
                        <Str sr="arg4" ve="3">selectView:GALLERY_VIEW</Str>
                        <Str sr="arg5" ve="3">selectCameraName:Webcam</Str>
                        <Str sr="arg6" ve="3">com.rcreations.WebCamViewerPaid</Str>
                        <Str sr="arg7" ve="3"/>
                        <Int sr="arg8" val="1"/>
                </Action>
        </Task>
</TaskerData>


(Replace "Webcam" by your actual camera name.)

Re: launching app with task managers and other automation apps

PostPosted: Thu May 22, 2014 9:49 pm
by N4Spd
see this post for NEW automation APIs: viewtopic.php?f=8&t=5669&p=7296#p7296

make your requests for new APIs here.

Re: launching app with task managers and other automation apps

PostPosted: Tue Dec 09, 2014 11:40 am
by erkme73
Thanks in no small part to iostream212, I have set up a tasker shortcut to launch a specific group's matix view.

In tasker, create a new task (call it what you like), then click + to add an action. Select "system", then "send intent". Once there, fill in as follows:

Screenshot_2014-12-09-14-35-05s.jpg
Screenshot_2014-12-09-14-35-05s.jpg (43.45 KiB) Viewed 8627 times

Screenshot_2014-12-09-14-35-20.jpg
Screenshot_2014-12-09-14-35-20.jpg (46.43 KiB) Viewed 8600 times


From there, you create a shortcut on your home screen to the task.

Note that in my example above, I used the second "extra" field to add a specific group name. If you have multiple groups, this is how you would differentiate between them.

Also... all of these fields ARE CASE SENSITIVE!

Works like butter...

Re: launching app with task managers and other automation apps

PostPosted: Fri Dec 26, 2014 2:35 pm
by N4Spd
in Android v5.7.x, you can now create the following shortcuts from the app itself!

1. create a shortcut to a camera on the home screen. goto manage cameras, click camera, select create shortcut

2. create a shortcut to a camera group on the home screen. goto manage cameras, click group icon, select create shortcut.

Re: launching app with task managers and other automation apps

PostPosted: Wed Apr 26, 2017 1:50 am
by panste
Hi I was wondering if there is an intent to enable the "Turn on all device on/off" and selecting the incamera MD (method 1 in cam and not method 2 in app).

The idea is to set up and entry exit task in tasker and enable and disable (accordingly) the incam detection