common utility for android