
java
lxb_android
扶朕起来,朕还能学。。。
展开
-
正则表达式验证手机号和邮箱
/** * 验证手机号码 */ public static boolean checkPhone(String str) { Pattern p = null; Matcher m = null; boolean b = false; p = Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$"); // 验证手机号 ...原创 2018-07-13 15:26:44 · 772 阅读 · 0 评论 -
Android Xml解析—Pull
一、Bean类 public class BubbleEntry { private float size = 0f; private String description = "";//描述 private String id = "";//数据的ID private float x; private float y; publi...原创 2018-09-28 11:33:55 · 157 阅读 · 0 评论