Tuesday, May 7, 2013

Detect user agent using javascript

To detect user agent in JavaScript, simple read navigator.userAgent.

Detect user agent using javascript


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Mobile-Web-App: Detect Browser</title>
<script type="text/javascript">
 
function detectbrowser(){
info = "<p><b>Browser info: </b></p>"
+ "<p>user agent: " + navigator.userAgent + "</p>";
 
document.getElementById("browserinfo").innerHTML=info;
}
 
</script>
</head>
<body onload="detectbrowser();">
<h1>Mobile-Web-App: Javascript Exercise - Detect User Agent</h1>
<div id="browserinfo"></div>
</body>
</html>


What's My User Agent?

"What's My User Agent?" allows you to view details about your user agent, along with other information your browser sends to this website.

What's My User Agent?
What's My User Agent?

Friday, May 3, 2013

Embed Photo Spheres on Your Website




Google launched a web site (https://developers.google.com/panorama/web/) for developer to embed Photo Spheres to any web site. It shows how to easily embed photo spheres on any website with an interactive, 360-degree panorama viewer.

New Free Intel® HTML5 Development Environment



Intel acquired appMobi*'s HTML5 tools in February and make the tools easier to use and more robust.

As part of Intel's commitment, The following feature added:

•Windows* 8 and Windows* 8 Phone support which instantly increases your reach to more users and types of devices
•Windows* 8 and Windows* 8 Phone support in the emulator and build system
•New app creation wizard to make it easier to start your next project from samples or from scratch

Same familiar, powerful cross-platform tools, new names, more capability, and it works with the full set of appMobi* services.
•Go cross-platform: Write once with the Intel® XDK cross-platform development kit
•Jumpstart development: Use the App Starter wizard to create an application
•Leverage cloud: Build HTML5 apps for iOS*, Android*, Amazon*, Nook*, Facebook*, and now, Windows* 8 Store and Windows* 8 Phone Store
•Support: tools, technical guides, tutorials, videos, samples

Visit http://appcenter.html5tools-software.intel.com/ to registered with Intel now.

Intel XDK
Intel XDK


Check if your browser support WebGL

To check if your browser, visit http://get.webgl.org/. You

get.webgl.org visited using Firefox Browser for Android 20.0.1
get.webgl.org visited using Firefox Browser for Android 20.0.1



Wednesday, May 1, 2013

Google Fonts is free to download now

Google have teamed up with SkyFonts to offer desktop versions of their popular Google Fonts free of charge.

SkyFonts


SkyFonts automatically updates the fonts installed on your system whenever they are updated on Google Fonts. With the fonts installed locally, browsing websites that use web fonts will be faster, since your browser won’t have to spend time fetching font data. If you’d rather download the source files to edit the font data directly, you can always do so from the project at Google Code.

Source: Google Developers Blog - Download Google fonts to your desktop

Monday, April 29, 2013

Google Maps JavaScript API v2 will shutdown on November 19, 2013

Google Maps JavaScript API v2 will shutdown on November 19, 2013. On that date, Google will attempt to automagically turn remaining v2 maps into v3 maps, by way of a JavaScript wrapper Google will deploy. Expect this wrapper to work for most simple maps, but to avoid any last minute surprises it is strongly encouraged sites to complete their migration to v3 ahead of this date. Google have prepared an upgrade guide to help make the migration process as painless as possible.

Source and details: Google Geo Developers Blog - An update on the JavaScript Maps API v2 deprecation