Java tutorial
//package com.java2s; import android.telephony.SignalStrength; public class Main { public static int getSignalField(SignalStrength signalStrength, int num) { if (signalStrength == null) return -10101; String[] datas = signalStrength.toString().split("\\s"); return Integer.parseInt(datas[num]); } }