Guest User

Tasker Mobile Connectivity Change

a guest
Apr 19th, 2018
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.68 KB | None | 0 0
  1. 001:<TaskerData sr="" dvi="1" tv="5.1m">
  2. 002:    <Profile sr="prof9" ve="2">
  3. 003:        <cdate>1524154800659</cdate>
  4. 004:        <edate>1524156910142</edate>
  5. 005:        <id>9</id>
  6. 006:        <mid0>20</mid0>
  7. 007:        <Event sr="con0" ve="2">
  8. 008:            <code>599</code>
  9. 009:            <Str sr="arg0" ve="3">android.net.conn.CONNECTIVITY_CHANGE</Str>
  10. 010:            <Int sr="arg1" val="0"/>
  11. 011:            <Int sr="arg2" val="0"/>
  12. 012:            <Str sr="arg3" ve="3"/>
  13. 013:            <Str sr="arg4" ve="3"/>
  14. 014:        </Event>
  15. 015:    </Profile>
  16. 016:    <Project sr="proj0" ve="2">
  17. 017:        <cdate>1524156046788</cdate>
  18. 018:        <name>Net</name>
  19. 019:        <pids>9</pids>
  20. 020:        <tids>15,20</tids>
  21. 021:    </Project>
  22. 022:    <Task sr="task15">
  23. 023:        <cdate>1524156083248</cdate>
  24. 024:        <edate>1524156862336</edate>
  25. 025:        <id>15</id>
  26. 026:        <nme>IsMobileConnectivityChanged</nme>
  27. 027:        <pri>100</pri>
  28. 028:        <Action sr="act0" ve="7">
  29. 029:            <code>341</code>
  30. 030:            <Int sr="arg0" val="0"/>
  31. 031:            <Str sr="arg1" ve="3"/>
  32. 032:            <Str sr="arg2" ve="3">%connection</Str>
  33. 033:        </Action>
  34. 034:        <Action sr="act1" ve="7">
  35. 035:            <code>547</code>
  36. 036:            <Str sr="arg0" ve="3">%is_changed</Str>
  37. 037:            <Str sr="arg1" ve="3">0</Str>
  38. 038:            <Int sr="arg2" val="0"/>
  39. 039:            <Int sr="arg3" val="0"/>
  40. 040:            <Int sr="arg4" val="0"/>
  41. 041:        </Action>
  42. 042:        <Action sr="act2" ve="7">
  43. 043:            <code>37</code>
  44. 044:            <ConditionList sr="if">
  45. 045:                <Condition sr="c0" ve="3">
  46. 046:                    <lhs>%connection</lhs>
  47. 047:                    <op>0</op>
  48. 048:                    <rhs>mobile</rhs>
  49. 049:                </Condition>
  50. 050:            </ConditionList>
  51. 051:        </Action>
  52. 052:        <Action sr="act3" ve="7">
  53. 053:            <code>547</code>
  54. 054:            <Str sr="arg0" ve="3">%is_changed</Str>
  55. 055:            <Str sr="arg1" ve="3">1</Str>
  56. 056:            <Int sr="arg2" val="0"/>
  57. 057:            <Int sr="arg3" val="0"/>
  58. 058:            <Int sr="arg4" val="0"/>
  59. 059:            <ConditionList sr="if">
  60. 060:                <Condition sr="c0" ve="3">
  61. 061:                    <lhs>%MOBILE_CONNECTION</lhs>
  62. 062:                    <op>2</op>
  63. 063:                    <rhs>0</rhs>
  64. 064:                </Condition>
  65. 065:            </ConditionList>
  66. 066:        </Action>
  67. 067:        <Action sr="act4" ve="7">
  68. 068:            <code>547</code>
  69. 069:            <Str sr="arg0" ve="3">%MOBILE_CONNECTION</Str>
  70. 070:            <Str sr="arg1" ve="3">1</Str>
  71. 071:            <Int sr="arg2" val="0"/>
  72. 072:            <Int sr="arg3" val="0"/>
  73. 073:            <Int sr="arg4" val="0"/>
  74. 074:        </Action>
  75. 075:        <Action sr="act5" ve="7">
  76. 076:            <code>43</code>
  77. 077:        </Action>
  78. 078:        <Action sr="act6" ve="7">
  79. 079:            <code>547</code>
  80. 080:            <Str sr="arg0" ve="3">%is_changed</Str>
  81. 081:            <Str sr="arg1" ve="3">1</Str>
  82. 082:            <Int sr="arg2" val="0"/>
  83. 083:            <Int sr="arg3" val="0"/>
  84. 084:            <Int sr="arg4" val="0"/>
  85. 085:            <ConditionList sr="if">
  86. 086:                <Condition sr="c0" ve="3">
  87. 087:                    <lhs>%MOBILE_CONNECTION</lhs>
  88. 088:                    <op>2</op>
  89. 089:                    <rhs>1</rhs>
  90. 090:                </Condition>
  91. 091:            </ConditionList>
  92. 092:        </Action>
  93. 093:        <Action sr="act7" ve="7">
  94. 094:            <code>547</code>
  95. 095:            <Str sr="arg0" ve="3">%MOBILE_CONNECTION</Str>
  96. 096:            <Str sr="arg1" ve="3">0</Str>
  97. 097:            <Int sr="arg2" val="0"/>
  98. 098:            <Int sr="arg3" val="0"/>
  99. 099:            <Int sr="arg4" val="0"/>
  100. 100:        </Action>
  101. 101:        <Action sr="act8" ve="7">
  102. 102:            <code>38</code>
  103. 103:        </Action>
  104. 104:        <Action sr="act9" ve="7">
  105. 105:            <code>126</code>
  106. 106:            <Str sr="arg0" ve="3">%is_changed</Str>
  107. 107:            <Int sr="arg1" val="1"/>
  108. 108:        </Action>
  109. 109:    </Task>
  110. 110:    <Task sr="task20">
  111. 111:        <cdate>1524156605162</cdate>
  112. 112:        <edate>1524156953224</edate>
  113. 113:        <id>20</id>
  114. 114:        <nme>Do_Something</nme>
  115. 115:        <pri>6</pri>
  116. 116:        <Action sr="act0" ve="7">
  117. 117:            <code>130</code>
  118. 118:            <Str sr="arg0" ve="3">IsMobileConnectivityChanged</Str>
  119. 119:            <Int sr="arg1">
  120. 120:                <var>%priority</var>
  121. 121:            </Int>
  122. 122:            <Str sr="arg2" ve="3"/>
  123. 123:            <Str sr="arg3" ve="3"/>
  124. 124:            <Str sr="arg4" ve="3">%is_changed</Str>
  125. 125:            <Int sr="arg5" val="0"/>
  126. 126:        </Action>
  127. 127:        <Action sr="act1" ve="7">
  128. 128:            <code>137</code>
  129. 129:            <Int sr="arg0" val="0"/>
  130. 130:            <Str sr="arg1" ve="3"/>
  131. 131:            <ConditionList sr="if">
  132. 132:                <Condition sr="c0" ve="3">
  133. 133:                    <lhs>%is_changed</lhs>
  134. 134:                    <op>0</op>
  135. 135:                    <rhs>0</rhs>
  136. 136:                </Condition>
  137. 137:            </ConditionList>
  138. 138:        </Action>
  139. 139:        <Action sr="act2" ve="7">
  140. 140:            <code>300</code>
  141. 141:            <label>Do whatever you want now</label>
  142. 142:        </Action>
  143. 143:        <Action sr="act3" ve="7">
  144. 144:            <code>341</code>
  145. 145:            <Int sr="arg0" val="0"/>
  146. 146:            <Str sr="arg1" ve="3"/>
  147. 147:            <Str sr="arg2" ve="3">%net</Str>
  148. 148:        </Action>
  149. 149:        <Action sr="act4" ve="7">
  150. 150:            <code>523</code>
  151. 151:            <Str sr="arg0" ve="3">%TIMEMS</Str>
  152. 152:            <Str sr="arg1" ve="3">%net</Str>
  153. 153:            <Img sr="arg2" ve="2"/>
  154. 154:            <Int sr="arg3" val="0"/>
  155. 155:            <Int sr="arg4" val="0"/>
  156. 156:            <Int sr="arg5" val="3"/>
  157. 157:        </Action>
  158. 158:    </Task>
  159. 159:</TaskerData>
Advertisement
Add Comment
Please, Sign In to add comment