I have three tabbed activities and everyone is a listView with the same cursorAdapter.
Of course, there is a different cursor in every activity (the only difference between them is the where string).
I have overridden the runQueryOnBackgroundThread() in the adapter in order to have a filtered list.
I need to know the Actvity I came from when I am inside the runQueryOnBackgroundThread() method, because I need to add a string to the filtered query
You could try
.getClass().getSimpleName();