generate android preferences