android-browser

Access Web Storage or IndexedDB from outside the browser in Android

狂风中的少年 提交于 2019-12-23 09:48:55
问题 I want to build an offline browser-based app using HTML and javascript to collect survey data on Android tablets. The app would consist of some static pages with forms for users to enter data, which would then be stored locally using Web Storage or IndexedDB. However, I also want to build a small native Android app which would grab this data and transfer it to other devices. Is this possible, and if so how would I go about it? Specifically, I want to understand if and how the native app would

CSS Flexbox layout: old version (for working on old browser)

回眸只為那壹抹淺笑 提交于 2019-12-23 04:30:46
问题 I understand that there is 3 version of FlexBox in CSS. Old, Tweener and New : according to: http://css-tricks.com/old-flexbox-and-new-flexbox/ My question: does that versions are different? display: webkit-box; display: box; I know is the OLD syntax version but which one is older? And for older browser compatibility (android browser 2.3) which one do I need to use? 回答1: The correct answer is that -webkit-box and -moz-box are the two you need to use for the 2009 syntax. display: box w/o

Disable the firing of touchcancel in Android Browser

夙愿已清 提交于 2019-12-22 04:33:04
问题 I am making a mobile website that uses JavaScript touch events. Things work fine in iOS Safari and Chrome for Android, but the stock Android Browser (version 4.1.2) is giving me trouble. During a touch process, the touchstart and touchmove events are called as expected. However, one of the actions performed by the touchmove handler seems to trigger a premature touchcancel event. (I'm not sure whether this is significant, but the action that triggers the touchcancel is the modification of an

Disable the firing of touchcancel in Android Browser

被刻印的时光 ゝ 提交于 2019-12-22 04:32:12
问题 I am making a mobile website that uses JavaScript touch events. Things work fine in iOS Safari and Chrome for Android, but the stock Android Browser (version 4.1.2) is giving me trouble. During a touch process, the touchstart and touchmove events are called as expected. However, one of the actions performed by the touchmove handler seems to trigger a premature touchcancel event. (I'm not sure whether this is significant, but the action that triggers the touchcancel is the modification of an

How to enable Safe Search in my Android browser

大城市里の小女人 提交于 2019-12-22 04:18:12
问题 Requirement I have requirement in my browser to enable/disable safe search while browsing. On Google Safe Search Page Block explicit results on Google using SafeSearch You can filter explicit search results on Google, like pornography, with the SafeSearch setting. SafeSearch isn’t 100% accurate. But it can help you avoid explicit and inappropriate search results on your phone, tablet, or computer. As you know when safe search is turned on (like google chrome), then user does not see results

Android Stock Browser Not Respecting CSS Overflow

空扰寡人 提交于 2019-12-21 07:24:14
问题 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 they want mobile users to scroll with their finger. They also want graphics of an up arrow and a down arrow to provide an alternate method of scrolling and also to make it obvious to the user that scrolling is possible (since the actual scrollbars

How to get the source code of Chromium for Android

两盒软妹~` 提交于 2019-12-21 05:06:45
问题 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 running on my device for making some changes to it through source code. I checked out the code from Git as recommended and build it accordingly using depot_tools and targeting OS as android. All the build environment is correct and I can make "make

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

烂漫一生 提交于 2019-12-20 13:10:31
问题 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 every time) Install the app from android market. Open the app for the first time. App shows the msg "Hello world1" Any case will do, not just intent to android market. Most of the time the app will be installed via Barcode scanner with a binded http

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

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 08:31:02
问题 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 played once , but when initiated again audio will not be played . The same thing is working perfectly in Android ICS 4.0.3 Version and on the newer 4.1.1 version. Tested Devices: Samsung Galaxy Tab (Android 4.0.4) : Playing first time only then it

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

戏子无情 提交于 2019-12-19 09:09:27
问题 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, Blackberry, and iPhone. This method does not work in Android without installing extra software. Sure, Just Playlists or StreamFurious can handle it just fine, but I am assuming there has to be a way to invoke the audio or video player commonly