mobile-web

Font size relative to parent box height

I have block level elements with its height property set in %. Inside these block level elements are <span>s with text. Example: <body style="height: 100%;"> <menu style="height: 10%;"> <button style="display: block; height: 100%;"> <span style="font-size: 4em; line-height: 200%;">text</span> </button> ...

Scaling website to 100% width/height of visible area

how to make content of a web page fully scaled whatever the width/height of the device visible portion is? ...

Seperate Url or sub directory off main url for mobile site?

Hello, We are in the process of creating a mobile site and I am trying to put together some pros and cons for using a seperate url for it or a sub diretory off the main site. Any thoughts or suggestions? I have been searching this and have yet to find anything useful yet. Thanks in Advance! Jon ...

It is posible to use JOGL (JSR 231) in a web application

I want to do an augmented reality app that runs on mobile devices, but I thing that the best way to do it is with a web application (And I have the advantage that the app will run also on PCs ) so I don't have to care about specific device implementations, I'm a java developer so I'll be so much easier for me if I can use JOGL. ...

What is the best way to detect and redirect a mobile browsser in AppEngine?

Specfically, I am working in Python. ...

Mobile web auto adjust screen resolution

Hello, I'm working on a mobile website, but when I view the site on the phone, the website is automatically shrink to a very small font and user has to expand the screen to like 100%. How do I make it , each time user visits the site, it automatically displays at the right size? Here's my CSS : .content { width:auto; height:auto; font...

Mobile Device Usage

Where would I find usage statistics on mobile devices and browsers broken down by type over time? From a technical aspect I would like to support as many as I can in upcoming projects, however it would be beneficial to determine which devices / browsers are the pack leaders before I go supporting ancient junk. ...

how does a mobile browser differ from web browser

There are a specific set of process happens between a user hits www.google.com and see the page in the browser. Can anybody tell me what all things that happen during a similar process. Also how mobile browser is different from web browser. ...

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...

How to build correctly Android-compatible website?

I am HTML/CSS/jQuery coder. And I need to develop the website, which will be "zoomed-out" or "fitted" to 320x480 (frequently used resolution) Android mobile device screen. Or even this solutions should check my screen resolution and connect the right CSS for that. Somewhere I met that there is android.js file, which connects to HTML and ...

Do Videos on the Web on Android Devices play inline or in an video app?

I want to find out wether Videos on Mobile Websites play inline or in a video application. If they play in an video application: are these applications device specific or is it always the same? Does someone have a link to the look of the controls so that I can build a photoshop preview on how my web video will look on Android? ...

Is it possible to receive tilt events in JavaScript on mobile Webkit for iOS or Android phones?

I've done some searching around and haven't found any good references for non-touch events provided to mobile browsers. Does anyone know of any good resources for what tilt events are supported or have experience with such things? I'm really looking forward to adding some yaw controls. ...

Facebook Connect w/ Mobile Web App - How to get most fluid flow?

Hi All, I'm developing a mobile wep app, and would like to allow my users to login using Facebook connect. I initially implemented the standard Oauth2 authentication, but I found a couple issues: When I install the app as a home screen shortcut and the user needs to authenticate the user is redirected to facebook's site for authenti...

Maximizing the size of the content div in jQueryMobile

How can I maximize the size of the div that plays the role of "content"? I recognize that this may simply be a basic CSS question, but it feels like it is tied to CSS in jQueryMobile. I'm placing a Google Map in the content div and I'd like the map to fill the available verticle space on the mobile browser. Instead, it's a fixed size ...

Mobile website single quote problem

Hi, I'm getting the error below on a Nokia N80 when visiting the mobile site I wrote in PHP.... How do I resolve? XML Parsing Error: not well-formed Line Number 22, Column 45: Click here for T&Cs --------------------------------------------^ ...

Demand for iPhone App ported to Android?

Although not really a programming question I believe many developers would have come across this and therefore give the best answer. Currently I am developing an App for iPhone for the organisation I work for. Its close to release and there is heaps of interest when I present it but the occasional question comes up am I going to port it...

Drupal Site accessible to Mobile

I have some 20 sites with common codebase and database via Drupal Multisite installation. Whats the best way to make a multisite Drupal installation also accessible via mobile. For example, I have sites like www.abc.com, www.cde.com, www.fgh.com etc all poiting to same codebase and a common database of a Drupal multisiste installation w...

Detecting if JavaScript is enabled on a Mobile browser in ASP.Net

I want to check if a mobile browser has javascript enabled before displaying a page to the user. The code I've found from my research is: System.Web.HttpBrowserCapabilities browser = Request.Browser; Response.Write(browser.EcmaScriptVersion.ToString()); So to ensure that javascript is enabled on a browser, you need to check wheather t...