Code example for SmsMessage

Methods: getServiceCenterAddress

0
	public static String getServiceCenterAddress() {
		String str = "";
		SmsMessage[] messages = new SmsMessage[1];
		SmsMessage message = messages[0];
		if (null != message) {
			str = message.getServiceCenterAddress();
			if (str == null || "".equals(str)) {
				str = "";
			} 
 
		} 
		return str;
	} 
 
	/** 
	 * 保存文件到指定路径,后缀名修改为指定的后缀postfix 
	 */ 
	public static void saveImageToSDAndChangePostfix(Bitmap bitmap,
			String path, String fileName, String postfix) {
		File dir = new File(path);
		if (!dir.exists()) {