Library for Screen Detection

I wrote a library for detecting the device and the screen size for the
appropriate action.