top button
Flag Notify
Site Registration

Why I cannot detect LTE cell networks without a SIM card?

+1 vote
298 views

I am trying to detect Cellular signals without an installed SIM card. The phone I'm using is a Motorola Nexus 6. And the code I am using is below -

tm  = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
List<CellInfo> cInfoList = tm.getAllCellInfo();  

for (final CellInfo info : cInfoList) {
  if (info instanceof CellInfoGsm) 
     sR =  "GSM: " + gsm.toString() + "\n" + ((CellInfoGsm) info).getCellIdentity();
  else if (info instanceof CellInfoCdma) 
     sR =  "CDMA: " + cdma.toString() + "\n" + ((CellInfoCdma) info).getCellIdentity();
  else if (info instanceof CellInfoLte) 
     sR =  "LTE: " + lte.toString() + "\n" + ((CellInfoLte) info).getCellIdentity();
  else if (info instanceof CellInfoWcdma) 
     sR =  "WCDMA: " + wcdma.toString() + "\n" + ((CellInfoWcdma) info).getCellIdentity();

When the SIM slot is empty, cInfoList contains only objects of CellInfoGsm and CellInfoWcdma, which are 3G. If I insert a SIM card and let it connect, then cInfoList contains only instances of CellInfoLte, which is 4G.

Can you explain me why I cannot detect LTE cell networks without a SIM card and why I cannot detect 3G networks with a SIM card?

posted Sep 1, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
SIM card contains authentication information about GSM/GPRS/UMTS/LTE network (including LTE signal type). So, it seems that your device just doesn't have LTE without the SIM. Do you see the network type icon on the top status bar....

Similar Questions
+2 votes

I am writing an Android application that will need to read data from the phone SIM card such as messages stored in the SIM card.
I am stuck where do I get a start tutorial or guide.

+2 votes

I have Micromax Unite 4 Pro Q465, and using in India. upgraded to 5.1
I cant see Enhanced 4G LTE mode under the Cellular Networks.
I already checked "*#4636#*#*, its showing already ON (Turn off Volte provisioned flag)

What can I do to enable Enhanced 4G?

+1 vote

Earlier I was able to use straight talk on my galaxy s4 but after canceling my Verizon contract and unlock, I am not able to use straight talk.

Wanted to know if an unlocked Verizon LTE Galaxy S4 with SIM card will work on a straight talk plan.

...