Introduction
With the popularity of mobile phones sky rocketing this year, we have to think for an additional platform when developing a web site. This year there was a higher amount of mobile phones sold than laptops so we can see the popularity of mobile phone browsing especially with new internet technologies in mobile phones such as 3g & wifi.
Mobile Phone vs Smartphone
Do you remember when the only mobile phones we had could only send text messages and receive/make calls. Yes they still exist but are slowly becoming extinct with more smartphones being purchased everyday. Due to the powerful features they are coming out with, I bet that they will in the future eliminate the use of a computer as well. With the applications that can be installed on the phones, one can do almost anything imaginable like managing your business, print & share documents, play games, tune your guitar & a lot more. Some of the recent smart-phones also come with a 1- 1.2Ghz cpu which is really fast for such a device. The multi-touch screen also makes every command so much simpler.
Current Brands & Platforms
IOS - Apple
This is one of the most famous platforms in the world. The iphone's design gets a lot of attention which may be one of the biggest selling points but with the IOS it works as smooth as a Lamborghini.
Microsoft - Nokia, Samsung, Motorola, LG, HTC
Being more famous in the past but started fading recently, the companies still develop mobile phones based on a Microsoft Platform. This brings a choice to the people which would like to buy a Windows Mobile Phone
Android - Samsung, Sony Ericsson, Motorola, LG, HTC
The Number 1 competitor with Apple's IOS, Android is an open source platform so it can be used by different companies all over the world not just one. Currently andriod phones are more powerful than the Iphone at the same price or slightly higher and come in an equally nice design.
Browsers
It also happens that there's a browser war going on between mobile web browsers, here's a list of mobile web browsers that are currently used by mobile phones:
Safari on Iphone
SkyFire for Symbian, Microsoft and IOS phones
Android Chrome Browser for Android Based Phones
Bolt Browser for Multiple platforms but popular in Blackberry & Motorola
Internet Explorer for Windows based phones
Firefox Browser for Andriod phones & Iphones
Safari on Iphone
SkyFire for Symbian, Microsoft and IOS phones
Android Chrome Browser for Android Based Phones
Bolt Browser for Multiple platforms but popular in Blackberry & Motorola
Internet Explorer for Windows based phones
Firefox Browser for Andriod phones & Iphones
Opera Browser for Blackberry,Iphones & nokia phones.
GeoLocation
Geolocation is a new feature in HTML 5 which allows the developer to use inbuilt features through javascript to access & find the visitor's geo location obviously depending on the browser support. Beneath is a list of browsers that support this HTML 5 feature.
GeoLocation Support
- Internet Explorer 9.0+
- Firefox 3.5+
- Safari 5.0+
- Chrome 5.0+
- Opera 10.6+
- Iphone 3.0+
- Android 2.0+
We coded some geolocation code to see how it works & accessed it through our mobile phone to see if it supports it. What this script does is to first check wheter or not the client supports geoLocation & then get the latitude and longitude if it does work on the client. We also noticed that the browser asks for your permission before sharing your location. We also tried to access the file locally through Google Chrome browser but due to its security measures the permission was denied, instead on other browsers such as Mozilla firefox and Internet explorer let the file run freely. You can download the file by clicking here
Conclusion
As the same with all the HTML 5 features, this is quite a nifty feature that eliminate a lot of work for the programmer but the application shouldn't solely depend on it because of support issues obviously. A major disappointment in my opinion is that it asks the user for permission every time. I can understand that there may be some privacy issues but you cannot wait for a user's response when his location is critical for the application to work. There's another way you can do this by use some free API's out there to get the location via the visitor's IP address and here's a link to one of those services.
Conclusion
As the same with all the HTML 5 features, this is quite a nifty feature that eliminate a lot of work for the programmer but the application shouldn't solely depend on it because of support issues obviously. A major disappointment in my opinion is that it asks the user for permission every time. I can understand that there may be some privacy issues but you cannot wait for a user's response when his location is critical for the application to work. There's another way you can do this by use some free API's out there to get the location via the visitor's IP address and here's a link to one of those services.








