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
5
votes
1 answer

No XMLHttpRequest 2 progress in Android stock browser

I have a working file upload form that uses XMLHttpRequest 2 to upload files to Transloadit (a file processing service). The progress events get fired correctly in Firefox and Chrome, both for Desktop and for Android. But the Android (4.0) stock…
5
votes
3 answers

How to get the source code of Chromium for Android

I'm trying to build Chromium open source browser for Android. I have referred: Visit: http://code.google.com/p/chromium/wiki/AndroidBuildInstructions But, I think it will only build the test bundles not the full browser. Any idea how can I have it…
Anupam
  • 3,742
  • 18
  • 55
  • 87
4
votes
2 answers

Is there any way to detect only Android browsers with CSS?

Is there any CSS hack to detect only Android browsers to write CSS? Not all WebKit browsers — I want to write different CSS for some elements on iPhone and Android browsers. For example http://paulirish.com/2009/browser-specific-css-hacks/ I want a…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
4
votes
3 answers

Android: The type java.lang.Enum cannot be resolved

I downloaded Android's Browser project (from git) and imported it to Eclipse. I cannot build it however because of the following error: The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files Now...…
Android Eve
  • 14,864
  • 26
  • 71
  • 96
4
votes
4 answers

Method for launching audio player on Android from web page for streaming media

To link to SHOUTcast/HTTP internet radio streams, traditionally you would link to a playlist file, such as an M3U or PLS. From there, the browser would launch the audio player registered to handle the playlist. This works great on any PC, Palm,…
Brad
  • 159,648
  • 54
  • 349
  • 530
4
votes
2 answers

How can I make the Android browser render my document at the screen's size?

I'm working on a site that's supposed to scale fluently down to low resolutions, so that it would work just as well on a phone. This works well in Firefox and Chrome when I just make the window small, but when I try it out on an actual Android…
MiffTheFox
  • 21,302
  • 14
  • 69
  • 94
4
votes
0 answers

Android:: Custom url scheme not working in Samsung galaxy 10inch tablet's android's webkit browser

Custom url scheme is not working in Samsung galaxy 10inch tablet's android webkit browser. But the same is working fine in Chrome browser in the device. Want to know why this is happening? Please let me know if any one faced this kind of…
Vel
  • 74
  • 4
4
votes
0 answers

Javascript createObjectURL not working in Android browser

Why can't I download files created with createObjectUrl in an Android app with a webview. It's also not possible with the default browser (Samsung Galaxy S6 Edge). I get the message (in Swedish) "Endast http- eller https-URL:er kan hämtas.",…
4
votes
0 answers

ajax xhr.getResponseHeader("user header") is not working for Android native browser

I am trying to make an AJAX call to a servlet. In the servlet I am setting headers. But the header is not displayed back from the response in the Android native browser. I am not able to read the header. In other browsers it is working…
Pratik Jaiswal
  • 390
  • 1
  • 5
  • 21
4
votes
1 answer

`Preload.js` failed to load some files on Android devices

PreloadJS stuck at a specific step when loading files on Android devices while everything works fine on a desktop browser and iPhone. The loading process stopped at the final GIF file (as shown in the code). Why this GIF file could not be…
leetom
  • 723
  • 1
  • 6
  • 27
4
votes
2 answers

Android programmatically delete Chrome / default browser cookies, history, searches

Like the title. I want to delete cookie, cache of browser of Android by coding in my application. (browser not webview) Thank you!
Hoang Ha
  • 1,075
  • 2
  • 10
  • 15
4
votes
2 answers

setInterval pauses in Android Browser / Mobile Safari when screen times out

I've built a simple JavaScript-based timer for a mobile webapp; for the sake of example: var a = 0; setInterval(function() { console.log('a', a); a++; }, 1000); This runs just fine in both Mobile Safari and Android Browser. It will log to…
4
votes
1 answer

How to keep fonts consistent and respect text scaling on Android (bizarre bug of Font Boosting)

I am building a responsive theme for wordpress and came across an annoying issue with font scaling on Android (tried both Chrome and Firefox on Nexus 7 KitKat and Nexus 5 Lollipop). Short version: if you open the following on android with text…
mishamsk
  • 55
  • 8
4
votes
2 answers

Clear history of Chrome browser

How to clear history of chrome browser. For native browser i use following code - Browser.clearHistory(getContentResolver()); But this does not work for chrome. How can i clear chrome browser history? Is it possible?
4
votes
1 answer

Not able to get SAMSUNG S4 native browser history

I am accessing the browser history from device native browser. I use following code - Cursor cur = getContentResolver().query(Browser.BOOKMARKS_URI, new String[] { Browser.BookmarkColumns.URL }, null, null, …
unflagged.destination
  • 1,576
  • 3
  • 19
  • 38