When the sim card is being searched, the community broadcast prompts "information" to stop reporting. The sim community
From the Android 4.4 kk version, the whole CB processing is put in the mms process.
Cell broadcasting requires the SIM card to be properly initialized before you can enable the cell broadcasting. When the SIM card is searched, it indicates that the current SIM card has not been initialized successfully. In this case, there is no way to enable the cell broadcasting.
As the cell broadcasting runs in the mms process, the mms process runs abnormally and reports "information" to stop.
Make the following changes in CellBroadcastCheckBox. java:
Use the following method:
Private void setCBState (final boolean state ){
MmsLog. d (LOG_TAG, "setCBState start ");
If (mListener! = Null ){
MListener. onStarted (CellBroadcastCheckBox. this, false );
}
New Thread (new Runnable (){
Public void run (){
MmsLog. d (LOG_TAG, "activateCellBroadcastSms start ");
Boolean isSetSuccess = EncapsulatedSmsManager. activateCellBroadcastSms (state, mSlotId );
MmsLog. d (LOG_TAG, "activateCellBroadcastSms end isSetSuccess =" + isSetSuccess );
If (! IsSetSuccess ){
HandleSetStateResponse ();
} Else {
RecoverChannelSettings setting =
New RecoverChannelSettings (mSlotId, getContext (). getContentResolver ());
Setting. updateChannelStatus ();
If (mListener! = Null ){
MListener. onFinished (CellBroadcastCheckBox. this, false );
}
}
MmsLog. d (LOG_TAG, "setCBState end ");
}
}). Start ();
}
To:
Private void setCBState (final boolean state ){
MmsLog. d (LOG_TAG, "setCBState start ");
If (mListener! = Null ){
MListener. onStarted (CellBroadcastCheckBox. this, false );
}
MmsLog. d (LOG_TAG, "activateCellBroadcastSms start ");
Boolean isSetSuccess = EncapsulatedSmsManager. activateCellBroadcastSms (state, mSlotId );
MmsLog. d (LOG_TAG, "activateCellBroadcastSms end isSetSuccess =" + isSetSuccess );
If (! IsSetSuccess ){
HandleSetStateResponse ();
} Else {
New Thread (new Runnable (){
Public void run (){
RecoverChannelSettings setting =
New RecoverChannelSettings (mSlotId, getContext (). getContentResolver ());
Setting. updateChannelStatus ();
If (mListener! = Null ){
MListener. onFinished (CellBroadcastCheckBox. this, false );
}
MmsLog. d (LOG_TAG, "setCBState end ");
}
}). Start ();
}
}
How to disable SIM card reporting
1. if you used your ID card and other valid creden when handling the mobile phone SIM card, you can apply for a suspension at the business office of the local mobile operator with valid creden.
2. If you do not have a real-name registration, but you know your SIM card password, you can call the free customer service of your mobile operator and follow the prompts to stop the service.
3. If you do not have a real-name registration and no SIM card password, then, you can first transfer your bill of payment from the past few months to the local mobile operator before reporting the suspension (the specific requirements vary with the operator)
4. If you are in the third case, but the SIM card is useless for you, you can call and send a message to stop it, there will be around 60-90 days of warranty After the shutdown (depending on the operator), during which you can recharge and re-host, will be canceled
What Is SIM card community broadcast?
Some friends in the Forum asked: does community broadcasting require GPRS Support? Residential broadcasting is just another form of information, and does not require GPRS Support. Another point is that China Unicom has not activated this item currently.