Step #1: Find line 74 of the displayActivity.java
file.
Step #2: Fix whatever problem is on line 74.
Now, the stack trace suggests that line 74 is in onDestroy()
. Assuming that the activity code you have listed above is from displayActivity
, then line 74 must be:
listview1.setAdapter(null);
That means listview1
is null
. You neither declare nor assign a value to this data member in the code you have listed above.
CommonsWare
2010-10-30 07:51:37