HI The 2G/3G/4G option is available in Android 5.0 and above Lolipop.
Upto Android 4.4 Kitkat version we have the option for LTE/WCDMA/GCM network type. For android API 22/ Lolipop 5.0 onwards We have function- setPreferredNetworkTypeToGlobal() in the Telephoney Network class but we need to have hasCarrierPrivilages() option true in order to use this function. we also need the android.permission.MODIFY_PHONE_STATE permission which is only available to the phone makers only not any third party app developer as it is a system permission for security reason. is there any way to do this all android version by third party apps Regards Abhik -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

