Oscarin
Member
Hi, I am using this tutorial on how to connect to MySQL DB
But I have a problem because I need to wait for the query to finish before proceeding on to the next process.
I send a SELECT * FROM and I need to wait for the result because depending on the result I will do an UPDATE or an INSERT, I know about the WAIT FOR, but unfortunately I don't know how to use it.
I am using the exact same code as the tutorial, just modified to my needs
Thanks for any help.
Connect Android to MySQL Database Tutorial
A new more powerful framework is now available: jRDC2. This tutorial explains the basic concepts required for creating a connection between Android device and a remote server. In this case it is a MySQL database. A tutorial for connecting to SQL Server is available here. Android cannot connect...
www.b4x.com
I send a SELECT * FROM and I need to wait for the result because depending on the result I will do an UPDATE or an INSERT, I know about the WAIT FOR, but unfortunately I don't know how to use it.
I am using the exact same code as the tutorial, just modified to my needs
Thanks for any help.