CN104142851A - Method for using computer input method in android simulator - Google Patents
Method for using computer input method in android simulator Download PDFInfo
- Publication number
- CN104142851A CN104142851A CN201410379326.XA CN201410379326A CN104142851A CN 104142851 A CN104142851 A CN 104142851A CN 201410379326 A CN201410379326 A CN 201410379326A CN 104142851 A CN104142851 A CN 104142851A
- Authority
- CN
- China
- Prior art keywords
- input
- android simulator
- input method
- android
- program
- 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
Abstract
The invention provides a method for using a computer input method in an android simulator. The method comprises the steps that 1. after an android simulator window program obtains a mouse focus, input content of the input method is obtained by monitoring a local event of the computer input method; 2. the android simulator window program copies the obtained input content to an internal storage cache region, then a communication link with the inner portion of the android simulator is established, and the input content in the internal storage cache region is sent into the android simulator; 3. an input service end program in the android simulator receives input content from an external communication link; and 4. the input service end program in the android simulator sends the input content to an input method client end program through a communication mechanism, and the input method client end program completes input processing at an appointed input bar. The purpose of android simulator inner inputting is achieved with the input method at a computer end.
Description
Technical field
The present invention relates to communication apparatus technical field, relate in particular to a kind of method that uses computer input method in Android simulator.
Background technology
Current Android simulator (Android Emulator) operates on the computer of x86 framework, but because Android simulator is the enclosed environment of an independent operating, multilingual in order to realize (Chinese, Japanese etc.) input, the input method that can only use simulator inside to carry.This input method is for Cell Phone Design, in input interactive experience with all to follow the custom on computer in speed different, very inconvenient.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of method that uses computer input method in Android simulator, utilizes the input method of computer end to realize the object of the inner input of Android simulator.
The present invention is achieved in that a kind of method that uses computer input method in Android simulator, comprises the steps:
Step 1, getting after mouse focus when Android simulator window writing routine, getting the input content of input method by monitoring the local event of computer input method;
Step 2, Android simulator window writing routine copy the input content getting in memory cache district to, then set up communication link with Android simulator inside, then the input content in memory cache district is sent to Android simulator inside;
The input serve end program of step 3, Android simulator inside is collected the input content of sending from external communication link;
The input serve end program of step 4, Android simulator inside sends to an input method client program by input content by communication mechanism, and input method client program completes in the input processing of specifying input field.
Further, described communication mechanism adopts the Internet Transmission mode based on Socket.
Further, described input method client program is Android input method client program, when the input focus of this program is activated, can from the memory cache district of communication link, obtains input content, and carry out input processing in the input field of current activation.
Tool of the present invention has the following advantages: the present invention by setting up a bridge joint program (being input method client program) between the inside and outside computer operating system of Android simulator, utilize this program, outside computer input method content is input to Android simulator inside, thereby realizes the object of utilizing the input method of computer end to realize the inner input of simulator.
Brief description of the drawings
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Refer to shown in Fig. 1, the present invention is a kind of method that uses computer input method in Android simulator, comprises the steps:
Step 1, getting after mouse focus when Android simulator window writing routine, getting the input content of input method by monitoring the local event of computer input method;
Step 2, Android simulator window writing routine copy the input content getting in memory cache district to, then set up communication link with Android simulator inside, then the input content in memory cache district is sent to Android simulator inside;
The input serve end program of step 3, Android simulator inside is collected the input content of sending from external communication link;
The input serve end program of step 4, Android simulator inside sends to an input method client program by input content by communication mechanism, and input method client program completes in the input processing of specifying input field; Described communication mechanism adopts the Internet Transmission mode based on Socket.
Wherein, described input method client program is Android input method client program, when the input focus of this program is activated, can from the memory cache district of communication link, obtains input content, and carry out input processing in the input field of current activation.
In a word, the present invention by setting up a bridge joint program (being input method client program) between the inside and outside computer operating system of Android simulator, utilize this program, outside computer input method content is input to Android simulator inside, thereby realizes the object of utilizing the input method of computer end to realize the inner input of simulator.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (3)
1. a method that uses computer input method in Android simulator, is characterized in that, comprises the steps:
Step 1, getting after mouse focus when Android simulator window writing routine, getting the input content of input method by monitoring the local event of computer input method;
Step 2, Android simulator window writing routine copy the input content getting in memory cache district to, then set up communication link with Android simulator inside, then the input content in memory cache district is sent to Android simulator inside;
The input serve end program of step 3, Android simulator inside is collected the input content of sending from external communication link;
The input serve end program of step 4, Android simulator inside sends to an input method client program by input content by communication mechanism, and input method client program completes the input processing at input field.
2. a kind of method that uses computer input method in Android simulator according to claim 1, is characterized in that: described communication mechanism adopts the Internet Transmission mode based on Socket.
3. a kind of method that uses computer input method in Android simulator according to claim 1, it is characterized in that: described input method client program is Android input method client program, when the input focus of this program is activated, can from the memory cache district of communication link, obtain input content, and carry out input processing in the input field of current activation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410379326.XA CN104142851A (en) | 2014-08-04 | 2014-08-04 | Method for using computer input method in android simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410379326.XA CN104142851A (en) | 2014-08-04 | 2014-08-04 | Method for using computer input method in android simulator |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104142851A true CN104142851A (en) | 2014-11-12 |
Family
ID=51852032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410379326.XA Pending CN104142851A (en) | 2014-08-04 | 2014-08-04 | Method for using computer input method in android simulator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104142851A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112363632A (en) * | 2020-11-03 | 2021-02-12 | 北京麟卓信息科技有限公司 | Android application input method and device under Linux platform |
WO2021244459A1 (en) * | 2020-05-31 | 2021-12-09 | 华为技术有限公司 | Input method and electronic device |
CN114090487A (en) * | 2021-11-26 | 2022-02-25 | 上海星融汽车科技有限公司 | Communication method, device and system of android simulator and diagnosis equipment, storage medium and electronic equipment |
CN115640154A (en) * | 2022-12-23 | 2023-01-24 | 北京麟卓信息科技有限公司 | Cross-operation environment interaction delay optimization method based on intelligent trajectory prediction |
WO2023035758A1 (en) * | 2021-09-10 | 2023-03-16 | 北京字节跳动网络技术有限公司 | Input method setting method and apparatus, input method, and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6546431B1 (en) * | 1999-03-12 | 2003-04-08 | International Business Machines Corporation | Data processing system and method for sharing user interface devices of a provider assistive technology application with disparate user assistive technology applications |
CN101075188A (en) * | 2006-05-17 | 2007-11-21 | 联想(北京)有限公司 | Safety inputting method based on virtual machine |
CN102427448A (en) * | 2011-11-03 | 2012-04-25 | 中兴通讯股份有限公司 | Method, terminal and server employing client input method on virtual desktop |
CN103838375A (en) * | 2014-02-28 | 2014-06-04 | 深圳市深信服电子科技有限公司 | Terminal input method and terminal |
-
2014
- 2014-08-04 CN CN201410379326.XA patent/CN104142851A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6546431B1 (en) * | 1999-03-12 | 2003-04-08 | International Business Machines Corporation | Data processing system and method for sharing user interface devices of a provider assistive technology application with disparate user assistive technology applications |
CN101075188A (en) * | 2006-05-17 | 2007-11-21 | 联想(北京)有限公司 | Safety inputting method based on virtual machine |
CN102427448A (en) * | 2011-11-03 | 2012-04-25 | 中兴通讯股份有限公司 | Method, terminal and server employing client input method on virtual desktop |
CN103838375A (en) * | 2014-02-28 | 2014-06-04 | 深圳市深信服电子科技有限公司 | Terminal input method and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021244459A1 (en) * | 2020-05-31 | 2021-12-09 | 华为技术有限公司 | Input method and electronic device |
CN112363632A (en) * | 2020-11-03 | 2021-02-12 | 北京麟卓信息科技有限公司 | Android application input method and device under Linux platform |
WO2023035758A1 (en) * | 2021-09-10 | 2023-03-16 | 北京字节跳动网络技术有限公司 | Input method setting method and apparatus, input method, and electronic device |
CN114090487A (en) * | 2021-11-26 | 2022-02-25 | 上海星融汽车科技有限公司 | Communication method, device and system of android simulator and diagnosis equipment, storage medium and electronic equipment |
CN115640154A (en) * | 2022-12-23 | 2023-01-24 | 北京麟卓信息科技有限公司 | Cross-operation environment interaction delay optimization method based on intelligent trajectory prediction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104142851A (en) | Method for using computer input method in android simulator | |
JP2011512590A5 (en) | ||
EP2838036A3 (en) | System and method for incrementally replicating investigative analysis data | |
MX2015014762A (en) | A method and system for synchronizing with neighbor in a distributed resilient network interconnect (drni) link aggregation group. | |
TW200745867A (en) | Universal interface apparatus and method | |
WO2008106664A3 (en) | Human behavioral modeling and simulation framework | |
JP2010039913A5 (en) | ||
EP2921958A3 (en) | Information processing apparatus, information processing system, and information processing method | |
JP2017509997A5 (en) | ||
US20170091179A1 (en) | Translation apparatus and control method thereof | |
WO2008106661A3 (en) | Human transparency paradigm | |
US20150227305A1 (en) | Deploying multi-channel or device agnostic applications | |
US9477492B2 (en) | Deploying multi-channel or device agnostic applications | |
JP2015146176A5 (en) | Program execution device and program execution method | |
Coimbra de Andrade et al. | A neural attention model for speech command recognition | |
JP2015534171A5 (en) | ||
Muhie Yimam et al. | Demonstrating PAR4SEM-A Semantic Writing Aid with Adaptive Paraphrasing | |
Bavay et al. | MeteoIO: A meteorological data pre-processing library for numerical models | |
Jamshid Lou et al. | Disfluency detection using auto-correlational neural networks | |
Shpigel Nacson et al. | Lexicographic and depth-sensitive margins in homogeneous and non-homogeneous deep models | |
Khanh Dam et al. | A deep language model for software code | |
JP2018005947A5 (en) | Computers for mechanical systems and control | |
Lacy et al. | A New Archive and Pipeline Processing Interface for the NRAO | |
Garí Soler et al. | Word usage similarity estimation with sentence representations and automatic substitutes | |
Javaloy Bornás et al. | A Character-Level Approach to the Text Normalization Problem Based on a New Causal Encoder |
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: 20141112 |
|
RJ01 | Rejection of invention patent application after publication |