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