mobile-web

Mobile HTML pages basics

Hi, Which are the basics for create a web page for a mobile device? I'm developing something that is very simple, actually it's a table and several links, but when I open it with my Android phone I see it very very small, and I have to zoom with my fingers ir order to see it; but, when I access a page ready for mobile devices I can see ...

Is it okay to use <input type="tel"/> now?

I'm working on a mobile phone web app and I have several text fields that could benefit from iPhone's will adjust the keyboard for the user but I'm worried about breaking backwards compatability. What I'm hoping is that browsers/phone that support this can assist the user and other browser will fall back to a standard text field? Is thi...

Facebook like box not working on mobile browser

I'm writing a simple splash page for a client to hold a like box widget: <iframe src="http://www.facebook.com/plugins/likebox.php?id=***********&amp;amp;width=238&amp;amp;connections=4&amp;amp;stream=false&amp;amp;header=false&amp;amp;height=200" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:238px; height:200...

Google Analytics tacking multiples domain mobile web app

Hi, I want tracking mobile web application that it is accessed from multiple domains with one google analytics account. I have found some information to do in tradicional web but not in mobile web. Could i change this code in snippet1? if (HttpContext.Current.Request.Url != null) { url.Append("&utmp=").Append(HttpUtility.UrlEncod...

Support SVG on mobile platforms

Which mobile platform browser fully supports SVG? Interested JS + Raphaël + touchscreen ...

Iframe size manipulation

Is there a way to make the Iframe request an external website as if it is a mobile device, so the content returned will have a small dimension etc? I am displaying external websites in iframes, using width and height attributes <iframe src="http://marketwatch.com" width="300px" height="300px" ></iframe> but because the browser is no...

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

Creating a mobile version for my web app in CodeIgniter

Hi there, I'm using CodeIgniter to develop a new web app, and I'd like to create a mobile version that users get redirect to when they visit it from their phones. The mobile version of the app should have a different flow, so swapping CSS/HTML files in the code is not an option for me since the mobile version and the web version will h...

Is it better to develop a mobile website or a dedicated smartphone app

I need to decide where to invest my engineering resources and I'm wondering how other folks have decided whether to invest resources in a mobile website or smart phone applications ...

Flash vs Javascript

Update 2: To add swf in web page Swf Object 2.0 is most used method, which is a javascript library, so flash will be depend on availability of JavaScript. So if javascript disabled then flash will not play. I always heard approx 5% users in the world keep JavaScript turned off. But Adobe claims Flash content reaches 99% of Intern...

How can I differentiate between smart phones and others?

Hi all, I'm looking to revamp our mobile site with something simple for phones below the ambiguous smart phone category and something a little more interesting for the phones above this category. I'm not interested in WAP/WML for this project. I'm building a ASP.Net 4 MCV 2 app and using MBDF What I'd like to know is how best to define...

What is the best way to test a mobile website in Visual Studio 2010?

Does anyone have a good solution for testing mobile websites in Visual Studio 2010? In VS 2008 I used to be able to start up a mobile emulator. That functionality seems to be gone in 2010. ...

How to determine the country of a mobile phone browser

Is it possible to determine the country of a mobile phone browser? I've read elsewhere that mobile phone IP addresses frequently change and can be reported as originating from different countries by some IP location databases. 1 ...

iui transition moving in wrong direction

i am using iUI to build a native looking web app for iDevices. whenever i click a link with an href of #something that leads to another div on my page, the transition effect moves (correctly) as if the page were sliding in from the right like it does on any other iDevice app. a portion of my app requires an indefinite number of sub pag...

Why does this XHTML-MP code not pass W3C validation?

Wikipedia's example of XHTML-MP: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello</title> </head> <body> <p>Hello <a href="h...

how to create mobile browsers compatible html

i want to create an html for mobile browser.is there any wey to make the html compateble for mobile browser. how do i make the html for several resolution(mobile screen).And for iphone is there any other technique(like jqtouch BETA). ...

Get default media player using Javascript?

Hi All, Whether is it possible to get default media player using Javascript, customize play controls and control play functions (Play, Stop, Seek, Pause..etc) Thanks in advance, Sri ...

Get screen size?

Hi, What is the best way to design screen size, when develop mobile web app? Also how make it compatible all mobile browsers? Thanks in advance, sri ...

How do I tell whether a browser is on a touchscreen device with JavaScript?

I know this is a bit of perennial question, but here goes: I want to know whether the device my site is being accessed with is a touchscreen. That means phones and iPads, of course, which are individually detectable, but also other touchscreens that may well be running flavors of Windows. Any chance of determining the presence or absence...

Invoke native framework from Javascript?

Hi All, I have 2 different types doubts here. ( it is for all mobile device web app) Is it possible to invoke native framework from Javascript in mobile web app? if so guide me any JS lib avilable? Is it possible to invoke another web/native app from one mobile web app? Thanks in advance, sri ...