android-browser

android browser downloadfile.bin (wordpress cf7)

i got a little problem with a wordpress site that uses contact form 7 and android browser (at least android v1.5). when a user submits the cf7 form (using ajax followed by a js redirect) and tries to return to the forms page later (using the back button as well as opening the form's url) the download prompt for a 'downloadfile.bin' appe...

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 console every second and increment the value of a accordingly. (Okay, Android Browser doe...

Register filetype with the browser?

In Android, I am trying to make it so that the user downloads a font from the browser, and I am able to view the font when downloaded. After multiple issues, I still have one lingering one: Registering the filetype with the browser. When trying to download with the Emulator (2.1-u1), I get "Cannot download. The content is not supported ...

Javascript ended event when video playback ends on android

I have been trying to create a web page that will redirect the user after he has watched a video (or if he aborted the playback). I've got this working on the iphone but can't really figure out how it works on the android. On the Iphone i have found two ways of doing this. using the tag to embed the quicktime plugin and then adding a e...

device certificates in android

Does anyone know if its possible to install a "device certificate" in Android, and if so, how? This device cert would be used by the Android browser to present during the TLS handshake of an HTTPS connection. ...

Launch Browser Intent with Custom Class - cannot find Activity

I want to specifically run the default Android browser for a given URL. I'm using this code: Intent i = new Intent(); i.setAction("android.intent.action.VIEW"); i.addCategory("android.intent.category.BROWSABLE"); i.setClassName("com.google.android.browser", "com.android.browser.BrowserActivity"); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TAS...

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 phone (Nexus One running Android 2.2), it renders it super-huge! (Using JS's window.innerWidt...

Unable to access some websites(Google) in android simulator behind proxy?

I am unable to access to certain websites like www.google.com in android emulator. We are in a secured corporate network and use proxy to connect to the internet. I tried by adding the http-proxy in the startup command, still the same problem. I am able to access certain sites like msn.com, and favicon is loading for almost all the site...

Title is not getting displayed in the browser in android emulator?

The title for web pages are not getting displayed in the android browser in the android emulator? Is there any settings to make the title visible? ...

Authentication Error

I am trying to view a web page, fron an Android app, that requires authentication and get the following message: ----- Android webView error start -------- "You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending WWW.Authenticate header field that the Web se...

Android Web Browser Scaling Works More Effectively for Images than Sprites

Hi All, I'm developing a mobile web application and I have a home screen with a number of icons on it, so I tried to use a sprite to serve all the images in one swoop. I noticed, however, that the iphone4 scaled the images in my sprite fairly well (they looked a little dithered), but on my HTC Evo the sprite rendered images look really...