Displaying bookmarks on an Android device
<p>I am trying to add a bookmark through code to the Android browser. I am able to do that successfully in the emulator, but the same code is not working on the device. </p>

<p>Note: when I query, the bookmarks database, the URL is there. It's just not able to display in the device.</p>

<p>This is my code snippet</p>

<pre><code>ContentValues cv = new ContentValues();
cv.put(Browser.BookmarkColumns.TITLE, cursor.getString(1));
cv.put(Browser.BookmarkColumns.URL, cursor.getString(2));
cv.put(Browser.BookmarkColumns.BOOKMARK, 1);
Uri u = getContentResolver().insert(Browser.BOOKMARKS_URI,cv);
</code></pre>

<p>Where am I going wrong?</p>
