Android 4.0 4G toggle

前端 未结 4 1678
甜味超标
甜味超标 2021-02-06 14:20

This is for the Verizon LTE version of the Samsung Galaxy Nexus.

I am tasked with writing a tiny app that will effectively disable/enable 4G capability. This can be done

4条回答
  •  一个人的身影
    2021-02-06 14:34

    All the other answers are correct that this requires access to Settings.Secure. Take a look at how the phone app handles this setting https://github.com/dzo/packages_apps_phone/blob/master/src/com/android/phone/Use2GOnlyCheckBoxPreference.java

    or take a look at the Toggle2G app source: https://github.com/TheMasterBaron/Toggle-2G

提交回复
热议问题