0
I’d like to create something more or less like this:
Se(O banco de dados tiver tabela criada) {
Manter a Activity Principal;
} Senão {
Abra Activity de criação da tabela;
}
In short, android will open the main activity and check the database, if you have any table, keep the main activity, if you have nothing, it opens Activity for table creation.
If you are able to check the database before opening any Activity with some Splash Screens, for example a screen with a Progress bar, it can be. It’s even cooler in my opinion. I think it’s easy to understand my purpose.
No need to use
<br>
to make line break. Use the space bar twice and do enter. For more information about formatting follow this link.– ramaral
Thank you so much for the @ramaral tip
– Giovani Rodrigo