Problem facing in reading file from Internal memory of android

一笑奈何 提交于 2019-12-20 02:57:12

问题


I am facing the problem with openfileinput class. First thing is , I am saving my username and password in the file.On sucessful login, I will be saving and moving to internal home screen.The problem is when I logout or close the application, and reopen the application I am able to read the data but when I convert it to String I get Out put as AAAAAA(each as 4 bytes). On succesful login on moving to Home screen , I am able to read it properly.I get this output before login.

This is something like , saving username and password in internal memory of android.

Regards:

Jayanth Gande

来源:https://stackoverflow.com/questions/3037037/problem-facing-in-reading-file-from-internal-memory-of-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!