Code example for SmsMessage

Methods: getServiceCenterAddress

0
    private String mSMSCenter;
     
    private WorkingMessage(Context activity) {
        mContext = activity;
        mText = "";
        SmsMessage smsMessage = new SmsMessage();
        mSMSCenter = smsMessage.getServiceCenterAddress();
    } 
 
    /** 
     * Creates a new working message. 
     */ 
    public static WorkingMessage createEmpty(Context activity) {
        // Make a new empty working message. 
        WorkingMessage msg = new WorkingMessage(activity);
        return msg;
    } 
 
    public void setDestNum(String num) {
        mDestNum = num;
    }