Hi guys,
I need to launch an sql query when a button is pressed :
I need to pass these 2 parameters "int entryId" and "int type" inside the listener.
I tryied this :
but the probl
I need to launch an sql query when a button is pressed :
Code:
public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
db = new Database();
scores = db.UpdateScore(entryId, types[type]);<=== ERROR HERE ("entryId" and "type" not defined)
return true;
}
I tryied this :
Code:
public boolean touchDown (InputEvent event, float x, float y, int pointer, int button, int entryId, int type)
but the probl
