1 如问题 高概率提示SIM卡已满,0条导出成功(510)
a 首先 在代码中找到这条提示的位置
case TOAST_SIM_CARD_FULL:
exportCount = msg.arg1;
Toast.makeText(
mContext,
mContext.getString(
R.string.export_sim_card_full.exportCount),Toast.LENGTH_SHORT).show();
b 继续追踪
isSimCardFull = true;
mToastHandler.sendMessage(mToastHander.obtainMessage(TOAST_SIM_CARD_FULL,insertCount,0));
break;
结合log
05-28 19:53:34.047 2990 1878 D MultiPickContactsActivity: freeSimCount = 0
05-28 19:53:43.450 2990 1897 D MultiPickContactsActivity: freeSimCount = 0
05-28 19:53:55.164 2990 1910 D MultiPickContactsActivity: freeSimCount = 0
当freeSimCount = 0
代码会走到SIM卡满的判断
修改逻辑判断即可。











网友评论