Wednesday, December 11, 2013

IE Check and IE Version Check in JavaScript

Hi,

If you want to provide certain JavaScript functionality which is specific to IE browser, or specific to a version of IE Browser, you would surely find below code helpful, in terms of detecting browser and its version.


Below is the variable that would hold Boolean value; It is TRUE when the browser is IE, FALSE otherwise.


var BrowserIE = {
  Check: function() {
var isIE = eval("/*@cc_on!@*/!1"); 
return isIE;
}
}

}

Below is the variable, that would hold true IE version, in form of AA.BB.CCCC.DDDDD, as can be seen in  IE Help Menu.

var BrowserVersion = {
          Check: function() {
                var e, obj = document.createElement("div"), x,
                   verIEtrue = null,
                   CLASSID = [
                       "{45EA75A0-A269-11D1-B5BF-0000F8051515}",
                       "{3AF36230-A269-11D1-B5BF-0000F8051515}",
                       "{89820200-ECBD-11CF-8B85-00AA005B4383}"
                           ];

                try{obj.style.behavior = "url(#default#clientcaps)"}
                catch(e){ };

                for (x=0;x
                {
                   try{verIEtrue = obj.getComponentVersion(CLASSID[x], "componentid").replace(/,/g,".")}
                   catch(e){ };
                   if (verIEtrue) break;
                };

                return verIEtrue || void 0;
        }
}

You can copy above scripts in to your JS, AS-IS.

Above variables can be used to make your code conditional based on browser type and browser version.


Please check below example for understanding:


function doSomething() {

        if (BrowserIE.Check()) {
                alert('Browser is IE');
                //IE Browser Specific Functionality
        }
        else{
                alert('Browser is IE');
                //NON-IE Browser Specific Functionality
        }

        
        if (BrowserVersion.Check().substr(0,1) > 8) {
                alert('Browser IE : Version 9 or above');
                //IE Browser Version 9 or above Specific Functionality
        }
        else
        {
                alert('Browser IE : Version 8 or less');
                //IE Browser Version 8 or below Specific Functionality        
        }

}

Wednesday, April 24, 2013

Prospects of Mobile Wallet in India


Prospects of Mobile Wallet in India

A study on degree of awareness about Mobile Wallet, its potential market in India, barriers and drivers to its success.


The term “mobile phone” is becoming increasingly misleading since the capability for voice calls is, for many users, no longer the primary feature of the device. Today, the mobile phone is not just a communication platform with email, instant messaging, video calls, and a social media interface, but it also offers functional applications like navigation, camera, calendar, address book, and a gaming device to name a few. The smart phone has become the most successful “functionality aggregator” after a Personal Computer. These days the only two things that most people carry in their pockets, besides their mobile phone, are keys and wallet.

Today’s innovation is towards allowing people not to carry their physical wallet either! With Mobile Payment as a concept, innovations are happening for last few years to develop a Mobile Wallet!  A few mobile wallets have already reached our market, few are to come.

We, the students of Symbiosis International University, have done a research (Market Research) on awareness, growth, penetration and acceptance of Mobile Payment concept. 


We had read lot many research articles and white papers from various authors and research agencies. We had also taken survey of Indian consumers specifically targeting College Students, Academicians, IT Professionals, Middle and Senior level managers and housewives. 

Finally, results are out, research article is prepared and here it is for your quick view and feedback!

Please check out below links on the research article prepared based on valuable inputs of very valuable respondents! Here it is.. 


Prospects of Mobile Wallet in India - Presentation.ppsm
Prospects of Mobile Wallet in India - Report.pdf




Neha Patnayak
Rajabala Gnansamy
Neha Chauhan
Akhil Mohammad