signal-strength

how to get a list of available gsm networks?

痞子三分冷 提交于 2019-12-23 13:03:38
问题 i'm currently writing on some piece of code in android 2.1 that is supposed to measure the signal strength of the gsm signals. what i need is some kind of list with some kind of network IDs matching the corresponding signal strengthes... i got this far: public class main extends Activity { TelephonyManager telManager; GSMListener gsmListener; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); gsmListener = new

Get Cell RSSI(Network Signal Strength) on Android 1.5

筅森魡賤 提交于 2019-12-22 10:43:53
问题 Is there any way to retrieve the current cellular Signal Strength (RSSI) on Android 1.5? I know there's a way to listen for signal strength updates through the TelephonyManager , but this seems to only give a "state," not a numeric value. Is using the RSSI field on a neighboring cell fairly accurate? I'm guessing not, but I'm running out of ideas. 回答1: TelephonyManager.listen with flag LISTEN_SIGNAL_STRENGTHS http://developer.android.com/reference/android/telephony/PhoneStateListener.html 回答2

Android RSSI value of Bluetooth returns -32768 always?

我只是一个虾纸丫 提交于 2019-12-12 09:53:38
问题 I am trying to get the current RSSI value of a connected bluetooth device at the click of a button. However it returns only -32768 always! Don't know what is wrong! However I was able to get the correct RSSI, the first time it got connected. private Button.OnClickListener buttonRSSIOnClickListener = new Button.OnClickListener(){ @Override public void onClick(View arg0) { // TODO Auto-generated method stub Intent intent = new Intent(BluetoothDevice.ACTION_FOUND); short rssi = intent

signalStrength.getGsmSignalStrength() is giving values without sim-card also

三世轮回 提交于 2019-12-11 17:47:56
问题 Hey I tried for signalStrength.getGsmSignalStrength() for GSM and CDMA devices but I noticed that both the devices gives strength even when sim is not inserted in device.I want to place a call or send message only if network is good how can I achieve this? And also want to know which signal strength this API returns!!... Please reply as soon as possible. public class AndroidPhoneStateListener extends PhoneStateListener { public static int signalStrengthValue; @Override public void

OMNET++: How to obtain wireless signal power?

邮差的信 提交于 2019-12-11 16:11:44
问题 I am using the newly released INET 4.0 framework for OMNET++ and I would like to obtain the received signal strength value in a wireless host (of type AdhocHost). How may I do that? 回答1: In INET 4.0.0 the packet received by a module contains several tags. Between others there is SignalPowerInd tag. According to SignalTag.msg: This indication specifies the average analog signal power that was detected during receiving the packet. It may be present on a packet from the phyiscal layer to the

Signal strength in ios 8.3

≯℡__Kan透↙ 提交于 2019-12-11 11:48:24
问题 Apple has restricted API to fetch signal strength but there is a way to get this i found here.Is it a correct way to get signal strength. I am developing for iTunes store submission. Will apple reject my app? Solution provided by @Mateusz Mirkowski as follow : UIApplication *app = [UIApplication sharedApplication]; NSArray *subviews = [[[app valueForKey:@"statusBar"] valueForKey:@"foregroundView"] subviews]; NSString *dataNetworkItemView = nil; for (id subview in subviews) { if([subview

LTE signal ASU level always 97

强颜欢笑 提交于 2019-12-11 09:54:20
问题 I am capturing the RSSI values of LTE signals using the below code: cInfoList = telephony_manager.getAllCellInfo() for (CellInfo info : cInfoList){ if (info instanceof CellInfoLte) { CellSignalStrengthLte signalstrength_lte = ((CellInfoLte) info).getCellSignalStrength(); displayAsu.setText(signalstrength_lte.getAsuLevel() + ""); displayDbm.setText(signalstrength_lte.getDbm() + ""); } } (*note: I just simplified my code: for-loop doesn't override text fields.) In one phone (LG G4) I am getting

GSM RSSI and LTE RSSI and RSRP

喜夏-厌秋 提交于 2019-12-11 03:24:22
问题 I am looking to create an app that gets information about the phones connection to the cellular network. My understanding is that RSSI is a measure of cellular signal with GSM and RSRP is a good measure for LTE. To keep it consistent, is it possible to get a RSSI measure for LTE? I am confused about what classes to use to get some of this information. At the moment, I am using the phone state listener which gives me a SignalStrength object. Using this object, I can call the two string method

Android : NeighboringCellInfo

跟風遠走 提交于 2019-12-06 15:13:33
问题 NeighboringCellInfo() on Android API, I want to know this function return all neighbor cell? And one of result is current cell which our device connected? Thanks so much. 回答1: Yes, it should. But I never found a device where it did. Please report back here if you find any GSM device with any Android OS Version that does report at least one neighboring cell. Thank you! You should be able to use the following code to get them: TelephonyManager tm = (TelephonyManager) this.getSystemService

Measuring Signal Strength from wifi to Iphone/Ipad

孤街浪徒 提交于 2019-12-06 03:33:39
问题 I want to get the current Wifi signal strength from an iOS device. A Google search reveals only solutions for Android devices. From the literature I gather that Apple does not allow to access hardware and so nobody can retrieve the device's signal strength in dbm through their app. Is this correct? 回答1: As you say, there is no way to do this as Apple doesn't allow apps access to the necessary hardware. (There seems to have been a way to do it in iOS 5 but only using private APIs.) What you