android-browser

How to get Chrome History & Bookmarks in Android Marshmallow (API>=23)?

混江龙づ霸主 提交于 2019-11-27 01:31:48
问题 Till API Level 22 (i.e. till Lollipop), there has been a way to read History and Bookmarks from the Chrome app (as shown in this thread) using the permission com.android.browser.permission.READ_HISTORY_BOOKMARKS . Now, in Android API=23 Marshmallow, since the entire Browser Bookmark system has been removed in Marshmallow (changes here), the above method does not work anymore. Here is the thread that shows why this is not possible anymore. In my research so far, I have not found good news.

WebView link click open default browser

独自空忆成欢 提交于 2019-11-26 21:37:19
Right now I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, http://www.google.com is clicked within the app it opens the default browser. If anyone has some ideas please let me know! Amokrane Chentir I had to do the same thing today and I have found a very useful answer on StackOverflow that I want to share here in case someone else needs it. Source (from sven ) webView.setWebViewClient(new WebViewClient(){ public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url != null && (url

Android browser bug? div overflow scrolling

余生长醉 提交于 2019-11-26 19:29:07
问题 Can you make the overflow content of a div scrollable in the Android browser? It is scrollable in all other modern browsers. In iOS it is scrollable - however it does not show scrollbars - but it is scrollable via dragging. A simple example: http://jsfiddle.net/KPuW5/1/embedded/result/ Will this be fixed soon? 回答1: Android 3.0 and higher have support for overflow:scroll , on < 3.0 it's another story. You might have some success with polyfills like iScroll, however that does come at a cost. It

Disable Android browser's input overlays?

故事扮演 提交于 2019-11-26 18:05:50
问题 I've got a web page with some text inputs. The Android browser (at least on Android 2.3.4 which is all I've got now) seems to overlay its own control over the input on the page on focus. The problem is that the overlaid control is a white rectangle and it looks ugly. Is there a way to disable it, or style it somehow? UPDATE: Here is an example from the Android emulator: The rounded corners and the background are lost. On the actual device, I don't even see a border around the control. I

Android WebView VS Phone Browser

陌路散爱 提交于 2019-11-26 13:01:54
问题 I\'ve experienced a LOT of strange behaviours with using WebView in Android and I\'m wondering why there are so many diffrences between the WebView and the Browser installed on each phone? As an example, I\'ve developed some applications that had to display HTML content, which contained either jquery-mobile , flash , javascript , YouTube embedded and so on. So I had a lot of problems with displaying this pages inside WebViews . Either they wouldn\'t get displayed at all, just blank, either

WebView link click open default browser

点点圈 提交于 2019-11-26 09:06:59
问题 Right now I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, http://www.google.com is clicked within the app it opens the default browser. If anyone has some ideas please let me know! 回答1: I had to do the same thing today and I have found a very useful answer on StackOverflow that I want to share here in case someone else needs it. Source (from sven) webView.setWebViewClient(new WebViewClient(){ public