hi! i am trying to delete the bookmark from The Browser Bookmarks but it is not working, i have tried with the following code. if any body know the solution of this code or the other way to delete the bookmark then kindly reply me.
Cursor results =android.provider.Browser.getAllBookmarks(getContentResolver()); int urlColumn =results.getColumnIndex (android.provider.Browser.BookmarkColumns.URL); results.moveToFirst(); do { String geturl=results.getString(urlColumn); if(geturl.equals(url)) { // i am trying to delete this way, but it is throwing false always. // probably i have to imply the database, i am unable to do this with cursor. del_data=deleteDatabase(geturl); return; } } while(results.moveToNext()); Thanks and regards. Er. Syed Imran Ali --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---