APISonar


org.qii.weiciyuan.support.database.table.DraftTable.GPS

> org > qii > weiciyuan > support > database > table > DraftTable > GPS
org APIs qii APIs weiciyuan APIs support APIs database APIs table APIs DraftTable APIs GPS APIs

Example 1
public void insertStatus(String content, GeoBean gps, String pic, String accountId) {
        ContentValues cv = new ContentValues();
        cv.put(DraftTable.CONTENT, content);
        cv.put(DraftTable.ACCOUNTID, accountId);
        if (gps != null) {
            cv.put(DraftTable.GPS, new Gson().toJson(gps));
        }
        if (!TextUtils.isEmpty(pic)) {
            cv.put(DraftTable.PIC, pic);
        }
        cv.put(DraftTable.TYPE, DraftTable.TYPE_WEIBO);
        wsd.insert(DraftTable.TABLE_NAME,
                DraftTable.ID, cv);
    }