Профайл:
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Profile sr="prof20" ve="2">
<cdate>1422355583288</cdate>
<edate>1422521958895</edate>
<id>20</id>
<mid0>21</mid0>
<nme>MD_SendLocation</nme>
<Time sr="con0">
<fh>0</fh>
<fm>0</fm>
<rep>2</rep>
<repval>5</repval>
<th>-1</th>
<tm>-1</tm>
</Time>
</Profile>
<Task sr="task21">
<cdate>1422355608840</cdate>
<edate>1422867066571</edate>
<id>21</id>
<nme>MD_SelectLocProvider</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%AIR</lhs>
<op>1</op>
<rhs>off</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<bool0>Or</bool0>
<Condition sr="c0" ve="3">
<lhs>%myLoc</lhs>
<op>2</op>
<rhs>atHome</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%myLoc</lhs>
<op>2</op>
<rhs>atWork</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act2" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">MD_SendLocNet</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>43</code>
</Action>
<Action sr="act4" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">MD_SendLocGPS</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>38</code>
</Action>
<Img sr="icn" ve="2">
<nme>hd_device_access_location_off</nme>
</Img>
</Task>
</TaskerData>
Задача выбора поставщика координат:
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Task sr="task21">
<cdate>1422355608840</cdate>
<edate>1424260820694</edate>
<id>21</id>
<nme>MD_SelectLocProvider</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%AIR</lhs>
<op>1</op>
<rhs>off</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<bool0>Or</bool0>
<Condition sr="c0" ve="3">
<lhs>%myLoc</lhs>
<op>2</op>
<rhs>atHome</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%myLoc</lhs>
<op>2</op>
<rhs>atWork</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act2" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">MD_SendLocNet</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>43</code>
</Action>
<Action sr="act4" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">MD_SendLocGPS</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>38</code>
</Action>
<Img sr="icn" ve="2">
<nme>hd_device_access_location_off</nme>
</Img>
</Task>
</TaskerData>
Задача отправки координат с GPS:
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Task sr="task13">
<cdate>1422015505595</cdate>
<edate>1424260960297</edate>
<id>13</id>
<nme>MD_SendLocGPS</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>902</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="100"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%LOC</Str>
<Str sr="arg1" ve="3">,</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://%MDUSER:%MDPASS@%MDSERVER</Str>
<Str sr="arg1" ve="3">gps.php</Str>
<Str sr="arg2" ve="3">latitude=%LOC1
longitude=%LOC2
altitude=%LOCALT
provider=%TNET
speed=%LOCSPD
battlevel=%BATT
deviceid=%DEVTID
accuracy=%LOCACC</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
</Action>
<Img sr="icn" ve="2">
<nme>hd_device_access_location_found</nme>
</Img>
</Task>
</TaskerData>
Задача отправки координат из сети:
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Task sr="task19">
<cdate>1422015505595</cdate>
<edate>1422867057084</edate>
<id>19</id>
<nme>MD_SendLocNet</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>902</code>
<Int sr="arg0" val="1"/>
<Int sr="arg1" val="100"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%LOCN</Str>
<Str sr="arg1" ve="3">,</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://%MDUSER:%MDPASS@%MDSERVER</Str>
<Str sr="arg1" ve="3">gps.php</Str>
<Str sr="arg2" ve="3">latitude=%LOCN1
longitude=%LOCN2
provider=%TNET
battlevel=%BATT
deviceid=%DEVTID
accuracy=%LOCNACC</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
</Action>
<Img sr="icn" ve="2">
<nme>hd_device_access_location_searching</nme>
</Img>
</Task>
</TaskerData>
Пока так. В планах купить Auto location, там круче настоить можно, но есть проблема с оплатой гривневой картой (двойная конвертация). Хорошо хоть за таскер успел заплатить
