use android config interface to detect device keyboard and screen dpi