I\'ve been searching for a while trying to find how to populate a listview with information from the MySQLite database. Now when I think I finally found some information I c
The line final DatabaseHandler db = new DatabaseHandler(getActivity()); is declared at the top of your class and so on creation of your Fragment getActivity() will return a null reference.
If you move it inside the onCreate() method you will have an Activity reference your db handler can use.