Questions tagged [android-browser]

The web browser used on older (pre 4.4) and non-Google experience versions of Android, based on the open-source WebKit layout engine, coupled with Chrome's V8 JavaScript engine

The web browser available in Android is based on the open-source WebKit layout engine, coupled with Chrome's V8 JavaScript engine. The browser scores 100/100 on the Acid3 test on Android 4.0.

522 questions
1460
votes
39 answers

How can I open a URL in Android's web browser from my application?

How to open an URL from code in the built-in web browser rather than within my application? I tried this: try { Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(download_link)); startActivity(myIntent); } catch…
Arutha
  • 24,390
  • 25
  • 64
  • 80
119
votes
6 answers

WebView link click open default browser

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…
Kyle
  • 1,439
  • 3
  • 12
  • 11
70
votes
15 answers

Is there a kind of Firebug or JavaScript console debug for Android?

I'm developing a website for mobile. It works on Firefox desktop. It works on iPhone, but when I press a buton on Android 2.x (and maybe lower). my JavaScript code crashes or what else... Can I get access to the logger or JavaScript console for…
Christophe Debove
  • 5,600
  • 18
  • 67
  • 120
47
votes
14 answers

How to detect the stock Android browser

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…
gsingh2011
  • 11,032
  • 21
  • 93
  • 138
44
votes
8 answers

Disable Android browser's input overlays?

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…
Alex Korban
  • 14,220
  • 5
  • 40
  • 54
35
votes
4 answers

Android WebView VS Phone Browser

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 Browserinstalled on each phone? As an example, I've developed some applications that had to…
Ovidiu Latcu
  • 68,451
  • 14
  • 71
  • 82
30
votes
5 answers

Android browser bug? div overflow scrolling

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…
mercador
  • 745
  • 2
  • 8
  • 14
26
votes
2 answers

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

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,…
21
votes
3 answers

HTML5 audio not playing multiple times in Android 4.0.4 device Native Browser

I am currently working on an HTML5 project. There is an issue on playing same audio file multiple times in the same page in Android native browser. The issue is specifically noticed on Android ICS 4.0.4 version. In this version the audio will be…
Pintu Francis
  • 486
  • 3
  • 11
20
votes
6 answers

changePage "jumps" back to old page

I've a big problem with a jQuery Mobile Application: I'm using custom functions (they are triggered by onClick) to switch the page with currentPage. It only happens on Android-Devices on sites in which has changed (due to ajax requests) with the…
Ueli
  • 2,041
  • 4
  • 24
  • 29
19
votes
4 answers

Is it possible, in JavaScript, to detect when the screen is turned off in the Android & iOS browsers

I was tracking down some ridiculously high load times that my app's javascript reported, and found that Android (and iOS) pause some JavaScript execution when the window is in the background or the display is off. On Android, I found that I could…
Nathan Friedly
  • 7,377
  • 3
  • 35
  • 57
18
votes
8 answers

Open Chrome App with URL

Is there a way to open Chrome app on Android from default Android browser? I'm able to open the app, but it doesn't redirect user to correct page. This is what I tried: I saw that I may have to form an…
juminoz
  • 3,240
  • 7
  • 32
  • 48
17
votes
3 answers

Is is possible to pass a custom argument to android market so my app receives it on first launch?

Is there a way to pass a custom argument to android market (or any other way) so my app receives the argument after it gets installed (and run for the first time). Let me explain. Start an intent with argument1="Hello world1" (custom argument …
weakwire
  • 9,169
  • 8
  • 51
  • 78
16
votes
3 answers

How to debug Android's native browser (not Chrome) on a desktop machine?

I can successfully debug the front end of a web application running on a mobile device using Google's Chrome DevTools (chrome://inspect) when my mobile device is using the Chrome's browser (using port forwarding). I was wondering whether it is…
tonix
  • 5,862
  • 10
  • 61
  • 119
16
votes
2 answers

Android Stock Browser Not Respecting CSS Overflow

I'm working with a client who would like part of their interface to have a somewhat customized method of scrolling. They don't want the usual scrollbars to be visible; they want desktop / laptop users to scroll with their mouse wheel / touchpad and…
Nick
  • 7,291
  • 15
  • 58
  • 103
1
2 3
34 35