Q:Write a Python/Java/C+ program to verify the operating system name
and version of Mobile devices.
Note: This program will only work for android devices. (Since Iphones do not have anything equivalent to adb. )No wonder android is the favorite platform when it comes to app development. Android market is also more developer friendly as compared to its ios counterpart.
Errors: In case you get an error about insufficient permission, either edit udev rules or borrow a phone from your friend, having a well known global manufacturer.
OS:Fedora 20 64 bit
Phone: Sony Xperia
Language: Python
Dependencies: Just adb package,No need for sdk
fedora: <yum install adb>
ubuntu: <apt-get install adb>
Dependencies: Just adb package,No need for sdk
fedora: <yum install adb>
ubuntu: <apt-get install adb>
