我正在尝试从我的应用程序添加电话会议,通过反射尝试 canDial 是真还是假,但返回安全异常。附加的是日志文件。
01-07 04:24:36.890: E/AndroidRuntime(1062): FATAL EXCEPTION: main
01-07 04:24:36.890: E/AndroidRuntime(1062): java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.provider.Telephony.SPN_STRINGS_UPDATED from pid=1062, uid=10056
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.os.Parcel.readException(Parcel.java:1322)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.os.Parcel.readException(Parcel.java:1276)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:1548)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.app.ContextImpl.sendStickyBroadcast(ContextImpl.java:726)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.content.ContextWrapper.sendStickyBroadcast(ContextWrapper.java:297)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.telephony.gsm.GsmServiceStateTracker.updateSpnDisplay(GsmServiceStateTracker.java:609)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.telephony.gsm.GsmServiceStateTracker.pollStateDone(GsmServiceStateTracker.java:948)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.telephony.gsm.GsmServiceStateTracker.pollState(GsmServiceStateTracker.java:782)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.telephony.gsm.GsmServiceStateTracker.handleMessage(GsmServiceStateTracker.java:378)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.os.Handler.dispatchMessage(Handler.java:99)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.os.Looper.loop(Looper.java:130)
01-07 04:24:36.890: E/AndroidRuntime(1062): at android.app.ActivityThread.main(ActivityThread.java:3683)
01-07 04:24:36.890: E/AndroidRuntime(1062): at java.lang.reflect.Method.invokeNative(Native Method)
01-07 04:24:36.890: E/AndroidRuntime(1062): at java.lang.reflect.Method.invoke(Method.java:507)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-07 04:24:36.890: E/AndroidRuntime(1062): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-07 04:24:36.890: E/AndroidRuntime(1062): at dalvik.system.NativeStart.main(Native Method)
请让我知道您的建议以解决此问题。