raoxunrong, add check accessibility by java code, not finished yet.