Search code examples
android4g

Galaxy Nexus issue - 4G support detection


4G device detection code what i use is working in all other devices except Samsung Galaxy Nexus(toro)

This is the code what i use

boolean is4G = this.getPackageManager().hasSystemFeature("com.verizon.hardware.telephony.lte");

Solution

  • Is your app only for verizon?

    I think they have changed the feature name in toro

    https://bitbucket.org/kejar31/android_vendor_samsung/src/956695341253/toro/proprietary/com.vzw.hardware.lte.xml

    Try this code.. It may work

    hasSystemFeature("com.vzw.hardware.lte");