Android : Upon Force close clear password in login screen
I have the following scenario, please help me to find possible solution...开发者_运维问答
- I am logging into my application.
- Then I navigate to different screens of my application.
- Application crash in One scenario that i could not handle..That is while uploading the Video of large size.
- Then it will give me Force close POP UP and then redirects to LOGIN Screen. There i need to clear my password for the security reason.....
Anyone can help me to clear password when application crashes....
Try wrapping your your code in a try catch block. If you catch an exception, then clear the password.
If you are experiencing a non-intended exception, you should probably re-work your code.
You should probably fix the force close.
精彩评论