TelephonyManager.getNetworkOperator() Return value

2,702 views

转:”We sent a beta version of our library to one of our costumers to test
his application.
During their tests a StringIndexOutOfBoundsException was thrown by our
method because the method TelephonyManager.getNetworkOperator()
returned an empty string instead of null when his phone has no sim
card.

What bothers me is that only happened when our method was called for
the 4th time – apparently getNetworkOperator returned null on the
first 3 calls.”

转载本站文章请注明,转载自:阿达基站路测的天空[http://blog.signalsitemap.com]

本文链接:TelephonyManager.getNetworkOperator() Return value | 阿达基站路测的天空

This entry was posted in Android and tagged , . Bookmark the permalink.

Comments are closed.