how to retrieve data from db and display it in list?
- by raji
In the below code I am passing catID to db.getNews(catID)
super.onCreate(savedInstanceState);
setContentView(R.layout.newslist);
Bundle extras = getIntent().getExtras();
int catID = extras.getInt("cat_id");
mInflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
final ListView lv = (ListView)…