Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old February 4th, 2013, 08:07 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default Scene Question

So here is what I'm trying to accomplish:

I've been trying to create a scene that when accessed will display traffic and then also allow for a quick kill scene option. Can I set up the top 2/3 of the scene so that it launches and displays google maps(traffic) and in the bottom a kill screen rectangle.. I'm very new to tasker and really new to creating scenes. If someone could could help, I would greatly appreciate it..thanks

dwh2o13 is offline  
Reply With Quote
sponsored links
Old February 4th, 2013, 09:06 PM   #2 (permalink)
Junior Member
 
Join Date: Jan 2013
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 10 Times in 10 Posts
Default Re: Scene Question

create scene, give it a name, then, in the editor:
-> long tap (add element) map, choose options (show traffic, initial location), resize as you wish
-> long tap (add element) button, image or doodle, any will do
- if button, label it "close" or something
- if image, pick one (from tasker built ins, icon pack or whatever)
- draw your own if doodle
save the scene (so that it shows in selection dialogs), open it again
press the close button (or image, or doodle) to get to the options dialog, on tap create anonymous task Scene -> Destroy, set the scene name.

in Tasks, create named task to show scene, as activity

create shortcut on home screen
userloser is offline  
Reply With Quote
Old February 4th, 2013, 09:21 PM   #3 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

[QUOTE=userloser;5504832]create scene, give it a name, then, in the editor:
-> long tap (add element) map, choose options (show traffic, initial location), resize as you wish
-> long tap (add element) button, image or doodle, any will do
- if button, label it "close" or something
- if image, pick one (from tasker built ins, icon pack or whatever)
- draw your own if doodle
save the scene (so that it shows in selection dialogs), open it again
press the close button (or image, or doodle) to get to the options dialog, on tap create anonymous task Scene -> Destroy, set the scene name.

in Tasks, create named task to show scene, as activity

