detect for windows phone and android tablet