Android Question B4XPages & SQL & TTS

Jerryk

Member
Licensed User
Longtime User
I will be remaking my old B4A app with multiple Activities. I used SQL and TTS here. Now I want to use B4XPages.

1. I used SQL.Initialize... in B4XPage_Created in B4XMainPage file. Where is the best place to put SQL.Close?
2. I will use TTS.Speak on some pages. Where is the best place to place TTS.Initialize, TTS. SetLanguage etc., TTS.Release? On wich subroutines?
 
Top