CN106406564A - Input method software used in the Android system - Google Patents

Input method software used in the Android system Download PDF

Info

Publication number
CN106406564A
CN106406564A CN201610841181.XA CN201610841181A CN106406564A CN 106406564 A CN106406564 A CN 106406564A CN 201610841181 A CN201610841181 A CN 201610841181A CN 106406564 A CN106406564 A CN 106406564A
Authority
CN
China
Prior art keywords
key
input
input method
android system
method software
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
Application number
CN201610841181.XA
Other languages
Chinese (zh)
Inventor
韦兴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qiwen Zhongbang Electronic Co Ltd
Original Assignee
Shenzhen Qiwen Zhongbang Electronic Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Qiwen Zhongbang Electronic Co Ltd filed Critical Shenzhen Qiwen Zhongbang Electronic Co Ltd
Priority to CN201610841181.XA priority Critical patent/CN106406564A/en
Publication of CN106406564A publication Critical patent/CN106406564A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Abstract

The invention provides input method software used in the Android system. The input method software includes a numeric keyboard and a data processing system. The numeric keyboard comprises 9 number keys, a direction key, a # key, a menu key, a back key and a direction middle key. The data processing system comprises a data processing program and more than one word bank, wherein the word banks are independent of one another. The input method software used in the Android system supports multi-language input and has the numeric keyboard.

Description

