04 2015 档案

摘要:登陆页 //声明Intent对象,并启动 LoginActivity Activity Intent intent = new Intent(); intent.setClass(LoginActivity.this, MainActivity.class); String... 阅读全文
posted @ 2015-04-22 11:34 海乐学习 阅读(436) 评论(0) 推荐(0) 编辑
摘要:LoginActivity.javapackage com.example.ruian; import android.app.Activity;import android.app.AlertDialog;import android.content.DialogInterface;import ... 阅读全文
posted @ 2015-04-22 11:17 海乐学习 阅读(470) 评论(0) 推荐(0) 编辑
摘要:原工程 右键Copy 再右键点Paste改新的工程名 阅读全文
posted @ 2015-04-21 17:59 海乐学习 阅读(250) 评论(0) 推荐(0) 编辑
摘要:工程右键-》New-》Other-》Android Activity 阅读全文
posted @ 2015-04-21 17:58 海乐学习 阅读(299) 评论(0) 推荐(0) 编辑
摘要:https://github.com/douglascrockford/JSON-js使用其中的 json2.js 作为兼容。这个JS中的函数将JSON对象转换成JSON字符串,解决 IE6、7、8不能使用 JSON.stringify 函数的问题!这样JSON.stringify 便可以正常使用!... 阅读全文
posted @ 2015-04-16 16:49 海乐学习 阅读(567) 评论(0) 推荐(0) 编辑
摘要:格式:update 表名称 set 字段名称 = 字段名称 + 1 [ where语句] 比如说数据库中有一张student表,要想把id为1的学生成绩(score)加1则update student set score=score+1 where id = 1 阅读全文
posted @ 2015-04-16 16:47 海乐学习 阅读(2918) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示