title: How to check if android phone is rooted?
body: <p>I want to programatically find in my application if the android phone is rooted.  I found many links like: <a href="https://stackoverflow.com/questions/1101380/determine-if-running-on-a-rooted-device">Determine if running on a rooted device</a>
  <a href="https://stackoverflow.com/questions/11954336/effective-way-to-programatically-check-if-im-rooted-on-android">Effective way to programatically check if I&#39;m rooted on Android?</a> discussing on the same topic.  However, as mentioned in those links there is no one and definite way to find out.  These posts are pretty old and I was wondering if there is anything better to achieve it now in recent releases? </p>
  
  <p>Thanks in advance!</p>