tion(p); uid=hm.get("uid").toString(); returnfalse; } }); }?publicvoidshowList(Stringsql){ //TODOAuto-generatedmethodstub SimpleAdapteradp=newSimpleAdapter(context,mydb.showUserList(sql,null),R.layout.activity_guan,newString[]{"uid","uname","uage","uq","us"},newint[]{R.id.uidtv,R.id.unametv,R.id.uagetv,R.id.uqtv,R.id.ustv});?getListView().setAdapter(adp); }?publicbooleanonContextItemSelected(MenuItemitem){ if(item.getItemId()==itemId1) { AlertDialog.Builderbuilder=newBuilder(context); LayoutInflaterinf=getLayoutInflater(); updView=inf.inflate(R.layout.update,(ViewGroup)findViewById(R.id.updlayout)); builder.setView(updView); builder.setTitle("修改用户"); Cursorcur=mydb.getReadableDatabase().rawQuery("select*fromusersswhereuid=?",newString[]{uid}); cur.moveToNext(); Stringname=cur.getString(1);