@@ -2983,15 +2983,17 @@ protected interface StatusColumns {
29832983 * long streamItemId = ContentUris.parseId(streamItemUri);
29842984 * </pre>
29852985 * </dd>
2986- * <dt>Via the {@link StreamItems#CONTENT_URI} URI :</dt>
2986+ * <dt>Via {@link StreamItems#CONTENT_URI}:</dt>
29872987 * <dd>
2988+ *<pre>
29882989 * ContentValues values = new ContentValues();
29892990 * values.put(StreamItems.RAW_CONTACT_ID, rawContactId);
29902991 * values.put(StreamItems.TEXT, "Breakfasted at Tiffanys");
29912992 * values.put(StreamItems.TIMESTAMP, timestamp);
29922993 * values.put(StreamItems.COMMENTS, "3 people reshared this");
29932994 * Uri streamItemUri = getContentResolver().insert(StreamItems.CONTENT_URI, values);
29942995 * long streamItemId = ContentUris.parseId(streamItemUri);
2996+ *</pre>
29952997 * </dd>
29962998 * </dl>
29972999 * </dd>
@@ -3012,7 +3014,7 @@ protected interface StatusColumns {
30123014 * StreamItems.StreamItemPhotos.CONTENT_DIRECTORY), values);
30133015 * </pre>
30143016 * </dd>
3015- * <dt>Via {@link ContactsContract.StreamItems#CONTENT_PHOTO_URI}</dt>
3017+ * <dt>Via {@link ContactsContract.StreamItems#CONTENT_PHOTO_URI}: </dt>
30163018 * <dd>
30173019 * <pre>
30183020 * values.clear();
@@ -3021,7 +3023,7 @@ protected interface StatusColumns {
30213023 * values.put(StreamItemPhotos.PHOTO, photoData);
30223024 * getContentResolver().insert(StreamItems.CONTENT_PHOTO_URI, values);
30233025 * </pre>
3024- * Note that this latter form allows the insertion of a stream item and its
3026+ * <p> Note that this latter form allows the insertion of a stream item and its
30253027 * photos in a single transaction, by using {@link ContentProviderOperation} with
30263028 * back references to populate the stream item ID in the {@link ContentValues}.
30273029 * </dd>
0 commit comments