android book hook and java hook