Hallo!
Ich lösche aus einer SQL-Tabelle innerhalb eines Services viele Zeilen aus einer Tabelle.
Frage: Kann mir jmd. sagen, warum das Activity trotzdem "einfriert"?
Vielen Dank!!
Ich lösche aus einer SQL-Tabelle innerhalb eines Services viele Zeilen aus einer Tabelle.
Frage: Kann mir jmd. sagen, warum das Activity trotzdem "einfriert"?
Vielen Dank!!
B4X:
Sub Service_Start(StartingIntent As Intent)
For c = 0 To SocketService.DataForTransactionMap.Size - 1
Database.mySQL.ExecNonQuery2("DELETE FROM DBLog WHERE id = ?", Array As String(SocketService.DataForTransactionMap.GetKeyAt(c)))
Next
SocketService.DataForTransactionMap.Clear
End Sub