这是体温上报情况,
可以通过统计后台信息,
并显示出来
name = findViewById(R.id.editName);
deleteButton = findViewById(R.id.btn_delete);
deleteButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
SQLiteDatabase db = dbHelper.getWritableDatabase();
db.delete("temperature", "name=?", new String[]{name.getText().toString()});
db.close();
Log.d("myDeBug", "DeleteSuccess");
name.setText(null);
}
});
}