i have a method that does an SQLite database update and put this inside of an AsyncTask to make it faster and more reliable.
however there are two pieces of data tha
you can also try something like this :
private class xyz extends AsyncTask
Just a simple remark. In this way, it should be pointed out that you can not pass the primitive data (because the primitives can not be stored as an Object). For a primitive data the only way is to have the wrappers (like to Integer, Boolean etc.) converted then as usual. For example,
int i = (Integer) objects[0];