i found the following thread on searching webapps keyword. It is very useful and straight forward concept.
https://www.b4x.com/android/forum/threads/webapp-example-task-manager-using-websockets-sqlite.39884/
my question is: if i want to access say 4 tables in a database using the above concept, will the below coding work or is there any other way to achieve the result ?
https://www.b4x.com/android/forum/threads/webapp-example-task-manager-using-websockets-sqlite.39884/
my question is: if i want to access say 4 tables in a database using the above concept, will the below coding work or is there any other way to achieve the result ?
B4X:
' Init the webserver
srvr.Initialize("srvr")
' Add the websockets
' TaskMgr Handler = TaskMgr.bas
srvr.AddWebSocket("/ws", "TaskMgr")
srvr.Port = 51042
srvr.AddWebSocket("/ws1", "tt1") ( tt1 is one more class module for the next web client form)
srvr.Port = 51043
srvr.Start
'
StartMessageLoop