Android, lock out user from Android sample code