Hi! exist a system call like this
Code:
Sub SetMobileDataEnabled(enabled As Boolean)
r.Target = r.GetContext
r.Target = r.RunMethod2("getSystemService", "connectivity", "java.lang.String")
r.RunMethod2("setMobileDataEnabled", enabled, "java.lang.boolean")End Sub
for android >= 5
Thanks!!!
Code:
Sub SetMobileDataEnabled(enabled As Boolean)
r.Target = r.GetContext
r.Target = r.RunMethod2("getSystemService", "connectivity", "java.lang.String")
r.RunMethod2("setMobileDataEnabled", enabled, "java.lang.boolean")End Sub
for android >= 5
Thanks!!!