Ask your Question

PEOPLE YOU MIGHT KNOW

Wedding
Wedding

Wedding Limo Services Company in Toronto

ON,  Canada
Fitness
Fitness

Be healthy and stay in shape

Mohali,  India
Everest Links
Everest Links

Everest Links Management Consultants

Dubai,  United Arab Emirates
Varun
Varun

Business Owner

Gurugram,  India
Sithu
Sithu

Web Developer

Chennai,  India

Write to us

Ask Question

How to Detect Android Devices using jQuery?

var ua = navigator.userAgent.toLowerCase();
    var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile");
    if(isAndroid) {
      // Do something and write code here!        
      // below code is example        
        $("body").css("display", "none");
}

0   0
Shailesh Kumar

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site