I am learning Android development to my own and wandering to know if my device has the hardware that can support the LTE network.
I am trying the below, but I think it is giving me wrong data
ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo[] info = cm.getAllNetworkInfo();
for(int i=0; i <info.length; i++){
Log.i("netinfo"+i, info[i].getType()+"");
Log.i("netinfo"+i, info[i].getTypeName());
Log.i("netinfo"+i, info[i].getSubtype()+"");
Log.i("netinfo"+i, info[i].getSubtypeName());
So in short I just want to know if my device supports LTE data network or only 3g or 4g networks.
Thanks in Advance