You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SmsHandler.builder(context, "+989120000000")
.withCarrierNameFilter("MCI")
.withCustomDialogForSendSms(R.layout.my_sms_dialog)
.withCustomDialogForChoseSim(R.layout.simcard_choosing_dialog)
.needToShowSendSmsDialog(false)
//Here is the logcat pointing
.build().sendSms(DIALOG_MESSAGE, SMS_BODY, new MySmsManager.SMSManagerCallBack() {
@Override
public void afterSuccessfulSMS(int smsId) {
}
@Override
public void afterDelivered(int smsId) {
}
@Override
public void afterUnSuccessfulSMS(int smsId, String message) {
}
@Override
public void onCarrierNameNotMatch(int smsId, String message) {
}
});
Here is the stacktrace
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources
android.content.Context.getResources()' on a null object reference
The text was updated successfully, but these errors were encountered:
Here is the stacktrace
The text was updated successfully, but these errors were encountered: