Android 4.0 4G toggle

前端 未结 4 1675
甜味超标
甜味超标 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:37

    http://developer.android.com/reference/android/provider/Settings.System.html

    Aside from writing the code in your Activity.java, you will probably have to ask for permission to access these settings in the AndroidManifest.xml. So it's annoying but should be simple enough.

提交回复
热议问题