How to add this features to my application

You might use this extension .
Lite, the extension totally for your searching needs - Extensions - Kodular Community

( I don’t really know if this extension has this or not but it had many functions related to DeviceInformation.)