Here is a code found in the Apress Android Essentials book, Its from 2008 so
I'm not sure if its ok but probably it will work ;)
ContentValues inputValues = new ContentValues();
inputValues.put(android.provider.Browser.BookmarkColumns.BOOKMARK,"1");
inputValues.put(android.provider.Browser.BookmarkColumns.URL,"
http://www.apress.com/";);
inputValues.put(android.provider.Browser.BookmarkColumns.TITLE,"Apress, the
not so evil company");

ContentResolver cr = getContentResolver();

Uri uri =cr.insert(android.provider.Browser.BOOKMARKS_URI,inputValues);

hope it helps,
K. Zoltan

2009/6/7 Arun <[email protected]>

>
> Hi,
>
>
> I have an requirement to add couple of bookmarks in Android browser.
>
> Can Any one pls help me out in it.
>
>
> Regards,
> Arun
> >
>


-- 
K. Zoltán

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to