Ask your Question

Discover our new Professionals

rakesh
rakesh

Software Developer

Delhi,  India
Prashant
Prashant

Web Developer

Noida,  India
shubham
shubham

php developer

noida,  India
Divyanshu
Divyanshu

Having experience in android development

Noida,  India
Parul
Parul

I am a java developer, having 2 year of experience in Java

Delhi,  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