Task Name: TrackCell
Notes: This task is meant to be invoked by a home screen widget. The widget toggles tracking mode on and off. I was unable to figure out the formatting necessary to get the xml code below to show proper indentation and to not show hyperlinks.
Suggestion: Copy and past the text field values below to a blank txt file. Then use Dropbox or some other method to get the file on your phone. Using copy and paste will make entering in this task much easier.
Extra Credit: Combine this task with baudi's SL4A based task (http://tasker.wikidot.com/sl4a) for sending an attachment in email to consolidate the gathered data of an entire fleet of Android carrying map maker's into a comprehensive cell phone coverage map of your area.
01. Tasker - If %TRACK = 0
02. Variable - Variable Set %TRACK = 1
03. Alert - Popup - Title: Track Text: Tracking On
04. Misc - GPS - On
05. Variable - Variable Set %TRACKFILE = %DATE%TIME.kml
06. File - Write File - File: %TRACKFILE Append: Off
07. Tasker - Stop - If %TRACK = 0
08. Misc - Get Location - Source: GPS Timeout: 10 Seconds
09. Variable - Variable Split - Name: %LOC Splitter: ,
10. File - Write File - File: %TRACKFILE Append: On - If %CELLSIG < 2
11. File - Write File - File: %TRACKFILE Append: On - If %CELLSIG = 2
12. File - Write File - File: %TRACKFILE Append: On - If %CELLSIG = 4
13. File - Write File - File: %TRACKFILE Append: On - If %CELLSIG > 4
14. Tasker - Wait - 5 Seconds
15. Tasker - Goto Action - Number: 7
16. Tasker - End If
17. Tasker - If %TRACK = 1
18. Variable - Variable Set %TRACK = 0
19. File - Write File - File: %TRACKFILE Append: On
20. Alert - Popup - Title: Track Text: Tracking Off
21. Misc - GPS - Off
22. Tasker - End If
Text field values for Write actions:
For action number 5:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<atom:author><atom:name>Tasker running on Android</atom:name></atom:author>
<name><![CDATA[Signal Reception Map]]></name>
<description><![CDATA[]]></description>
<Style id="sh_ylw-pushpin"><IconStyle><scale>1.3</scale><Icon><href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href></Icon><hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/></IconStyle></Style>
<Style id="sh_blue-pushpin"><IconStyle><scale>1.3</scale><Icon><href>http://maps.google.com/mapfiles/kml/pushpin/blue-pushpin.png</href></Icon><hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/></IconStyle></Style>
<Style id="sh_green-pushpin"><IconStyle><scale>1.3</scale><Icon><href>http://maps.google.com/mapfiles/kml/pushpin/grn-pushpin.png</href></Icon><hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/></IconStyle></Style>
<Style id="sh_red-pushpin"><IconStyle><scale>1.3</scale><Icon><href>http://maps.google.com/mapfiles/kml/pushpin/red-pushpin.png</href></Icon><hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/></IconStyle></Style>
For action number 10:
<Placemark>
<name><![CDATA[No Signal]]></name>
<description><![CDATA[]]></description>
<styleUrl>#sh_blue-pushpin</styleUrl>
<Point>
<coordinates>%LOC2,%LOC1</coordinates>
</Point>
</Placemark>
For action number 11:
<Placemark>
<name><![CDATA[Weak]]></name>
<description><![CDATA[]]></description>
<styleUrl>#sh_red-pushpin</styleUrl>
<Point>
<coordinates>%LOC2,%LOC1</coordinates>
</Point>
</Placemark>
For action number 12:
<Placemark>
<name><![CDATA[Medium]]></name>
<description><![CDATA[]]></description>
<styleUrl>#sh_ylw-pushpin</styleUrl>
<Point>
<coordinates>%LOC2,%LOC1</coordinates>
</Point>
</Placemark>
For action number 13:
<Placemark>
<name><![CDATA[Strong]]></name>
<description><![CDATA[]]></description>
<styleUrl>#sh_green-pushpin</styleUrl>
<Point>
<coordinates>%LOC2,%LOC1</coordinates>
</Point>
</Placemark>
For action number 19:
</Document>
</kml>