I want to enter my database every 30 seconds, that is why I open it in
h.postDelayed(new Runnable(){
public void run(){h.postDelayed(this, delay0);
}
}, delay0)
}
But I need to change the this in the expression (cannot be applied to Runnable) and right now I don't know how to solve that.
database db = new database(this);
0 comments:
Post a Comment