create shortcut on home screen[/QUOTE

Thanks. I'll give it a try and let you know. I appreciate your help.
dwh2o13 is offline  
Reply With Quote
Old February 4th, 2013, 09:35 PM   #4 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

Here is my problem: When i add the map element and choose traffic, I just get a world map..how do I get the initial location?? I want my local traffic displayed.
dwh2o13 is offline  
Last edited by dwh2o13; February 4th, 2013 at 09:59 PM.
Reply With Quote
Old February 4th, 2013, 10:16 PM   #5 (permalink)
Junior Member
 
Join Date: Jan 2013
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 10 Times in 10 Posts
Default Re: Scene Question

Quote:
Originally Posted by dwh2o13 View Post
Here is my problem: When i add the map element and choose traffic, I just get a world map..how do I get the initial location?? I want my local traffic displayed.
There is a parameter for initial location and zoom level in the map element, which you can control from a task (task-action-scene-element map).

You can look up your location before that with your favorite location method.

See the corresponding sections in the tasker guide for details.
userloser is offline  
Reply With Quote
Old February 5th, 2013, 07:32 PM   #6 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

Thanks for helping such a novice.. I am clearly seeing the parameter for zoom, but I do not see the parameter for initial location in the map element.
dwh2o13 is offline  
Reply With Quote
Old February 5th, 2013, 08:54 PM   #7 (permalink)
Junior Member
 
Join Date: Jan 2013
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 10 Times in 10 Posts
Default Re: Scene Question

Quote:
Originally Posted by dwh2o13 View Post
Thanks for helping such a novice.. I am clearly seeing the parameter for zoom, but I do not see the parameter for initial location in the map element.
The one above zoom, "Lat,Lon". Set it to some coordinates (or to %LOC from your gps/network location task)

In a task, you have to use element, map, then choose "move to point" in the options.
userloser is offline  
Reply With Quote
Old February 5th, 2013, 10:15 PM   #8 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

Okay, I think I'm getting closer.. I've created the scene, entered the lat/long coordinates, selected show traffic. Also created the destroy scene button.. Then I created a new task with the following: 1. element map control: designated scene name, element is Map1, move to point, coordinates in value option 2. Show Scene: selected scene, display as Activity Full Window, Show exit button and Continue task immediately are both selected.

I'm getting the scene to display, but the map is not displaying my location. I can manipulate the map after it is displayed and then zoom in, but I was hoping for that to happen immediately.
dwh2o13 is offline  
Last edited by dwh2o13; February 6th, 2013 at 01:11 PM.
Reply With Quote
Old February 7th, 2013, 05:55 PM   #9 (permalink)
Junior Member
 
Join Date: Jan 2013
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 10 Times in 10 Posts
Default Re: Scene Question

Quote:
Originally Posted by dwh2o13 View Post
Okay, I think I'm getting closer.. I've created the scene, entered the lat/long coordinates, selected show traffic. Also created the destroy scene button.. Then I created a new task with the following: 1. element map control: designated scene name, element is Map1, move to point, coordinates in value option 2. Show Scene: selected scene, display as Activity Full Window, Show exit button and Continue task immediately are both selected.

I'm getting the scene to display, but the map is not displaying my location. I can manipulate the map after it is displayed and then zoom in, but I was hoping for that to happen immediately.

You can either set LAT,LON to some initial value with the editor, or, to lookup your current position, in your launch task, create the scene first (don't show it), then do a misc->get location, set the map coordinates with move to point %LOC and then show scene.
userloser is offline  
Reply With Quote
Old February 8th, 2013, 10:03 PM   #10 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

Got It! Thanks so much for your help and patience.
dwh2o13 is offline  
Reply With Quote
sponsored links
Old May 13th, 2013, 01:43 PM   #11 (permalink)
d0g
Junior Member
 
Join Date: Mar 2011
Posts: 18
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

I'm trying to do basically the same thing but it's not working.

I create a scene with a map "Map1". Lat,Long is blank, Zoom is 10.

Then I created a Task:
1. Create Scene
1. Get Location, source GPS, timeout 10 secs
2. Element map control > Move To > %LOC
3. Show Scene

When I run the task, GPS comes on, then nothing happens.

What am I missing?

Also, is it possible to have the map track my location as I drive and keep it centered on my current position?

thanks
d0g is offline  
Reply With Quote
Old May 13th, 2013, 01:54 PM   #12 (permalink)
d0g
Junior Member
 
Join Date: Mar 2011
Posts: 18
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

I added a "Destroy Scene" before the "Create Scene" ... and now it partially works.

But it still shows the entire earth, it doesn't zoom in.

I tried adding a Set Element map zoom, and also changing the map element in the scene itself ... but no difference.
d0g is offline  
Reply With Quote
Old May 14th, 2013, 11:10 AM   #13 (permalink)
Junior Member
 
Join Date: Jan 2013
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 10 Times in 10 Posts
Default

Quote:
Originally Posted by d0g View Post
I'm trying to do basically the same thing but it's not working.

I create a scene with a map "Map1". Lat,Long is blank, Zoom is 10.

Then I created a Task:
1. Create Scene
1. Get Location, source GPS, timeout 10 secs
2. Element map control > Move To > %LOC
3. Show Scene

When I run the task, GPS comes on, then nothing happens.

What am I missing?

Also, is it possible to have the map track my location as I drive and keep it centered on my current position?

thanks
1. timeout looks way too small. on my nexus4 and 7 cold fix may take as long as a minute, especially in a city. on my sgs before i did a hardware fix for the antenna, i waited for many minutes. most likely 10 seconds isn't long enough. try the default. i leave the timeout at 120 seconds usually.

2. yes, you have to run the task periodically, either by calling it from a time profile, or by using a label and goto within the task, or by calling it recursively. in the second and he third case you may want to consider a wait period, depending on your usage.

Incidentally, one of the many navigation apps that use gmaps may be a better choice.
userloser is offline  
Reply With Quote
Old May 23rd, 2013, 07:16 PM   #14 (permalink)
Junior Member
Thread Author (OP)
 
dwh2o13's Avatar
 
Join Date: Jan 2013
Gender: Male
Posts: 32
 
Device(s): Droid Razr Maxx
Carrier: Verizon

Thanks: 8
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by userloser View Post

Incidentally, one of the many navigation apps that use gmaps may be a better choice.

Yes.. I agree. After trying to set up the traffic scene in tasker I never found it to work quite as well as simply using google maps. With root, I'm able to set GPS to toggle on now as soon as I open the app.
dwh2o13 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:16 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.