Issue #57: moved some methods from RBuddyApp to android.Tools