Abstract:
An information device is used to execute at least one application program and has a display for displaying a software keyboard and a corresponding widow opened after one application program is executed. The window has at least one input area and one non-input area, and when a caret symbol appears in the input area, an input process can be performed after the caret symbol. If one input area on the active window has a caret symbol, then the software keyboard is presented on the display; otherwise, the software keyboard is hidden. The software keyboard appears near the caret symbol, or at a predetermined position.

Description:
BACKGROUND OF THE INVENTION  
         [0001]    1. Field of the Invention  
           [0002]    The present invention relates to a method of displaying a software keyboard, and more particularly to a method of automatically displaying a software keyboard in an input area, which is suitable for an information device with a display.  
           [0003]    2. Description of the Related Art  
           [0004]    The prior art software keyboard (also called a screen keyboard) displays a graphical user interface on a display (such as a computer screen, a mobile phone, a PDA screen, or a touch screen) for displaying alphanumeric keys, symbol keys, function keys, etc., thereby enabling a user to perform an input process by selecting these keys.  
           [0005]    However, in a prior art information device, when the user executes an application and wants to perform the input process in an input area of a window opened by the application (a flashing caret symbol will be generated in the input area to show a present input position), the user has to click another application for the software keyboard to display the software keyboard on the display. Furthermore, when the user changes to another window to perform the input process again, he or she still needs to click the application for the software keyboard to display the software keyboard on the display, which is very inconvenient. This process is even more tedious if the information device utilizes a touch screen as the primary input tool. Prior art applications exist that can call up the input tool by reading a window message, but still no automatic displaying function of the software keyboard for an entire window system is provided.  
           [0006]    The prior art software keyboard is usually displayed at a fixed position (for example, at the lower right corner of the display according to a predetermined coordinate value), but the input area may be inadvertently covered by the software keyboard, thus requiring the user to drag the software keyboard to another corner.  
           [0007]    Therefore, it is desirable to provide an improved software keyboard to mitigate and/or obviate the aforementioned problems.  
         SUMMARY OF THE INVENTION  
         [0008]    The main objective of the present invention is to provide a method of displaying a software keyboard which can automatically detect a caret symbol displayed on an input area of an active window to display the software keyboard on the display.  
           [0009]    Another objective of the present invention is to provide a method of displaying a software keyboard which can display the software keyboard near the caret symbol according to a coordinate value of the caret symbol, and avoid covering the input area to improve operational convenience.  
           [0010]    One more objective of the present invention is to provide a method of displaying a software keyboard which is capable of moving according to a movement of the caret symbol.  
           [0011]    In order to achieve the above-mentioned objectives, the present invention discloses a method of displaying a software keyboard in an information device. The information device is used to execute at least one application program, having a display for displaying the software keyboard and a corresponding widow opened after one application program is executed. The window has at least one input area and one non-input area, and when a caret symbol appears in the input area, an input process is performed after the caret symbol. The method comprises: detecting if one input area on the active window has a caret symbol, and if so displaying the software keyboard on the display.  
           [0012]    The present invention can be implemented by way of a software program, and the present invention can be written in an appropriate computer language to be loaded onto a computer readable medium. The medium can be an IC chip, a hard disk, an optical disk or any other software recording medium, but random access memory is considered a better choice as it is easy to update.  
           [0013]    Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0014]    [0014]FIG. 1 is a flowchart of a first embodiment according to the present invention.  
         [0015]    [0015]FIG. 2 is a schematic drawing of the flowchart of the first embodiment according to the present invention.  
         [0016]    [0016]FIG. 3 is another schematic drawing of the flowchart of the first embodiment according to the present invention.  
         [0017]    [0017]FIG. 4 is a schematic drawing of the software keyboard after switching to another window according to the present invention.  
         [0018]    [0018]FIG. 5 is a flowchart of a second embodiment according to the present invention.  
         [0019]    [0019]FIG. 6 is a schematic drawing of the software keyboard of the second embodiment according to the present invention. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT  
       [0020]    An embodiment of the present invention is applied in an information apparatus. The information apparatus has a display, such as a computer monitor, a mobile phone screen, a PDA (personal digital assistant) or a touch screen, for displaying a window (like an Office Word window, or a webpage window) and a software keyboard opened by an application. If the display is a touch screen, input from alphanumeric keys, symbol keys or function keys on the software keyboard is obtained by a user using his or her fingers, or a touch pen, to click on the corresponding keys. If the display is a standard screen, the primary purpose of the software keyboard is to prompt the user about the desired keyboard arrangement mode. However, the user can also use a mouse to click those keys on the software keyboard to provide corresponding key entry input.  
         [0021]    The window opened by the above-mentioned application has at least one input area and one non-input area. In the input area, the characters input by the user are displayed after a caret symbol that is displayed in the window. The caret symbol changes position with each input character. Taking the Office Word application as an example, in the opened window, a block that allows the user to edit document content serves as the input area, and a block that does not allow the user to edit document content serves as the non-input area, and may include a scroll bar superposed on top of the window. The caret symbol usually first appears at a beginning of the document, which is at the fist row and the first line, and is displayed as a flashing “I” or “|”symbol to indicate the character position to the user of the next input character. Naturally, position of the caret symbol can be controlled by a cursor, and when the cursor is clicked on another input area, or another paragraph of text in document, the caret symbol will move as indicated by the cursor. Taking an internet browser as an example, when the user links to a website and wishes to register as a member, every column (including, for example, a name column, an account number column, a password column, etc.) in the webpage is an input area; if the caret symbol appears in the name column, then the characters provided by the user are displayed in the name column. However, each information apparatus only has one caret symbol.  
         [0022]    In the present invention, a software keyboard will automatically appear on the display of the information apparatus. Please refer to FIG. 1. FIG. 1 is a flowchart of a first embodiment according to the present invention. When the user executes an application to open a window W 2 , as shown in FIG. 2 (step S 101 ), the information apparatus detects a caret symbol C 2  generated in an input area (step S 102 ) and calculates a coordinate value (x 2 ,y 2 ) for the caret symbol C 2  (step S 103 ). Then, the information apparatus displays a software keyboard K 2  at a position with a coordinate value (x 2 +m,y 2 +n) (step S 104 ). The m value is a predetermined horizontal distance, and the n value is a predetermined vertical distance. As shown in FIG. 2, the software keyboard K 2  appears near lower right region of the caret symbol C 2  (depending on the values of m and n, the software keyboard may also appear in the upper left region of the caret symbol C 2 ), and so the software keyboard K 2  does not cover the input area being used by the user.  
         [0023]    After the user inputs a string in the input area I 2 , since the caret symbol C 2  moves with new input character, the software keyboard K 2  will move according to the movement of the caret symbol C 2 . Please refer to FIG. 3. After the user inputs the text, “Chinese citizens are paying fishermen to bring them illegally to Taiwan where they intentionally give themselves up for the sole purpose”, the caret symbol C 2  originally having the coordinate value (x 2 ,y 2 ) as shown in FIG. 2 has now moved to the another position with a coordinate value of (x 3 ,y 3 ), and so the software keyboard K 2  with the coordinate value (x 2 +m,y 2 +n) has moved to a position with a coordinate value of (x 3 +m,y 3 +n). When the user switches the window W 2  to another window W 4  as shown in FIG. 4 (step S 105 ), the information apparatus will remove the setting for the software keyboard K 2  in the window W 2  and re-detect a caret symbol C 4  and its corresponding coordinate (x 4 ,y 4 ) in the window W 4 , thus displaying a software keyboard K 4  with a coordinate value given by (x 4 +m,y 4 +n). Furthermore, if the user moves the caret symbol C 4  from an input area  143  to another input area  144 , the keyboard K 4  will move accordingly.  
         [0024]    Additionally, in step S 102 , if there is no caret symbol generated in the input area of the active window, or there is no input area in the window, the software keyboard is hidden (step S 106 ). Moreover, when the software keyboard moves near the edge of the display and so is unable to move further down or to the right, the software keyboard instead moves in an opposite direction (i.e. further up or further to the left).  
         [0025]    Please refer to FIG. 5 and FIG. 6. FIG. 5 is a flowchart of a second embodiment according to the present invention. FIG. 6 is a schematic drawing of the software keyboard of the second embodiment according to the present invention. The second embodiment is similar to the first embodiment, but whereas in the first embodiment the software keyboard moves according with the position of the caret symbol, in the second embodiment when the information apparatus detects a caret symbol C 6  generated in an input area I 6  on the window W 6  (step S 502 ), the software keyboard K 6  appears at a position with a predetermined coordinate value (k 61 ,k 62 ) (step S 503 ). Hence, regardless of where the caret symbol is, the software keyboard will always appear at the same predetermined position. But the user still can drag and drop the software keyboard to any other position on the display.  
         [0026]    According to the above-mentioned description, the method of the present invention automatically displays/hides the software keyboard by detecting if the caret symbol is generated in input area of the active window, and so the user does not need to manually start the software keyboard. Furthermore, in the present invention the software keyboard appears at an appropriate position that does not cover the input area. Finally, the software keyboard provided by the present invention can support the inputting of multiple languages.  
         [0027]    The invention has been described using exemplary preferred embodiments. However, for those skilled in this field the preferred embodiments can be easily adapted and modified to suit additional applications without departing from the spirit and scope of this invention. Thus, it is to be understood that the scope of the invention is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements based upon the same operating principle. The scope of the claims, therefore, should be accorded the broadest interpretations so as to encompass all such modifications and similar arrangements.  
         [0028]    Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.