CN105824501A - Realization method for soft keyboard of Android system television - Google Patents
Realization method for soft keyboard of Android system television Download PDFInfo
- Publication number
- CN105824501A CN105824501A CN201610137473.5A CN201610137473A CN105824501A CN 105824501 A CN105824501 A CN 105824501A CN 201610137473 A CN201610137473 A CN 201610137473A CN 105824501 A CN105824501 A CN 105824501A
- Authority
- CN
- China
- Prior art keywords
- soft keyboard
- key
- button
- control
- remote controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a realization method for a soft keyboard of an Android system television. The method is realized based on the original GridView control and PopWindow control of the Android system, a presentment interface of the soft keyboard is defined by using a showAsDropDown(View anchor, int xoff, int yoff) method of the PopWindow control, and a hiding interface of the soft keyboard is defined by using a dissmiss () method of the PopWindow control; a setOnKeyListener method of the Gridview control is used for monitoring key operations of a television remote controller, so that the soft keyboard responds a direction key, a return key and a confirmation key of the remoter controller, when an indicating cursor is located on the leftmost key of a certain row of the soft keyboard, if the left key of the television remote controller is operated, the indicating cursor moves to the rightmost key of the row, and when the indicating cursor is located on the rightmost key of a certain row of the soft keyboard, if the right key of the television remote controller is operated, the indicating cursor moves to the leftmost key of the row. According to the invention, the soft keyboard with more convenient and easier use and free of a secondary interface is realized, and can be flexibly transferred and hidden.
Description
Technical field
The present invention relates to intelligent television technical field, be specifically related to the implementation method of a kind of soft keyboard for Android system TV.
Background technology
At present, user is bothered to television equipment input charactor comparison by remote controller.Reason is that the input method of TV is more complicated, and user to input a character generally by remote controller key many times.User's input for convenience, the application on TV much all devises respective softkeys dish and replaces the input method of complexity.Observe the different soft keyboards in application at present, one class soft keyboard has secondary interface, such as contain " A, B, C " these three character inside one soft keyboard button, when you click on, system can eject an interface requirements user again and carry out character selection, it is clear that this soft keyboard is the most more complicated.Although an other class soft keyboard does not has secondary interface, but this generally the most all occupies one piece of region that user interface is the biggest.The most current almost all of soft keyboard the most simply possesses input and deletes function, can not remember the input of the previous step of user.
Summary of the invention
Instant invention overcomes user in prior art and there is cumbersome deficiency by remote controller to television equipment input character, it is provided that a kind of soft keyboard the most easily inputs the implementation method of the English soft keyboard for Android system TV with numerical character for user to Android television text box.
For achieving the above object, the present invention is by the following technical solutions:
A kind of implementation method of the soft keyboard for Android system TV, the method realizes based on the primary GridView control of Android system and PopWindow control, specifically includes following steps:
Step S1, use the showAsDropDown (Viewanchor of PopWindow control, intxoff, intyoff) method definition soft keyboard present interface, use the hiding interface of dissmiss () the method definition soft keyboard of PopWindow control;
Step S2, setOnKeyListener method by Gridview control monitors the button operation of TV remote controller, make the soft keyboard response directionkeys of remote controller, return key and acknowledgement key, when on the button of the high order end indicating cursor to be positioned at software dish a line, if the left button of operation TV remote controller, then on the button of the low order end that instruction cursor moves to this row, when on the button of the low order end indicating cursor to be positioned at software dish a line, if the right button of operation TV remote controller, it indicates that cursor moves on the button of high order end changed one's profession.
Further technical scheme is, described software dish 36 buttons of definition, and described 36 buttons include 26 English character buttons, 9 digital keys, delete key, cancel key and clear key.
The technical program is chosen control primary in Android system and realizes this soft keyboard assembly, " presenting ", " hiding " interface of definition soft keyboard calls for Android system, by defining the function of software dish, after soft keyboard obtains instruction cursor, user selects the button in soft keyboard by the directionkeys of TV remote controller;If user clicks on " digital keys " or " English button ", then input corresponding character to text box;If user clicks on " delete button ", then delete the character that user recently enters, if user clicks on " cancelling button ", then cancel the input operation of the previous step of user, return to the input state before previous action, if user clicks on " clear key ", then remove all characters of user's input.
Compared with prior art, the invention has the beneficial effects as follows:
This method achieves an easy-to-use soft keyboard not having secondary interface the easiest, and it can be transferred out neatly and hide;The input of user's previous step can be remembered;It addition, instruction cursor moves on to the rightest key of this row from the key of certain a line high order end only need to press a remote controller key, instruction cursor moves on to the rightest key from the key of low order end also only need to press primary key.Developed into an assembly, be available for android application call.
Accompanying drawing explanation
Fig. 1 is the implementation method FB(flow block) of the soft keyboard for Android system TV of an embodiment of the present invention.
Detailed description of the invention
The present invention is further elaborated below in conjunction with the accompanying drawings.
As it is shown in figure 1, the implementation method of a kind of soft keyboard for Android system TV, the method realizes based on the primary GridView control of Android system and PopWindow control, specifically includes following steps:
Step S1, use the showAsDropDown (Viewanchor of PopWindow control, intxoff, intyoff) method definition soft keyboard present interface, use the hiding interface of dissmiss () the method definition soft keyboard of PopWindow control;
Step S2, setOnKeyListener method by Gridview control monitors the button operation of TV remote controller, make the soft keyboard response directionkeys of remote controller, return key and acknowledgement key, when on the button of the high order end indicating cursor to be positioned at software dish a line, if the left button of operation TV remote controller, then on the button of the low order end that instruction cursor moves to this row, when on the button of the low order end indicating cursor to be positioned at software dish a line, if the right button of operation TV remote controller, it indicates that cursor moves on the button of high order end changed one's profession.
Software dish 36 buttons of definition, 36 buttons include 26 English character buttons, 9 digital keys, delete key, cancel key and clear key.
The soft keyboard that the present invention provides has a characteristic that
1, soft keyboard defines 36 keys, including A-Z26 English character button, 0-99 numeral keys, deletes key, cancels key, clear key;
2, soft keyboard does not has secondary interface, all of button to present in an interface;
3, soft keyboard only responds the directionkeys of TV remote controller, return key, OK key
4, soft keyboard is an assembly of an Android system, which defines presenting and hiding interface of soft keyboard, can use other Android system to call.
The essence of the present invention is described in detail by above detailed description of the invention; but protection scope of the present invention can not be limited; apparently; under the enlightenment of the present invention; the art those of ordinary skill can also carry out many improvement and modification; it should be noted that these improve and modify all to fall within the claims of the present invention.
Claims (2)
1. the implementation method of soft keyboard for Android system TV, it is characterised in that the method realizes based on the primary GridView control of Android system and PopWindow control, specifically includes following steps:
Step S1, use the showAsDropDown (Viewanchor of PopWindow control, intxoff, intyoff) method definition soft keyboard present interface, use the hiding interface of dissmiss () the method definition soft keyboard of PopWindow control;
Step S2, setOnKeyListener method by Gridview control monitors the button operation of TV remote controller, make the soft keyboard response directionkeys of remote controller, return key and acknowledgement key, when on the button of the high order end indicating cursor to be positioned at software dish a line, if the left button of operation TV remote controller, then on the button of the low order end that instruction cursor moves to this row, when on the button of the low order end indicating cursor to be positioned at software dish a line, if the right button of operation TV remote controller, it indicates that on the button of the high order end that cursor moves to this row.
The implementation method of the soft keyboard for Android system TV the most according to claim 1, it is characterised in that described software dish 36 buttons of definition, described 36 buttons include 26 English character buttons, 9 digital keys, delete key, cancel key and clear key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610137473.5A CN105824501A (en) | 2016-03-10 | 2016-03-10 | Realization method for soft keyboard of Android system television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610137473.5A CN105824501A (en) | 2016-03-10 | 2016-03-10 | Realization method for soft keyboard of Android system television |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105824501A true CN105824501A (en) | 2016-08-03 |
Family
ID=56987574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610137473.5A Pending CN105824501A (en) | 2016-03-10 | 2016-03-10 | Realization method for soft keyboard of Android system television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105824501A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144809A (en) * | 2017-06-28 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | A kind of focal variation monitoring method, storage medium, electronic equipment and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053772A (en) * | 2009-11-10 | 2011-05-11 | 纬创资通股份有限公司 | Character inputting method and electronic device |
CN102520846A (en) * | 2011-11-24 | 2012-06-27 | 青岛海信移动通信技术股份有限公司 | Mobile communication terminal input method and mobile communication terminal |
CN103152623A (en) * | 2013-02-05 | 2013-06-12 | 深圳创维-Rgb电子有限公司 | Method for inputting characters into display equipment by using remote controller |
CN104080002A (en) * | 2014-06-26 | 2014-10-01 | 深圳市同洲电子股份有限公司 | Playing method and terminal of set top box |
US20150185877A1 (en) * | 2013-12-27 | 2015-07-02 | Sony Corporation | Control device, control method, program, and electronic apparatus |
-
2016
- 2016-03-10 CN CN201610137473.5A patent/CN105824501A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053772A (en) * | 2009-11-10 | 2011-05-11 | 纬创资通股份有限公司 | Character inputting method and electronic device |
CN102520846A (en) * | 2011-11-24 | 2012-06-27 | 青岛海信移动通信技术股份有限公司 | Mobile communication terminal input method and mobile communication terminal |
CN103152623A (en) * | 2013-02-05 | 2013-06-12 | 深圳创维-Rgb电子有限公司 | Method for inputting characters into display equipment by using remote controller |
US20150185877A1 (en) * | 2013-12-27 | 2015-07-02 | Sony Corporation | Control device, control method, program, and electronic apparatus |
CN104080002A (en) * | 2014-06-26 | 2014-10-01 | 深圳市同洲电子股份有限公司 | Playing method and terminal of set top box |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144809A (en) * | 2017-06-28 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | A kind of focal variation monitoring method, storage medium, electronic equipment and system |
CN109144809B (en) * | 2017-06-28 | 2022-03-25 | 武汉斗鱼网络科技有限公司 | Focus change monitoring method, storage medium, electronic device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017088500A1 (en) | Intelligent wearable device and information input method therefor | |
CN103823572B (en) | Data entry device, data input device and electronic equipment | |
CN104123097B (en) | control application execution method and device | |
CN103049205A (en) | Mobile terminal and control method thereof | |
CN103870007A (en) | Control method and control system for key combination of mobile terminal | |
CN110022492B (en) | Intelligent television terminal focus adaptation method and device | |
CN108153457B (en) | Message reply method and device | |
CN105824501A (en) | Realization method for soft keyboard of Android system television | |
CN104618781A (en) | Method and device for inputting characters on television terminal | |
CN110275623B (en) | Method and device for triggering key values of keys | |
US20160253062A1 (en) | Method for presentation by terminal device, and terminal device | |
CN112788436B (en) | Television platform soft keyboard display method and device, smart television and storage medium | |
TW201627820A (en) | Multi-key input method and input device thereof | |
JP2017062649A (en) | Information processing device and information processing program | |
CN102033692A (en) | Method and device for regulating priority of items to be selected of input method | |
CN103995740A (en) | Achieving method of command line human-computer interaction interface | |
CN111049952A (en) | Intelligent terminal and control method thereof | |
CN104469013A (en) | Mobile terminal and dial-up editing method thereof | |
CN107396201B (en) | Five-key operation method for television set | |
KR101463103B1 (en) | Method of using temporary applications of smartphone by proximity sensor in the state of its lock mode | |
CN106886297A (en) | Input method optimization method, device and mobile terminal | |
CN103442284B (en) | Control method, control device and television system | |
US20150268841A1 (en) | Method of Changing a User Interface to be a Dedicated SkypeTM Interface and Computer Program Product Thereof and Handheld Electronic Device | |
CN106325721A (en) | Operation method and device for sensing areas on terminal touch screen and terminal | |
CN101271388A (en) | Built-in browser client terminal interactive input method and software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160803 |
|
RJ01 | Rejection of invention patent application after publication |