以下のようにコンテンツプロバイダーでこのSQLを実行するにはどうすればよいですか?
update dtrips set dtp_day_idx=dtp_day_idx+2 where tp_id=1
誰かが私がコードを修正するのを手伝ってもらえますか
DTrip dTrip = new DTrip();
ContentValues values = createContentValues(dTrip);
values.put("dtp_day_idx" ,...);
String select ="tp_id="+tripId;
mContentResolver.update(UsersColumns.CONTENT_URI, values, select, null);
ありがとう。