//更新数据库中的记录
ContentValues cv = new ContentValues();
cv.put(Body.HTML_Content, newHtmlBody);
//first是需要查找的列名
String where = Body.Message_Key + "=" + mMessageId;
getContentResolver().update(Body.CONTENT.URI, cv, where, null);
ContentValues cv = new ContentValues();
cv.put(Body.HTML_Content, newHtmlBody);
//first是需要查找的列名
String where = Body.Message_Key + "=" + mMessageId;
getContentResolver().update(Body.CONTENT.URI, cv, where, null);
//上面方法的一个参数是表名,second列名与值,third行,fourth可以为null
http://zhidao.baidu.com/question/6119857.html?fr=qrl&cid=905&index=1