Tell me pliz how using Java in the Android application, check if a person has access to Api?
When you download the application, a login page appears. You must enter a username and password. After that, if the login is correct, there is a transition to another activation. And if the login is not correct, then nothing happens. I want to check if this user does not have access, then display a message about it on the screen.