def text(self, content):
        """
        Use adb shell input for text input

        Args:
            content: text to input

        Returns:
            None

        Examples:
            >>> dev = connect_device("Android:///")
            >>> dev.text("Hello World")
            >>> dev.text("test123")
        """
        if content.isalpha():
            self.shell(["input", "text", content])
        else:
            # If it contains letters and numbers, input with `adb shell input text` may result in the wrong order
            for i in content:
                if i == " ":
                    self.keyevent("KEYCODE_SPACE")
                else:
                    self.shell(["input", "text", i])

        Use adb shell input for text input

        Args:
            content: text to input

        Returns:
            None

        Examples:
            >>> dev = connect_device("Android:///")
            >>> dev.text("Hello World")
            >>> dev.text("test123")
        
airtest/core/android/adb.py