文件名称:SharedPreferences记住密码
文件大小:4.67MB
文件格式:ZIP
更新时间:2021-06-13 02:17:24
记住密码 SharedPrefer
利用SharedPreferences记住密码, SharedPreferences sp = getSharedPreferences("bh", MODE_PRIVATE); Editor editor = sp.edit();//编辑器 editor.putString("username", username.getText().toString()); editor.putString("userpwd", userpwd.getText().toString()); editor.commit();
【文件预览】:
RememberPwd
----bin()
--------classes.dex(674KB)
--------res()
--------RememberPwd.apk(1.43MB)
--------jarlist.cache(120B)
--------dexedLibs()
--------classes()
--------resources.ap_(1.2MB)
--------AndroidManifest.xml(1KB)
----res()
--------drawable-ldpi()
--------values-v11()
--------menu()
--------values-v14()
--------drawable-hdpi()
--------drawable-xhdpi()
--------drawable-xxhdpi()
--------values()
--------values-sw720dp-land()
--------drawable-mdpi()
--------values-sw600dp()
--------layout()
----proguard-project.txt(781B)
----ic_launcher-web.png(50KB)
----assets()
----gen()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(177B)
----src()
--------com()
----.project(847B)
----.classpath(475B)
----project.properties(563B)
----AndroidManifest.xml(1KB)
----libs()
--------android-support-v4.jar(607KB)