android-browser

Galaxy S4 stock browser CSS3 border-radius support?

拟墨画扇 提交于 2019-11-28 11:58:14
This is a very specific question, that I can't find any documented evidence to support, but have rather a lot of empirical evidence, although only based on a single phone. The single Galaxy S4 that we have available in the office doesn't appear to have support for the border-radius property in it's stock browser. I've tested several different websites, and have tried all different browser versions of the property (webkit, moz, etc), and it just don't seem to support it. Because we only have 1 S4 available (I've asked around, and no one else has one or knows anyone who does), and because

Android Browser.BOOKMARKS_URI does not work on all devices. How to find out the correct uri for a given device?

大城市里の小女人 提交于 2019-11-28 10:13:30
I am trying to use Android Browser.BOOKMARKS_URI to CRUD device bookmarks from within my app ( https://play.google.com/store/apps/details?id=com.elementique.web ) It's working fine on most of the devices, but does not work on some :-( On those devices, trying to use bookmarks leads to java.lang.IllegalArgumentException: Unknown URL content://browser/bookmarks I now understand that Boookmark Uri can be different than the AOSP default value (i.e. "content://browser/bookmarks"). Question: How can I get the correct Bookmark Uri for a given device? I already 'collected' the following URI private

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

血红的双手。 提交于 2019-11-28 06:49:36
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. Google has definitely killed the System Bookmarks feature( here & here ), question is if Chrome Browser

How to detect the stock Android browser

霸气de小男生 提交于 2019-11-28 04:38:50
Navigating to http://whatsmyuseragent.com/ shows me my stock Android browser on my Galaxy Nexus running 4.2.1 has the user agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24 There is nothing in this user agent that allows me to uniquely detect that it is a stock Android browser. The Chrome for Android app at least has android in the UA. Is there any way for me to detect the stock Android app? var navU = navigator.userAgent; // Android Mobile var isAndroidMobile = navU.indexOf('Android') > -1 && navU.indexOf('Mozilla/5.0') > -1 && navU

Application cache in HTML5 doesn't work in Android PhoneGap application

ε祈祈猫儿з 提交于 2019-11-28 02:11:50
问题 I'm trying to use application cache in HTML5 for Android PhoneGap Application, but this doesn't work, it doesn't feel with ApplicationCahce Events. function logEvent(event) { console.log(event.type); } window.applicationCache.addEventListener('checking', logEvent, false); window.applicationCache.addEventListener('noupdate', logEvent, false); window.applicationCache.addEventListener('downloading', logEvent, false); window.applicationCache.addEventListener('progress', logEvent, false); window

Android browser bug? div overflow scrolling

喜夏-厌秋 提交于 2019-11-27 18:31:58
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? 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's difficult to implement on sites with complex layouts, and you need to a call a method everytime the

Disable Android browser's input overlays?

我怕爱的太早我们不能终老 提交于 2019-11-27 11:46:31
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 should probably mention that I'm using jQuery Mobile. My test device is an HTC Evo 4G. Related questions:

Android WebView VS Phone Browser

自闭症网瘾萝莉.ら 提交于 2019-11-27 11:40:40
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 the videos won't play and so on. And the strange thing is that they work properly if opened in the Browser

Performance problems with HTML5 Canvas in some mobile browsers.

六月ゝ 毕业季﹏ 提交于 2019-11-27 09:54:47
问题 Hi I have a Webapp that should be able to run on both Smartphone and Desktop Browsers alike. While I was expecting to get some curious behaviour on small devices like the Iphone, I was pretty confident that it would run well on an Android Galaxy Tab which is the Android Device that I can run tests with at the moment. Now I have installed a bunch of Browsers on the Galaxy Tab to test things with: Android Native Browser Chrome for Android Firefox for Android On the Desktop I have used Firefox

can we get chrome browsing history/bookmarks in our android app

廉价感情. 提交于 2019-11-27 03:36:29
can we get chrome browsing history/bookmarks like we get in default browser using READ_HISTORY_BOOKMARKS permission? PS:I Just want to know is it possible? Yes it is very much possible. Use this uri: content://com.android.chrome.browser/bookmarks instead of Browser.BOOKMARKS_URI String[] proj = new String[] { Browser.BookmarkColumns.TITLE,Browser.BookmarkColumns.URL }; Uri uriCustom = Uri.parse("content://com.android.chrome.browser/bookmarks"); String sel = Browser.BookmarkColumns.BOOKMARK + " = 0"; // 0 = history, 1 = bookmark Cursor mCur = getContentResolver().query(uriCustom, proj, sel,