I would like to create something 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, the android will open the main Activity and check the database, if it has any table, hold the main Activity, if it has nothing, it opens Activity for the creation of the table.
If you have 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 was easy to understand my purpose.