Ask your Question

Discover our new Professionals

Vaibhav
Vaibhav

Web Developer & Software Developer

Ichalkarnji,  India
Vinod
Vinod

Team Lead in User Admin Team

PUNE,  India
Awadh
Awadh

SAP MM Consultant

Airoli,  India
Ankul
Ankul

Front end developer

Pune,  India
Arun
Arun

SAP SD CONSULTANT

Pune,  India

Write to us

Ask Question

How to Detect Android Devices using jQuery?

Shailesh Kumar

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");
}

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