After build .apk and I install it in my phone I’ve the following strange behavior:
When I close the app using the “close application” block the app closes correctly! But when I click on the icon to open the app again it opens then closes instantly! Then I need to click on the app Icon again to open the app!
Also, some values in the TineBD go crazy! It seems that all records are crazy!
The app works great with the companion, but not after install it!
Also, how can i prevent the app run if is already running?
When the app starts it automatically fill the several textboxes in the form!
But, each textbox has an ontext.changed event, and in the end of each ontext.changed event I added another block that call a function to save all textboxes to database!
So, each time the form automatically starts it fills the first textbox, and saves all form in database! Thats why all the others textboxes are empty!
Now, I added a flag that controls the full load of form!
If formloaded=1 then save
Anyway, thank you for all the support provided here on the topic!