问题描述
我开发一个应用程序,其中用户需要登录到执行操作...但大多是Android手机脂肪酶使用保持登录......在THT情况下,我不得不保持用户名的值我app..should内的密码我用preferences,或SQLite的DB或有别的东西,我怎么可以把它安全吗?plz帮助...在此先感谢。
I am developing an app where user needs to sign in to perform operations...but mostly on android handset ppl use "keep me signed in"...and in tht case I'll have to maintain the value of username and password within my app..should I use preferences, or SQLite Db or is there something else and how can I make it secure?Plz Help...Thanks in advance..
推荐答案
模式专用的getShared preferences我猜:<一href="http://developer.android.com/reference/android/content/Context.html#getShared$p$pferences%28java.lang.String,%20int%29" rel="nofollow">http://developer.android.com/reference/android/content/Context.html#getShared$p$pferences%28java.lang.String,%20int%29
Mode private in getSharedPreferences i guess:http://developer.android.com/reference/android/content/Context.html#getSharedPreferences%28java.lang.String,%20int%29
这篇关于存储的用户名和密码,在Android应用程序的最佳选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!