摘要:
一、首先新建Adnroid项目 然后就是新建 数据库文件创建DBSQLiteOpenHelper类 并让它继承 SQLiteOpenHelperpublic class DBSQLiteOpenHelper extends SQLiteOpenHelper { // 数据库的名称 ... 阅读全文
摘要:
package com.example.fourandroid; import android.annotation.SuppressLint; import android.ap... 阅读全文
摘要:
public class RegularUtil { public static boolean checkName(Activity context, String name) { if (TextUtils.isEmpty(name) || name.length() 1... 阅读全文
摘要:
对于字符串处理Android为我们提供了一个简单实用的TextUtils类,如果处理比较简单的内容不用去思考正则表达式不妨试试这个在android.text.TextUtils的类,主要的功能如下:是否为空字符 booleanandroid.text.TextUtils.isEmpty(CharSe... 阅读全文