Android Question jdbcSQL, strictMode (enable/disable)

mw71

Active Member
Licensed User
Longtime User
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)
 
Top