A kind of input method software using in android system
Technical field
The present invention relates to a kind of input method software using in android system.
Background technology
Mobile phone is generally divided into two kinds.Functional mobile phone has a numeric keypad, and basic operation is convenient, but screen is little, function is few. Smart mobile phone does not have numeric keypad, and with touch screen operation, greatly, function is many for screen.On mobile phone market, primitive form is exactly in recent years The process that functional mobile phone is gradually replaced by smart mobile phone.But also occur in that some in the process, on the one hand they wish Cell phone multifunction, then wishes that mobile phone has numeric keypad easy to operate again.But when cell phone manufacturer wants the feature according to these people Produce during the mobile phone with numeric keypad it has been found that there is no suitable input method.With the present search dog supporting numeric keypad input As a example input method, if will be used as the input method of the mobile phone of numeric keypad, it has three obvious problems:
1st, Delete key is essential.Delete is responsible for deleting function in search dog input method, but Delete key is in mark In accurate function machine keyboard and be not belonging to standard configuration (see Fig. 1).Change, from function machine user, the user that comes and uncomfortable make With.
2nd, do not connect by input function.Even by input function be such, such as when pressing 2, now export It is a.If the short time presses one time 2 again, a of output will be converted to b.If pressing 2 again every a period of time, then can export again One a.This is the input mode that One function machine generally possesses, but search dog input method does not possess.
3rd, do not support multi-lingual.The mobile phone of China exports to all over the world, but search dog input input method only supports two Planting input mode one kind is Chinese pinyin input, and another kind is English intelligent input.The requirement of mobile phone outlet cannot be met.
Content of the invention
The technical problem to be solved in the present invention is that offer is a kind of supports polyglot input and existing with numeric keypad The input method software using in android system.
For solving the above problems, the present invention adopts the following technical scheme that:
A kind of in android system use input method software it is characterised in that:Process including numeric keypad data System, described numeric keypad includes key in numeral keys, directionkeys, # key, menu key, back key and direction, the setting of described numeral keys There are 9, described data handling system includes data processor and dictionary, described dictionary is provided with more than one, described dictionary Separate.
The invention solves the problems that another technical problem be that a kind of input method software using in android system is provided Technical scheme, comprises the following steps:
1) numeral keys correspond to the numeral of 0-9 respectively, and each numeral keys corresponds to multiple English alphabets, inputted by single, Repeatedly input or after combining input, candidate word can be shown on mobile phone screen.
2) it is in edit box when focus is detected, and when having word in edit box, use Whether getCurrentInputConnection () program judges screen focus in a control that can input; GetCurrentInputConnection () .getTextBeforeCursor (1,0) program whether there is literary composition before judging cursor Word, if returning is not 0, that is, blocks the input of back key, and sends the key information of a delete key;Back key can be replaced Change the operation of delete key into, other when then do not do any operation, realize the original function of back key.
3) when inputting the Latin alphabet, using Handler.sendMessageDelay () program, as timing information;Often Secondary button just sends out a time delay message;Have if time delay message is not received new by input, then judge new Whether button is identical with last time button, if the same deletes a character and inputs character late, otherwise inputs new button Corresponding character;And the effect of # key is exactly to switch a global variable mMode, when variable changes, input method will become Change;To judge inputted what letter by timing.
4) menu key and directionkeys are utilized to select candidate word, in last use direction, key determines candidate word candidate word is defeated Go out in text edit box.
Further, it is provided with the index that auxiliary calculates in described dictionary.Enable fast search during input respective keys To candidate word.
Further, described data processor includes BaseControl program.As long as a new input method is inherited BaseControl just can be added in original input method, and other codes only need to little modification.
Beneficial effects of the present invention are:Permissible after the single input of the numeral keys using 0 to 9, repeatedly input, combination input Candidate word is shown on screen.Then utilization orientation key can select candidate word, and in last use direction, key can determine candidate Word simultaneously exports candidate word in text edit box.When edit box has word, word can be deleted using back key.Work as editor When frame does not have word, the original function of back key can be realized using back key.Can there is no candidate word using # key Simple switching between input mode and the standard input mode having candidate word;Input method software passes through different dictionaries and corresponds to multiple languages Speech, supports polyglot input.
Brief description
Fig. 1 is that a kind of overall structure of the numeric keypad of input method software using in android system of the present invention is shown It is intended to;
Specific embodiment
Embodiment one:
As shown in figure 1, a kind of in android system use input method software it is characterised in that:Including numeric keypad 1 data processing system (not shown), described numeric keypad 1 includes numeral keys 2, directionkeys 3, # key 4, menu key 5, back key 6 With key 7 in direction, described numeral keys 1 are provided with 9, and described data handling system is (not shown) to include data processor (not Diagram) and dictionary (not shown), described dictionary (not shown) is provided with more than one, and described dictionary (not shown) is separate.
The invention solves the problems that another technical problem be that a kind of input method software using in android system is provided Technical scheme, comprises the following steps:
1) numeral keys correspond to the numeral of 0-9 respectively, and each numeral keys corresponds to multiple English alphabets, inputted by single, Repeatedly input or after combining input, candidate word can be shown on mobile phone screen.
2) it is in edit box when focus is detected, and when having word in edit box, use Whether getCurrentInputConnection () program judges screen focus in a control that can input; GetCurrentInputConnection () .getTextBeforeCursor (1,0) program whether there is literary composition before judging cursor Word, if returning is not 0, that is, blocks the input of back key, and sends the key information of a delete key;Back key can be replaced Change the operation of delete key into, other when then do not do any operation, realize the original function of back key.
3) when inputting the Latin alphabet, using Handler.sendMessageDelay () program, as timing information;Often Secondary button just sends out a time delay message;Have if time delay message is not received new by input, then judge new Whether button is identical with last time button, if the same deletes a character and inputs character late, otherwise inputs new button Corresponding character;And the effect of # key is exactly to switch a global variable mMode, when variable changes, input method will occur Change;To judge inputted what letter by timing.
4) menu key and directionkeys are utilized to select candidate word, in last use direction, key determines candidate word candidate word is defeated Go out in text edit box.
Further, it is provided with the index (not shown) that auxiliary calculates in described dictionary (not shown).Make input corresponding During button, energy fast search is to candidate word.
Further, described data processor inclusion (not shown) BaseControl program (not shown).One new As long as input method inherits BaseControl just being added in original input method, and other codes only needing to little repairing Change.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any The change or replacement expected without creative work, all should be included within the scope of the present invention.

Claims (4)

