摘要: 只要app在运行中,他就是一个application。因此可以用它来保存一些全局变量 write read 阅读全文
posted @ 2017-07-05 18:27 alm 阅读(1604) 评论(0) 推荐(0) 编辑
摘要: 1 package com.example.alimjan.hello_world.Utils; 2 3 import android.graphics.Bitmap; 4 import android.graphics.BitmapFactory; 5 6 import java.io.BufferedInputStream; 7 import java.io.... 阅读全文
posted @ 2017-07-05 17:43 alm 阅读(344) 评论(0) 推荐(0) 编辑
摘要: write read 阅读全文
posted @ 2017-07-05 12:16 alm 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1 package com.example.alimjan.hello_world; 2 3 /** 4 * Created by alimjan on 7/5/2017. 5 */ 6 7 import android.annotation.TargetApi; 8 import android.content.Context; 9... 阅读全文
posted @ 2017-07-05 11:16 alm 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 当输入完手机号之后,点击密码编辑框时,从数据库查看内容,如果含有该号的密码则自动添加,如果没有则空。勾选记住密码选项之后,如果登陆成功则保存到数据库。 阅读全文
posted @ 2017-07-05 10:59 alm 阅读(869) 评论(0) 推荐(0) 编辑
摘要: SQLiteOpenHelper write Read 阅读全文
posted @ 2017-07-05 10:51 alm 阅读(420) 评论(0) 推荐(0) 编辑