Posts

Showing posts from March, 2012

Chrome Webstore - I

My first app in chrome web store...  This is the same bubble shooter game I created sometime back, now just moved to chrome web store. Here is the link to the app;  https://chrome.google.com/webstore/detail/aaepbggmjnnhfnefcbfbenmkhmdfpbhf?hl=en-US  - install and leave your comments. Publishing your web app in chrome web store is very easy; with few simple steps you can achieve the same. If you are planning to host a web app in chrome store, you can refer google chrome developer portal for details (start here:  http://www.google.com/chrome/intl/en/more/webstore.html ), or I will tell you about the steps in a little bit later.  Enjoy!.  Oh! by the way be ready to spend $5.00 one time fee before you can start uploading apps to chrome store.. fair deal rt?  Note: Imported from my site  https://sites.google.com/site/dhtmlexperiments/blogs/chromewebstore-myfirstapp  dated  Feb 24, 2011

Geo locator approaches

Image
Geolocation is a way to identify the physical location of user who is browsing this (any) web site. There are multiple approaches by which a website can get the info about physical location of an online user. HTML5 specs proposes APIs to enable this, so that the user can allow a TRUSTED site to access info about his/her location.  API looks like this:  navigator.geolocation.getCurrentPosition(successCallbackMethod, errorCallbackMethod);  If current browser support geolocation API and if it got the location successfully, then successCallbackMethod will be invoked with position as the parameter. In case of an exception, errorCallbackMethod will be invoked.   In the success call back method, you may add code to retrieve and use it according to your requirement as follows:    function successCallbackMethod (position) {     var latitude = position.coords.latitude;    var longitude = position.coords.longitude;         . Another point to note here is that, the browser wil