IP Cam Viewer     My Amazon IP Cameras    

launching app with task managers and other automation apps

Support for my free Android Applications.

Re: launching app with task managers and other automation apps

Postby stbi » Mon Apr 21, 2014 3:38 pm

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.)
stbi
 
Posts: 5
Joined: Sat Mar 17, 2012 10:39 am

Re: launching app with task managers and other automation apps

Postby N4Spd » Thu May 22, 2014 9:49 pm

see this post for NEW automation APIs: viewtopic.php?f=8&t=5669&p=7296#p7296

make your requests for new APIs here.
N4Spd
 
Posts: 1369
Joined: Sun Feb 08, 2009 3:25 pm

Re: launching app with task managers and other automation apps

Postby erkme73 » Tue Dec 09, 2014 11:40 am

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 3263 times

Screenshot_2014-12-09-14-35-20.jpg
Screenshot_2014-12-09-14-35-20.jpg (46.43 KiB) Viewed 3236 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...
erkme73
 
Posts: 10
Joined: Wed Dec 22, 2010 8:03 pm

Re: launching app with task managers and other automation apps

Postby N4Spd » Fri Dec 26, 2014 2:35 pm

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.
N4Spd
 
Posts: 1369
Joined: Sun Feb 08, 2009 3:25 pm

Previous

Return to Support

Who is online

Users browsing this forum: No registered users and 10 guests