Ask your Question

Discover our new Professionals

Bhuwan
Bhuwan

Intern PHP Developer

Dehradun,  India
Mintu
Mintu

Faridabad,  India
Randip
Randip

eCommerce Web Developer

Deerfield Beach,  United States
UDAYAKUMAR
UDAYAKUMAR

PHP devoloper

Bangalore,  India
rakesh
rakesh

Software Developer

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