" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Obtaining Device platform/OS and OS version using PhoneGap

Posted on November 23rd, 2015 by Sourabha Sahoo

Sometimes you might need to design different UI for mobile devices according to operating system and its version. So to know on which OS and OS version the device is operating, you can use PhoneGap by following the steps bellow. 1.Add the javascript file provided by PhoneGap/Cordova in your html page. 2.Add the event listener […]