app/src/main/java/fr/neamar/kiss/db/DBHelper.java
/**
     * Insert new tags for given id
     *
     * @param context android context
     * @param tag     tag to insert
     * @param record  record to insert
     */
Insert new tags for given id
@param context android context
@param tag     tag to insert
@param record  record to insert
Insert new tags for given id @param context android context @param tag tag to insert @param record record to insert
public static void insertTagsForId(Context context, String tag, String record) {
        SQLiteDatabase db = getDatabase(context);
        ContentValues values = new ContentValues();
        values.put("tag", tag);
        values.put("record", record);
        db.insert("tags", null, values);
    }
public static void insertTagsForId ( Context context , String tag , String record ) { SQLiteDatabase db = getDatabase ( context ) ; ContentValues values = new ContentValues ( ) ; values . put ( "tag" , tag ) ; values . put ( "record" , record ) ; db . insert ( "tags" , null , values ) ; }
Insert new tags for given id
 @param context android context
 @param tag     tag to insert
 @param record  record to insert
Insert new tags for given id @param context android context @param tag tag to insert @param record record to insert