Is it possible to detect frequency/band supported by android device. I just want to detect that device support 3G/4G network or not.
I have printed out the detail network info using connectivity manager and Network info.
02-27 15:14:11.122: D/3G4G(20923): Type : 0
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 1
02-27 15:14:11.122: D/3G4G(20923): Type Name : WIFI
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name :
02-27 15:14:11.122: D/3G4G(20923): SubType Name :
02-27 15:14:11.122: D/3G4G(20923): Extra Info : "Mac Abdul"
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 2
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile_mms
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 3
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile_supl
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 4
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile_dun
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 5
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile_hipri
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 7
02-27 15:14:11.122: D/3G4G(20923): Type Name : BLUETOOTH_TETHER
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name :
02-27 15:14:11.122: D/3G4G(20923): SubType Name :
02-27 15:14:11.122: D/3G4G(20923): Extra Info : null
02-27 15:14:11.122: D/3G4G(20923): ______________________
02-27 15:14:11.122: D/3G4G(20923): Type : 10
02-27 15:14:11.122: D/3G4G(20923): Type Name : mobile_fota
02-27 15:14:11.122: D/3G4G(20923): Sub Type :0
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.122: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.132: D/3G4G(20923): Extra Info : null
02-27 15:14:11.132: D/3G4G(20923): ______________________
02-27 15:14:11.132: D/3G4G(20923): Type : 11
02-27 15:14:11.132: D/3G4G(20923): Type Name : mobile_ims
02-27 15:14:11.132: D/3G4G(20923): Sub Type :0
02-27 15:14:11.132: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.132: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.132: D/3G4G(20923): Extra Info : null
02-27 15:14:11.132: D/3G4G(20923): ______________________
02-27 15:14:11.132: D/3G4G(20923): Type : 12
02-27 15:14:11.132: D/3G4G(20923): Type Name : mobile_cbs
02-27 15:14:11.132: D/3G4G(20923): Sub Type :0
02-27 15:14:11.132: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.132: D/3G4G(20923): SubType Name : UNKNOWN
02-27 15:14:11.132: D/3G4G(20923): Extra Info : null
Does "mobile_hipri" it means device support 3G network? how can i detect that device support 4G network or not.
Edit : I have used the following code for printing out this information
ConnectivityManager cm = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo[] info = cm.getAllNetworkInfo();
for(int i=0; i <info.length-1; i++){
Log.d("3G4G", "Type : " + info[i].getType()+"");
Log.d("3G4G", "Type Name : " + info[i].getTypeName());
Log.d("3G4G", "Sub Type :" +info[i].getSubtype()+"");
Log.d("3G4G", "SubType Name : " + info[i].getSubtypeName());
Log.d("3G4G", "SubType Name : " + info[i].getSubtypeName());
Log.d("3G4G", "Extra Info : " + info[i].getExtraInfo());
Log.d("3G4G","______________________");
}
I need to know Operating frequencies(GSM 850 / 900 / 1800 / 1900 or any other) device supports. If there is any other way for finding that device support 3G/4G network, then please tell.