我似乎不能在安卓中声明一个TelephonyManager,这就是我想要做的:
TelephonyManager tele = Context.getSystemService(Context.TELEPHONY_SERVICE);我这样做对吗?
发布于 2011-08-10 09:35:07
你忘记选角了。它应该看起来像这样:
TelephonyManager tele = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);https://stackoverflow.com/questions/7004848
复制相似问题