title: How can you detect if the device is rooted in the app?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1101380/determine-if-running-on-a-rooted-device">Determine if running on a rooted device</a>  </p>
  </blockquote>
  
  
  
  <p>On Launch of the application, I want to detect if the device running is rooted.
  Is there proper way of detecting it?</p>
  
  <p>I don't think trying to write a file to '\data' to see if rooted is a good solution.
  (Since even rooted devices may have that path unprivileged)</p>