Hi all, I've some trouble in reading infos related with telephony. I wrote the following code to extract infos:
int dbm = 0; TelephonyManager mTelephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); ArrayList<NeighboringCellInfo> mNeighboringCellInfo = new ArrayList<NeighboringCellInfo>(); mNeighboringCellInfo = (ArrayList)mTelephonyManager.getNeighboringCellInfo(); for(int i = 0; i < mNeighboringCellInfo.size(); i++) { dbm = mNeighboringCellInfo.get(i).getRssi(); Log.d("<>",">> Cell "+i+": "+dbm+" DBm"); } but no results. Any hint? I'm using minSDK=4 and set permission to READ_PHONE_STATE, and I tested the code on emultor and also on a real device. Thanks -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.