Tasker如何設定判斷網路開啟 - Android

Table of Contents


如題,請問配置文件裡該如何設置判斷

移動網路的"開關"為觸發條件呢?

狀態裡面雖然可以選擇的移動網路分別為:

2G.3G.H.4G等為判斷條件,但必須有網路

持續傳輸的狀況下條件才成立,只要中間

稍微一停止傳輸,馬上就會觸發失敗還原

任務。

已爬過網路相關文章,幾乎都是設定上述

方法,有相關的%DATA.%Mobdata.%DATA

數值為1全部都無效…

謝謝。

--
There is nothing in the desert
       and no man needs nothing.
--
Sent from JPTT on my hTC Ocean Note

--

All Comments

Xanthe avatarXanthe2018-04-21
secure setting?
Charlotte avatarCharlotte2018-04-24
Damian avatarDamian2018-04-29
1. profile 聽連線狀態變化的 intent
android.net.conn.CONNECTIVITY_CHANGE
2. 進入 task 後用 test net 去撈 connection type,行動
Linda avatarLinda2018-05-02
網路的值是 mobile
Jacob avatarJacob2018-05-05
如果希望只判斷行動網路的開關的話,task 裡可以寫另一個
全域變數來儲存前一次是不是 mobile 的連線狀態,用來決定
要不要繼續下去