Reputation: 5049
In the Android SDK, there is a network type entry:
https://developer.android.com/reference/android/telephony/TelephonyManager.html#NETWORK_TYPE_LTE
But this doesn't distinguish between LTE and LTE Advanced networks.
Is there some other way to check or tell the difference between them?
Upvotes: 5
Views: 847
Reputation: 3708
It seems that there is no portable official way to distinguish LTE
and LTE-A
connections in Android
applications.
But I've come into NETWORK_TYPE_LTEA
network type in Mediatek Android platform firmware sources, and it worked in my pet projects.
There is also NETWORK_TYPE_LTE_CA
network type in AOSP
sources which seems to be exactly what you are looking for.
However both these values are not documented in official Android
documentation and it is unclear which versions support them.
Upvotes: 3