0
Well, my question is: How do I make an Activity appear only once, and then when the user opens the app again this screen does not appear, only the others. I’ll explain how my project is to be clearer
My project is very simple. There are 3 screens, the first of Registration, the second that is the "main" and the last one a recovery screen.
In the first screen the user registers an email and a password. On Monday he uses the registered password to get off the phone. And at last like I said, it’s a password recovery screen.
And I wanted that after the user made the registration on the first screen and was redirected to the second screen, the first screen no longer appear, I just want it to appear 1 time for the user to register and then no more.
Read: http://answall.com/questions/51093/realizar-uma-a%C3%A7%C3%A3o-only-when-app-is-started-first-time-ap%C3%B3s-a-ins/51099#51099
– itscorey
The questions are different, there is when the person downloaded the app, and when she download an att does not open a screen, there it moves version of the app my no, I want the screen open once and then no more, even with att or not.
– Ian Luca
It turns out that you will use the same function for your case. If the user successfully registers, run the code and save in Sharedpreferences.
– itscorey
The questions are different, but the application is exactly the same. :)
– itscorey
I agree with the @Ramaral signage because what the comrade wants can be easily achieved with a splashscreen only that instead of using a timer use an onclick event.
– Armando Marques Sobrinho
@array is just that. A(one possible) approach is that, both in this question and the other. Just see the answers that were given here.
– ramaral
@ramaral yes, the possible alternatives would be to save in a file . ini or in a Sqlite database, but I believe that
SharedPreferences
be the best method.– itscorey