extends listActivity한 상태이고 이것을 SimpleCursorAapter로 연계하려하는데

 

ListView is not a view that can be bounds by this SimpleCursorAapter 라는 에러 메세지가 나네요

 

아 이거 힘드네요 고수님들의 의견을 바랍니다.

 

/* ---------------------------------------------------------------------------------------------------------------------

public class PrayMain extends ListActivity{
 
 SQLiteDatabase pray_db1;
 Cursor pray_cursor1;
 ImageButton btn_pray_category_insert;
 SimpleCursorAdapter pray_adapter1;
 ListView lst_category;

 

 @Override
 public void onCreate(Bundle savedInstanceState) {
     
  super.onCreate(savedInstanceState);
  //setContentView(R.layout.pray_main);
      
  pray_db1 = (new DataBaseHelper(this)).getWritableDatabase();
              
        pray_cursor1 = pray_db1.rawQuery("SELECT _id, category from PRAY_category order by _id asc",null);
        startManagingCursor(pray_cursor1);
         
  pray_adapter1 = null;
        pray_adapter1 = new SimpleCursorAdapter(this,
           R.layout.pray_main,
           pray_cursor1,
           new String[] {"category"},
           new int[] {android.R.id.list});
       setListAdapter(pray_adapter1);