M mw71 Active Member Licensed User Longtime User May 6, 2020 #1 Hi, I tested this code: https://www.b4x.com/android/forum/threads/jdbcsql-directly-connect-to-remote-databases.84016/ works well for me (I know it's not the best option, but ok for me, the only other solution is with PHP) The code disables strict mode. (https://www.b4x.com/android/forum/threads/workaround-the-networkonmainthread-exception.44760/) - It is OK. replace permitAll with permitNetwork ?? - can I and is it a good solution to activate strict mode after working with the database? - how can I do that? (detectNetwork / detectAll)
Hi, I tested this code: https://www.b4x.com/android/forum/threads/jdbcsql-directly-connect-to-remote-databases.84016/ works well for me (I know it's not the best option, but ok for me, the only other solution is with PHP) The code disables strict mode. (https://www.b4x.com/android/forum/threads/workaround-the-networkonmainthread-exception.44760/) - It is OK. replace permitAll with permitNetwork ?? - can I and is it a good solution to activate strict mode after working with the database? - how can I do that? (detectNetwork / detectAll)
Erel B4X founder Staff member Licensed User Longtime User May 7, 2020 #2 mw71 said: It is OK. replace permitAll with permitNetwork ?? Click to expand... It will probably work. I wouldn't try to enable it again. It will only cause problems. Upvote 0
mw71 said: It is OK. replace permitAll with permitNetwork ?? Click to expand... It will probably work. I wouldn't try to enable it again. It will only cause problems.
M mw71 Active Member Licensed User Longtime User May 8, 2020 #3 Erel, thank for Anser. It will probably work. Click to expand... I have test permitNetwork, looks work fine. I wouldn't try to enable it again. It will only cause problems. Click to expand... o.k., then i let it be Upvote 0
Erel, thank for Anser. It will probably work. Click to expand... I have test permitNetwork, looks work fine. I wouldn't try to enable it again. It will only cause problems. Click to expand... o.k., then i let it be