其他手机上是好的,但是华为手机上会出现如下错误(后台运行后APP死机)
错误代码先是好多这种错误
07-07 17:52:06.210 1345-18305/? E/DatabaseUtils﹕ Writing exception to parcel
java.lang.IllegalArgumentException: Unknown URL content://icc/adn1
at huawei.com.android.internal.telephony.HwIccProviderUtils.query(HwIccProviderUtils.java:192)
at huawei.com.android.internal.telephony.HwUiccManagerImpl.simContactsQuery(HwUiccManagerImpl.java:77)
at com.android.internal.telephony.IccProvider.query(IccProvider.java:92)
at android.content.ContentProvider.query(ContentProvider.java:857)
at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
完了后好多如下错误
07-07 17:52:31.180 901-1432/? E/DatabaseUtils﹕ Writing exception to parcel
java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:685)
at android.content.ContentProvider$Transport.call(ContentProvider.java:325)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:284)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
不知道怎么回事,貌似与华为手机的后台运行机制有关,不知道怎么解决,求指点