Common Android utility logics