Device detection working for navigation