Spring Mobile Device is a library that provides a simple way to detect the device type of the user. It is based on the user-agent string of the request. It is a part of the Spring Mobile project. Core Components of Spring Mobile Automatic Device Detection Spring Mobile Device provides automatic device detection. It detects the device type of the user based on the user-agent string of the request..