I have a simple application that onClick creates a new entry in a sqlite db and then creates a new intent and starts a new activity. What are the chances of this “messing” up? Will java wait for it to be done with the db entry before moving on?
DBAdapter test_db = new DBAdapter(getApplicationContext());
test_db.createEntry(level, phase, a, b, c, d);
startActivity(intent);
Is there anyway that starting the new activity could mess up the new db entry if it moves through it too fast for some reason?
Didn’t get the exact answer I wanted. But, turning strict mode on in developer settings in android didn’t make it go off. So I’m just keeping this code.