Function to detect if the visitor is on an android device


/ Published in: PHP
Save to your folder(s)

This simple functions scans the user agent for the word "android" and returns true if found. Useful if there's something you only want android visitors to see (or not see).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.