Find 3g Frequency and Channel Number in mobile network programmatically in Android? -
developed code signal strength. trying find out frequency , channel number.
public class myphonestatelistener extends phonestatelistener { int signalstrengthoftower = 0; int ecno=0; public void onsignalstrengthschanged(signalstrength signalstrength) { super.onsignalstrengthschanged(signalstrength); signalstrengthoftower = signalstrength.getgsmsignalstrength(); signalstrengthoftower = (2 * signalstrengthoftower) - 113; signalstrengthnetwork=string.valueof(signalstrengthoftower); signalview.settext(signalstrengthnetwork); } }
Comments
Post a Comment