When the sim card is being searched, the community broadcast prompts "information" to stop reporting. The sim community

Source: Internet
Author: User

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.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.