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.

528 questions
4
votes
2 answers

how to capture backspace key code in android browser - javascript?

I have a page made in pure HTML Javascript... I handle the keyup code and I need to get the key code, when key code == 8 (backspace) special task must be run... but if I open the page in android browser, chrome, or whatever... backspace doesn't…
Brian
  • 349
  • 1
  • 5
  • 16
4
votes
1 answer

Difference in HTML/JavaScript parsing between WebView and browser

I'm hitting a very peculiar difference between the Android browser and a WebView. Namely, I have the following markup: Now, in the browser, this works perfectly…
Felix
  • 88,392
  • 43
  • 149
  • 167
4
votes
1 answer

Disable Android Browser's (WebKit's) input focus glow

I'm trying to style inputs for a webpage. When the webpage is viewed on Android 4.0.4 default browser, focusing on an input applies a blue glow. Idle: Input focused: I want to disable that blue border (and make my own one), but if i set…
VCake
  • 323
  • 1
  • 3
  • 10
4
votes
2 answers

html5 canvas pixel manipulation problems on mobile devices when setting the alpha channel

I'm attempting to do some raw pixel manipulation, but I'm seeing some very inconsistent results on my android device when setting the alpha channel. A simple example of the kinds of things I'm seeing:
hexist
  • 5,151
  • 26
  • 33
4
votes
2 answers

CSS gradient rendering on android Dolphin 9.0.1

The gradient property does not work ok on my android's dolphin browser, version 9.0.1. Here is the css: position: absolute; top: 0; left: 0; width: 320px; height: 60px; /* Mozilla Firefox */ background-image:…
4
votes
1 answer

Android won't show box-shadow with 0px blur?

Is there an issue with Android's browser showing solid(no-blur) shadows? box-shadow: 0 0 0px 5px #fff; Renders link this in Android compared to Chome, iPhone or blackberry? You can fine the full CSS here: http://jsfiddle.net/kEq3U/3/ My Android is…
Owen
  • 760
  • 1
  • 7
  • 25
4
votes
2 answers

Android: How to store array of strings in SharedPreferences for android

I'm building an app which searches the web using search engine. I have one edittext in my app from which user will search the web. I want to save the search keywords just like browser history does. I'm able to save and display it with the last…
Anupam
  • 3,742
  • 18
  • 55
  • 87
4
votes
3 answers

Stop Android from zooming on double-tap

I'm making a (very) small page which is used by Speech and Language therapists to count stutters in speech. For each syllable they press a "Syllable" button, and for each stutter they press a "Stutter" button. The intended use is on an Android…
user1318194
4
votes
1 answer

how to work with pop ups window in android webview

I am developing browser like application using a Webview for my own understanding. I am not yet clear how to work with pop-ups in android Webview. I came across these methods onJsAlert(), onJsBeforeUnload(), onJsConfirm() etc to handle java script…
nishi
  • 1,245
  • 3
  • 13
  • 22
3
votes
2 answers

setVolume for html5 audio doesn't work on mobile Android or Safari - Any workaround?

So it seems like setVolume() for html5 audio doesn't work at all on both Android stock browser and Mobile Safari. Here's a test case. Is there any further evidence to this, an open issue or perhaps even a workaround (apart from resorting to Flash…
Ronny
  • 4,295
  • 2
  • 24
  • 30
3
votes
1 answer

How to disable highlighting of a canvas on tap for Nexus Galaxy?

I'm writing a web app that uses an HTML5 canvas and testing on a Nexus Galaxy. When the user taps on the canvas, it highlights teal for a second, even though I am calling preventDefault() on the touchstart event. I have also tried some CSS rules.…
lacker
  • 5,470
  • 6
  • 36
  • 38
3
votes
0 answers

jQueryUI Dialog position in Android (Droid Bionic)

I'm working on a web app involving several jQueryUI modal dialogs used for editing single data items. It works great on the desktop and in MobileSafari, but in Android, the position of the dialog is way off. It's supposed to be positioned center,…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145
3
votes
3 answers

JavaScript : window offline event not firing on Android phones (not in Android Browser or Chrome) and navigator.onLine Return always true

JavaScript navigator.onLine command suddenly stop working on Android phones, not in Android Browser, also not in Chrome! In Android Galaxy, as soon as you put on flight mode (or there is no internet), you get a notification that there is no internet…
Zvi Redler
  • 1,708
  • 1
  • 18
  • 29
3
votes
1 answer

cookies getting cleared on closing a webapp in android

I am working on a web application for android phones, which is basically few js and html files packaged using Phonegap for android. I am making http requests to the server, getting some cookies (whose life is 10 yrs). These cookies are set by the…
ghostCoder
  • 1
  • 9
  • 49
  • 72
3
votes
1 answer

How to detect Caps Lock is ON on web browser on Android Devices using JavaScript?

We can very well detect CapsLock is ON/not on iPhone web browser using KeyboardEvent.getModifierState(), with sample code, function checkCapsLock(e) { if (e.getModifierState("CapsLock")) { alert("Caps ON"); } } But it doesn't work on a…
Aniruddha Shevle
  • 4,602
  • 4
  • 22
  • 36