• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Ringer
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4

2014年10月18日

Android Studio开发入门-引用jar及so文件
摘要: 一、引用jar文件 1.将jar文件复制、粘贴到app的libs目录中; 2.右键点击jar文件,并点击弹出菜单中的“Add As Library”,将jar文件作为类库添加到项目中; 3.选择指定的类库。 注:如果不执行2、3步,jar文件将不起作用,并且不能使用import语句引用。 二... 阅读全文
posted @ 2014-10-18 12:24 Ringer 阅读(241) 评论(0) 推荐(0)
 
AlertDialog The specified child already has a parent. You must call removeView() on the child's parent first.
摘要: 点击AlertDialog 关闭之后再点击报错:The specified child already has a parent. You must call removeView() on the child's parent first.意思是这个子view 已经有个父view了,你现在要使用的... 阅读全文
posted @ 2014-10-18 12:24 Ringer 阅读(1746) 评论(0) 推荐(0)
 
AlertDialog 简易代码
摘要: builder = new AlertDialog.Builder(getActivity()).setTitle(" ").setMessage(" ").setPositiveButton("确定", new DialogInterface.OnClickListener() {@Overrid... 阅读全文
posted @ 2014-10-18 12:23 Ringer 阅读(165) 评论(0) 推荐(0)
 
判断邮箱格式
摘要: public static boolean isEmail(String strEmail) {String strPattern = "\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";Pattern p = Pattern.compile(s... 阅读全文
posted @ 2014-10-18 12:16 Ringer 阅读(179) 评论(0) 推荐(0)
 
ListView 上面用EditText 改变内容
摘要: holder.insure_account.setOnClickListener(new View.OnClickListener() {@Overridepublic void onClick(final View view) {AlertDialog builder = new AlertDia... 阅读全文
posted @ 2014-10-18 12:15 Ringer 阅读(245) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3