Android OS Forum banner
1 - 7 of 7 Posts

·
Developer
Joined
·
84 Posts
Discussion Starter · #5 ·
bandroidx said:
wow thanks for this, i develop root apps and this looks like it could be very helpful at first glance. Does it allow testing root properly in the emulator (w/ superuser) ??
Should work fine in an emulator... the isRootAvailable() method should be of interest to you.
 

·
Developer
Joined
·
43 Posts
bandroidx said:
wow thanks for this, i develop root apps and this looks like it could be very helpful at first glance. Does it allow testing root properly in the emulator (w/ superuser) ??
Yes, it works just fine in an AVD (emulator), I'm using it. Of course you first need to manually add Superuser.apk and su binary to the emulator /system (don't forget to chmod 6755 su).

Great lib! I'm using it in my 1-click RecoveryFlasher app, was super easy to add and use.
 
1 - 7 of 7 Posts
Top