mobile-web

What new APIs should W3C work in to allow powerful mobile web applications?

As an amateur mobile developer, I feel dismay every time I have to fix, update or add new features to an application of mine. I'm eagerly awaiting the moment you can just develop a web application for any kind of device. HTML5 and new APIs like Geolocation API or Contacts API are a step forward, but what other APIs could be useful ...

What is the best 'method' to do an online MOBILE Text Based 'App'?

With all the different mobile phone browsers and the mobile market being so diverse I'm having a hard time deciding on a way to create a text based online game for mobile phones. I was thinking about using HTML/CSS/Javascript for front-end and Python CGI for server-side (with a DB). Now this seems like a very obvious choice... BUT I'm...

BlackBerry Browser bug? Padding on a link doesnt increase the clickable area

Hey Community! I'm developing a mobile website and one of the browsers I need to make it work on is the BlackBerry Browser on the BlackBerry 8330 (Curve) running version 4.5. I came across a weird bug when I tried to style some links to look like buttons. If I add padding to an anchor tag, the display of the link changes, but the clic...

JQuery Ajax Load Mobile Browser Back Functionality

Currently working on a mobile site using the .load() technique: $.ajaxSetup ({cache: false}); contentLoad(); function contentLoad() { $('a.inline').click(function(){ var toLoad = $(this).attr('href')+' #content'; $('#loading').show(); $('#content').load(toLoad,'',showNewConte...

Should we be using JQuery for Mobile AJAX Page Navigation?

I am developing a mobile site that will load page content using AJAX if JavaScript is enabled. I have been using the JQuery load() functionality to load page contents from other static pages but I feel I am wasting precious bandwidth loading the entire JQuery library when I'm only using a small piece of it. With this said should we be av...

Widgets and .mobi sites, is this possible?

I have a couple of concerns, I'm busy building a normal .mobi site for a client, so basically how I understand this is keep it simply since most phones do not support JavaScript and have a small screen etc. So I build a mobi site using only content and basic links. Now my question is how do mobi widgets work on a mobile site? I've google...

Custom HTTPHandler causing caching or session issues?

So i have a custom CMS running under .Net 3.5 written entirely in c#. The engine is optimized to render for mobile devices, but also server to normal web browsers. It also supports cookieless sessions. Great... I've chosen not to cache anything (including browser data) in order to control the rendering completely from data. This has bee...

Symfony: Special routing for mobile browsers

Is there any way that I can detect browser type on routing and use specific controller? I want to be able to do something like this in routing.yml: mobile: url: /* requirements: browser: mobile ...

em vs px... for mobile browsers...

For desktop browser all modern browser uses Zoom functionality so we can use PX but if same site can be seen on mobile then would px not be good for zooming in mobile browsers. or use of px is also fine for mobile browsers. even if we don't care for IE 6 , should we use em in place of px still if we are not making different site for mob...

Need help making row of buttons consistent

I'm making my first website, and I'm trying to make variable-sized buttons so they'll render correctly on low resolution (read: mobile) browsers. Currently I just have the usual rollover image solution (185 pixels wide by 37 tall if anybody cares), but when I preview the site in low resolution it looks, predictably enough, like complete ...

Setting zoom level on mobile browser

I am designing website for mobile access and I want to set page width, height and button sizes, so they display filling up the screen. For example if user is using HTC HD , the whole screen would be 480x800 with button sized 240x200. However IE mobile as well as Opera load the page with some zoom level, so the buttons display either too ...

Displaying a pdf file located on a http server from mobile phone

I have some pdf files located on a http server: Like: http://domain.com/files/file1.pdf http://domain.com/files/file1.pdf http://domain.com/files/file1.pdf I need to display these files on a mobile application using java me. I tried to display them by opening Google Docs Viewer with platformRequest. However it seems ...

How to recognize whether a web site is opened in a mobile or a PC

We have a site developed in PHP. It is working just fine. We have used JQuery for every kind of situation like slide shows, menus, etc. This site contains a lot of images which are large in size. because of this when viewed in a mobile phone user has to scroll a lot. How can we recognize whether the client (browser) trying to access ou...

Tables versus divs in mobile websites

I'm totally confused on this matter, some say use tables and others say it's a bad practice to make use of tables and div tags should rather be used. What is the correct way when developing sites for mobile devices .mobi ...

Center aligned form with equal width labels

I have a very simple web form which consists of labels and input fields, however I can not seem to find a way of aligning the form in the center of the page and for the labels to have an equal width so that they appear neatly next to each other, one under the other. The structure of my page is basically: <body> <div class="form"> <form ...

Getting websites to detect our mobile browser

I've been asked to find out a sensible way to make the majority of popular websites detect our browser - which is functionally complete, but is running on rather constrained hardware - as a "mobile" browser. The idea is that the heaviest popular websites seem to have mobile versions, which render much faster and fit better on the screen...

How to create a mobile friendly website [infrastructure]

Hi, if i wanted to create a mobile friendly version of a relatively small website would it be better to have a sub domain that redirects to a completely new url with sperate markup and styling or would it be better to detect the useragent in code and programatically change to a different mobile friendly stylesheet, or is their a better i...

Showing mobile friendly web page without having to zoom in

Hi, im trying to create a mobile friendly web page using the code below. When i view it over a HTC desire i have to zoom in to see the correct size. How can i get it to display normally without having to zoom in? <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MobileSite._Default" %> <!DOCTYPE html...

Opening Youtube on iPhone safari

Hi, Is it possible to open Youtube video on an iPhone targeted mobile web without having to leave safari? Right now when the video plays, it leaves safari and upon clicking done, it doesn't go back to where the user left off. Thanks, Tee ...

Mobile Safari iPhone Development - Multiple buttons in a row

Hello all: I'm an iPhone developer, but new to web development. I've done some basic HTML websites and made one in iWeb as well. I'm trying to branch out to mobile web development now, so I checked out Dashcode. Anyway, I'm trying to put a Call Button, Mail Button, and Map Button in horizontal alignment. I realize that I can add a Colu...