Android Question mysql connection problem

3394509365

Active Member
Licensed User
Hi I'm trying to connect to my sql server from android. I am at the beginning, that is, with the connection and I am already at rest
I wrote this with my credentials but it never initializes

Sub Button1_Click
Dim db As MYSQL
Dim L As List
db.setDatabase("LAPTOP-33333333","SQLTutorial","pippo","pippo")

L = db.Query("Select * FROM Products")
If L.IsInitialized=False Then
Msgbox("Records Not Found","Warning")
Return
Else
For i = 0 To L.Size
ListView1.AddSingleLine(L.Get(i))
Next
End If
End Sub
 

3394509365

Active Member
Licensed User
I use Basic4A I downloaded the JdbcSQL.jar library but I don't load it between libraries.
I have version 3.20 of Basic4Android

Does anyone have an example in my version?
 

3394509365

Active Member
Licensed User
io non sono uno sviluppatore, ma un dilettante, e mi piace l' informatica non devo fare niente di commerciale.
Uso basic4android per le mie app personali.
Se non fosse indispensabile continuerei ad usare questo. Poi, se invece, per quello che devo fare mi serve per forza la nuova versione allora hai ragione, serve quella nuova. Cosa mi dici?
Grazie
 
Top