Android Question I need a toastmessage or something like it in my Starter

mscientist33

Active Member
Licensed User
When the app starts it checks for updates to the database, if there is I need to display a toastmessage or some way of letting the user know the the app is updating. The toastmessage crashess the app with the "unable to add window" error. Any good way to do this?
 

Peter Simpson

Expert
Licensed User
Longtime User
Use a B4XPage
 
Upvote 0

mscientist33

Active Member
Licensed User
I moved all my "Starter" code to "Main" and I still get the error "Unable to add window". I have even moved the code to "B4XMainPage".
 
Upvote 0

pliroforikos

Active Member
Licensed User
1. Create a sub with the code you want to run when app starts.
2. Call the sub in B4XPage_create after loading main layout.
 
Upvote 0
Top