Logical for android