summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPEs after merge of d159ec534823b87f9896843e95912b0df8c27e16 from openBen Murdoch2010-07-191-1/+1
| | | | | | source master. Change-Id: Ief98236102983698e4b753ec9649142761c86607
* Improve the visibility and discoverability of the "add shortcutBen Murdoch2010-07-091-10/+47
| | | | | | | | | | | | | | | to home" functionality in the Browser. When the user selects the bookmark button adjacent to the URL bar they will be prompted to either add a new bookmark for the current page or add a shortcut to the current page to their homescreen, rather than being taken to the bookmark management activity. The bookmarks button on the options menu will still take the user directly to the bookmark management activity. Bug: b/2794945 Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
* Move queryBookmarksForUrl to background thread.Leon Scroggins2010-04-231-4/+1
| | | | | | Bug 2611964 Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280
* Log when bookmarks are addedKristian Monsen2010-02-011-0/+1
| | | | Log when the user add a bookmark, sending the url of the bookmark and how the bookmark was added
* Save to database in non UI thread.Leon Scroggins2010-01-041-27/+41
| | | | Work to prevent ANR reported in http://b/issue?id=2322540 category 1.
* Do not attempt to parse javascript: bookmarks as URIs, as this often fails.Ben Murdoch2009-11-171-20/+25
| | | | | Bug: http://b/2261225 Change-Id: I3322a2326cdddd290d4c5b95cc87624631d47c00
* Don't allow the user to save bookmarks with a scheme that the Browser cannot ↵Ben Murdoch2009-10-141-3/+8
| | | | | | directly handle. Change-Id: I9cbdfeaaeef4ded3dac1623854ecb9c5c603eb91
* Update the icon in the Add New Bookmark dialog and add a separator between ↵Ben Murdoch2009-10-011-1/+1
| | | | | | the title and UI widgets. Change-Id: I2e6b75a4205a2fdc7a2dbecf276e1ad5cf567d75
* Save a new bookmark to the bookmarks DB asynchronously. Fix for bug 2151093.Ben Murdoch2009-09-301-34/+76
| | | | Change-Id: I860482f0a0610669f87965947b0818508d8988b7
* Fix NPE when adding a new bookmark.Ben Murdoch2009-09-281-1/+1
| | | | | | Bug: 2148968 Change-Id: I03025c3845e536d8aba0c1a8f2c6537333422a48
* In the case of a page load error, save a second screenshot in ↵Ben Murdoch2009-09-241-2/+13
| | | | | | onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page. Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
* Support precomposed app icons.Patrick Scott2009-09-221-2/+1
| | | | | | The precomposed icon overrides any other touch icon. We still need to do the round rect clip because apparently apple still applies the rounded corners, just not the glass effect. Inset the rectangle by 1 to fit the icons better.
* allow file: scheme in the browserCary Clark2009-09-091-13/+21
| | | | | | | | When creating a bookmark, allow the book's URL to start with javascript: . Use URI to isolate the scheme to take care of case and special characters. fixes http://b/issue?id=2059889
* allow adding content: bookmarksCary Clark2009-09-011-1/+1
|
* Make the "Most visited" page have a thumbnail viewing mode.Leon Scroggins2009-08-061-1/+1
| | | | | | | | | Start capturing screenshots for all visited pages, and show them in a grid view on the most visited page. Modify the BrowserBookmarks- Page and Adapter so they can be used for the "Most visited" page. Also change some of the ids for context menu items to be the same in the browser and history context menus, for simplicity in handling them in BrowserBookmarksPage.
* Implement onReceivedTouchIconUrl.Patrick Scott2009-08-051-1/+12
| | | | | | | | | | | Add DownloadTouchIcon, an AsyncTask that downloads the apple-touch-icon for urls that are marked as bookmarks. The touch icon is stored in the bookmark database similar to favicons and thumbnails. If a shortcut is created for a bookmark containing a touch icon, the touch icon is used (with rounded corners). Refactor the bookmarks query to be a static function. The function uses the original url and new url to look for matching bookmarks. This takes care of redirects as well as bookmarks containing queries.
* First real cut of bookmarks backup agentChristopher Tate2009-07-271-1/+1
| | | | | | | | | | | | | | | | | | | The agent now does backup/restore of the bookmarks table. Whether to back up is determined by flattening the bookmark table, CRCing the flattened representation, and comparing the CRC with the previous backup pass's version. If they differ (or if the file size differs), the table is deemed to have changed and we send the flattened file off to the server as a single key. On restore, the bookmark records are read individually from the flattened representation, the existing bookmarks table is queried for a matching URL, and if none exists the bookmark is inserted into the table. Bookmarks.addBookmark() now takes a boolean argument "retainIcon." When false, the implementation will not call into the web icon database. This is necessary during restore because the web icon database is only available from the Browser app's main thread, but restore happens without the app proper being involved. The other call points for addBookmark() have been updated to pass 'true,' i.e. preserving the current behavior.
* Consolidate bookmark add/delete code in the browser.Leon Scroggins2009-06-151-101/+1
| | | | | Driven by a desire to put bookmarking functionality into the title bar, I have consolidated the code for adding and removing bookmarks.
* Fix an issue where bookmarking https: sites doesn't work.Leon Scroggins2009-05-211-11/+12
| | | | | | | | Fix for issue 1863535. We were storing https:// sites in the database without https:, so it was stored as a non secure site. Then going back to that bookmark does not work. Now, use the truncated url to compare, but store the original url (with https at the beginning)
* When adding a bookmark, use the same database entry as the history item.Leon Scroggins2009-05-081-5/+32
| | | | | | | | | Fix for buganizer issue 1659694. Prior to this change, the user could visit http://cuil.com, and then bookmark http://www.cuil.com, and the bookmark would be stored in the database as a separate entry. This results in the bookmark claiming to have been visited long ago. Now, the two are stored as one entry, clearing up disagreements about number of visits and last visited date.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+226
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-226/+0
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-11/+8
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-15/+48
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+195