阅读背景:

在Android中创建登录屏幕/活动的正确方式是什么?

来源:互联网 

I am working on an Android application that requires a user to login before doing anything else. Currently I have created main Activity named LoginScreen and upon successful login this activity launches another Activity called Home. But I see a problem with this approach. What if user presses back button from Home activity? I dont want user going back to login screen. what is the correct way of stopping the user from doing that. Do I need to handle Key Press events?I am working on an Android application that req




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: