My app has a certain piece of functionality that will only work on a device where root is available. Rather than having this feature fail when it is used (and then show an a
Two additional ideas, if you want to check if a device is root capable from your app:
Runtime.getRuntime().exec()
/system/app/Superuser.apk