create virtual input and manage it in android system