*在我的应用程序中,我使用的是 listview 活动,它使用了一个意图函数,它必须转到 tabactivity。ReleaselistActivity.java
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
Cursor Release = mDbHelper.fetchRelease(id);
String Releasename = Release.getString(Release.getColumnIndexOrThrow(ProjectsDbAdapter.KEY_TITLE));
Release.close();
Intent i1= new Intent(this, TabLayout.class);
i1.putExtra(ProjectsDbAdapter.KEY_ROWID_REL, id);
i1.putExtra("project", gprojectName);
i1.putExtra("release", Releasename);
startActivity(i1);
}
我无法进入 tabactivity,如果我单击列表视图,它显示我的应用程序已停止。