1. a kind of in android system use input method software it is characterised in that:Including numeric keypad data processing system System, described numeric keypad includes key in numeral keys, directionkeys, # key, menu key, back key and direction, and described numeral keys are provided with 9, described data handling system includes data processor and dictionary, and described dictionary is provided with more than one, described dictionary phase Mutually independent.
2. a kind of technical scheme of the input method software using in android system as claimed in claim 1, its feature exists In:Comprise the following steps:
1) numeral keys correspond to the numeral of 0-9 respectively, and each numeral keys corresponds to multiple English alphabets, are inputted by single, repeatedly After input or combination input, candidate word can be shown on mobile phone screen.
2) it is in edit box when focus is detected, and when having word in edit box, using getCurrentInputConnection Whether () program judges screen focus in a control that can input;getCurrentInputConnection() .getTextBeforeCursor (1,0) program whether there is word before judging cursor, if returning is not 0, that is, blocks back The input of key, and send the key information of a delete key;Back key can be substituted for the operation of delete key, other when Then do not do any operation, realize the original function of back key.
3) when inputting the Latin alphabet, using Handler.sendMessageDelay () program, as timing information;Press every time Key just sends out a time delay message;Have if time delay message is not received new by input, then judge new button Whether identical with last time button, if the same delete a character and input character late, otherwise input new button and correspond to Character;And the effect of # key is exactly to switch a global variable mMode, when variable changes, input method will change; To judge inputted what letter by timing.
4) menu key and directionkeys are utilized to select candidate word, in last use direction, key determines candidate word and exports candidate word In text edit box.
3. the as claimed in claim 2 input method software using in android system it is characterised in that:In described dictionary It is provided with the index that auxiliary calculates.
4. the as claimed in claim 3 input method software using in android system it is characterised in that:At described data Reason program includes BaseControl program.
CN201610841181.XA 2016-09-22 2016-09-22 Input method software used in the Android system Pending CN106406564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610841181.XA CN106406564A (en) 2016-09-22 2016-09-22 Input method software used in the Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610841181.XA CN106406564A (en) 2016-09-22 2016-09-22 Input method software used in the Android system

Publications (1)

Publication Number Publication Date
CN106406564A true CN106406564A (en) 2017-02-15

Family

ID=57997999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610841181.XA Pending CN106406564A (en) 2016-09-22 2016-09-22 Input method software used in the Android system

Country Status (1)

Country Link
CN (1) CN106406564A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024012009A1 (en) * 2022-07-14 2024-01-18 腾讯科技(深圳)有限公司 Keyboard input method and system, and computer-readable storage medium, electronic device and computer program product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024012009A1 (en) * 2022-07-14 2024-01-18 腾讯科技(深圳)有限公司 Keyboard input method and system, and computer-readable storage medium, electronic device and computer program product

Similar Documents

Publication Publication Date Title
CN107509098B (en) Multi-language character input method and device based on virtual keyboard
CN102830924B (en) A kind of method and device adjusting entering method keyboard
CN102346648B (en) Method and system for realizing priorities of input characters of squared up based on touch screen
CN103365573A (en) Method and device for identifying multi-key input characters
CN101286096A (en) Digit, letter and punctuation and input mode direct switching method
CN104007890B (en) The method and electronic equipment of information processing
CN101110072A (en) Device and method for automatic identifying literal code
CN101576797A (en) Input method for digital terminal equipment with touch screen
CN101706689B (en) Method and device for inputting characters via direction key
CN106168880B (en) A kind of method and terminal of input control
CN106406564A (en) Input method software used in the Android system
CN102375655B (en) A kind of processing method and system of letter input
CN103955342A (en) Sudoko English keyboard
CN105892710B (en) Chinese character input method and device based on text box
CN102541270B (en) Character inputting method and device as well as keyboard
CN100416471C (en) Ambiguous processing and man-machine interactive method for spanish input on pad
CN104991657A (en) Chinese and Japanese katakana integrated input method and input method system
CN101206525A (en) Disorder input method
CN102385444B (en) Control method and system for cursor movement
CN105094359A (en) Digital sequence number input method
CN103927104A (en) Inputting method, device and facility
CN204288123U (en) A kind of computing equipment and keyboard thereof
CN104317422A (en) Repeated code filtering and word stock coding method on basis of Chinese character pinyin input method
CN204117113U (en) Touchscreen keypad
CN104317421A (en) Key and hand Chinese character input method for cellphones

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215