CN111694560A - Soft keyboard starting method and mobile application development terminal - Google Patents

Soft keyboard starting method and mobile application development terminal Download PDF

Info

Publication number
CN111694560A
CN111694560A CN202010453957.7A CN202010453957A CN111694560A CN 111694560 A CN111694560 A CN 111694560A CN 202010453957 A CN202010453957 A CN 202010453957A CN 111694560 A CN111694560 A CN 111694560A
Authority
CN
China
Prior art keywords
terminal
soft keyboard
control instruction
hybrid
native
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
CN202010453957.7A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202010453957.7A priority Critical patent/CN111694560A/en
Publication of CN111694560A publication Critical patent/CN111694560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a soft keyboard calling method and a mobile application development terminal, wherein the mobile application development terminal is accessed to a Hybrid software development kit (Hybrid SDK), and the method comprises the following steps: the Native terminal receives a first control instruction sent by the Java script terminal, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script terminal; the Native terminal calls a software keyboard starting function in a plurality of functions contained in the Hybrid SDK according to first information contained in the first control instruction and used for indicating the starting of the software keyboard, so that the software keyboard is displayed on the target page in a floating mode. Thus, after receiving the first control instruction sent by the Java script, the Native terminal may call the soft keyboard call function in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to call the soft keyboard, and then call the soft keyboard. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.

Description

Soft keyboard starting method and mobile application development terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a soft keyboard tuning method and a mobile application development terminal.
Background
During development of an Application (App), a plurality of web page tool libraries (web libraries) may be used, so that in order to facilitate development of the App, the plurality of web libraries may be modified to obtain a Hybrid software development kit (Hybrid SDK), and the App may access the Hybrid SDK to reduce complexity of development of the App. Due to the fact that the webblirry is changed, after the App accesses the Hybrid SDK, when certain pages are displayed, the situation that the soft keyboard cannot automatically bounce may occur.
In the prior art, in order to solve the problem that the soft keyboard cannot be automatically bounced after the App accesses the Hybrid SDK, the code of the web library and the code of the Hybrid SDK are usually compared to find out a change point where the web library is extracted into the Hybrid SDK, and then the change point is modified in the Hybrid SDK according to the found change point, so as to solve the problem that the soft keyboard cannot be automatically bounced. However, when the Hybrid SDK is extracted from the web library, a large amount of reconstruction and adjustment are performed on the code, the related code may be dispersed in different branches of the web library, the workload for comparing the code is large, and the process is complicated.
Disclosure of Invention
The application provides a soft keyboard calling method and a mobile application development terminal, and aims to solve the problems that in the prior art, in order to call a soft keyboard, a web library code needs to be compared with a Hybrid SDK code, the workload is large, and the process is complicated.
In a first aspect, the present invention provides a soft keyboard invoking method, which is applied to a mobile application development terminal accessing a Hybrid software development kit (Hybrid SDK), and the method includes:
a Native terminal receives a first control instruction sent by a Java script terminal, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script terminal;
and the Native terminal calls a soft keyboard calling function in a plurality of functions included in the Hybrid SDK according to first information which is included in the first control instruction and used for indicating the soft keyboard calling so as to enable the soft keyboard to be displayed on the target page in a floating mode.
Further, the first information is further used for indicating that input box focusing is performed, and the method further includes:
and the Native terminal controls a target input frame contained in a target page displayed by the Java script terminal to focus according to first information contained in the first control instruction and used for indicating the focusing of the input frame.
Further, the controlling, by the Native terminal, a target input frame included in a target page displayed by the Java script terminal to focus according to first information included in the first control instruction and used for instructing to focus the input frame includes:
the Native terminal calls a focusing function of a webpage view webview according to first information which is contained in the first control instruction and used for indicating input frame focusing, and identifies a target input frame contained in the target page;
and the Native terminal focuses on the identified target input frame contained in the target page.
In a second aspect, the present invention further provides a soft keyboard invoking method, which is applied to a mobile application development terminal accessing a Hybrid software development kit SDK, and the method includes:
displaying a target page by the Java script end;
the method comprises the steps that a Java script end sends a first control instruction to a Native end, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script end, so that the Native end calls a soft keyboard calling-up function in a plurality of functions included in the Hybrid SDK according to the first information.
In a third aspect, the present invention further provides a mobile application development terminal, where the mobile application development terminal accesses a Hybrid software development kit SDK, and is characterized by comprising:
the Native terminal receives a first control instruction sent by a Java script terminal through the receiving module, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script terminal;
and the Native terminal calls a soft keyboard calling function in a plurality of functions contained in the Hybrid SDK through the calling module according to first information contained in the first control instruction and used for indicating the soft keyboard to be called so as to enable the soft keyboard to be displayed on the target page in a floating mode.
Further, the first information is further used to instruct to perform input box focusing, and the mobile application development terminal further includes:
and the Native terminal controls a target input frame contained in a target page displayed by the Java script terminal to focus through the focusing module according to first information contained in the first control instruction and used for indicating input frame focusing.
Further, the focusing module includes:
the Native terminal calls a focusing function of a webpage view webview according to first information which is contained in the first control instruction and used for indicating input frame focusing through the identification submodule, and identifies a target input frame contained in the target page;
and the Native terminal focuses the target input frame contained in the identified target page through the focusing submodule.
In a fourth aspect, the present invention further provides a mobile application development terminal, where the mobile application development terminal accesses a Hybrid software development kit SDK, and the mobile application development terminal includes:
the display module is used for displaying a target page through the Java script end;
the Java script end sends a first control instruction to a Native end through the sending module, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script end, so that the Native end calls a soft keyboard calling-up function in a plurality of functions included in the Hybrid SDK according to the first information.
In a fifth aspect, the present invention further provides an electronic device, including:
a memory for storing program instructions;
and the processor is used for calling and executing the program instructions in the memory so as to realize the soft keyboard starting method in the first aspect.
In a sixth aspect, the present invention further provides a readable storage medium, where a computer program is stored, and when at least one processor of the mobile application development terminal executes the computer program, the mobile application development terminal executes the soft keyboard tuning method according to the first aspect.
According to the technical scheme, the soft keyboard starting method and the mobile application development terminal are provided by the embodiment of the invention, and the mobile application development terminal is accessed to a Hybrid software development kit (Hybrid SDK). A Native terminal receives a first control instruction sent by a Javascript terminal, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Javascript terminal; and the Native terminal calls a soft keyboard calling function in a plurality of functions included in the Hybrid SDK according to first information which is included in the first control instruction and used for indicating the soft keyboard calling so as to enable the soft keyboard to be displayed on the target page in a floating mode. Thus, after receiving the first control instruction sent by the Javascript terminal, the Native terminal may call the soft keyboard call function in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to call the soft keyboard, and then call the soft keyboard. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a soft keyboard tuning method according to the present invention;
FIG. 2 is a flow chart of another soft keyboard tuning method provided by the present invention;
FIG. 3 is a flow chart of another soft keyboard tuning method provided by the present invention;
fig. 4 is a structural diagram of a mobile application development terminal provided in the present invention;
fig. 5 is a block diagram of another mobile application development terminal provided in the present invention;
fig. 6 is a block diagram of another mobile application development terminal provided in the present invention;
fig. 7 is a block diagram of another mobile application development terminal provided in the present invention;
fig. 8 is a schematic diagram of a hardware structure of the electronic device provided in the present invention.
Detailed Description
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following examples do not represent all embodiments consistent with the present application. But merely as exemplifications of systems and methods consistent with certain aspects of the application, as recited in the claims.
Referring to fig. 1, fig. 1 is a flowchart of a soft keyboard invoking method provided by the present invention, and is applied to a mobile application development terminal accessing a Hybrid software development kit Hybrid SDK. As shown in fig. 1, the method comprises the following steps:
step 101, a Native terminal receives a first control instruction sent by a Java script terminal, where the first control instruction includes first information used for instructing to call up a soft keyboard on a target page displayed by the Java script terminal.
In step 101, the Native terminal may receive a first control instruction sent by the Java script terminal. The first control instruction is sent when the Java script starts to display the target page, and the first control instruction may include first information used for instructing to start up the soft keyboard. That is, the first control instruction includes first information for instructing to call up the soft keyboard on the target page displayed by the Java script.
And 102, the Native terminal calls a soft keyboard calling function in a plurality of functions included in the Hybrid SDK according to first information which is included in the first control instruction and used for indicating to call the soft keyboard, so that the soft keyboard is displayed on the target page in a floating mode.
In step 102, after the Native terminal receives the first control instruction sent by the Java script terminal, the Native terminal may call a soft keyboard invoking function of the multiple functions included in the Hybrid SDK according to first information included in the first control instruction and used for instructing to invoke the soft keyboard, so that the soft keyboard is displayed on the target page in a floating manner.
It should be noted that, in the prior art, in order to solve the problem that the soft keyboard cannot be automatically popped up after the App accesses the Hybrid SDK, the code of the web library and the code of the Hybrid SDK are usually compared to find a change point where the web library is extracted into the Hybrid SDK, and then the change point is modified in the Hybrid SDK according to the found change point, so as to solve the problem that the soft keyboard cannot be automatically popped up. However, when the Hybrid SDK is extracted from the web library, a large amount of reconstruction and adjustment are performed on the code, the related code may be dispersed in different branches of the web library, the workload for comparing the code is large, and the process is complicated.
In the application, after receiving the first control instruction sent by the Java script, the Native terminal may call the software keyboard call function in the Hybrid SDK according to first information included in the first control instruction and used for instructing to call the software keyboard, so as to call the software keyboard. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.
As can be seen from the foregoing technical solutions, the soft keyboard tuning method provided in the embodiments of the present invention is applied to a mobile application development terminal accessing a Hybrid software development kit SDK, where a Native terminal receives a first control instruction sent by a Java script terminal, where the first control instruction includes first information used for instructing to tune up a soft keyboard on a target page displayed by the Java script terminal; and the Native terminal calls a soft keyboard calling function in a plurality of functions included in the Hybrid SDK according to first information which is included in the first control instruction and used for indicating the soft keyboard calling so as to enable the soft keyboard to be displayed on the target page in a floating mode. Thus, after receiving the first control instruction sent by the Java script, the Native terminal may call the soft keyboard call function in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to call the soft keyboard, and then call the soft keyboard. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.
Referring to fig. 2, fig. 2 is a flowchart of another soft keyboard invoking method provided by the present invention, which is applied to a mobile application development terminal accessing a Hybrid software development kit SDK. As shown in fig. 2, the method comprises the following steps:
step 201, a Native terminal receives a first control instruction sent by a Java script terminal, where the first control instruction includes first information used for instructing to call up a soft keyboard on a target page displayed by the Java script terminal.
In step 201, the Native side may receive a first control instruction sent by the Java script side. The first control instruction is sent when the Java script starts to display the target page, and the first control instruction may include first information used for instructing to start up the soft keyboard. That is, the first control instruction includes first information for instructing to call up the soft keyboard on the target page displayed by the Java script.
Step 202, the Native terminal invokes a soft keyboard invoking function of the plurality of functions included in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to invoke the soft keyboard, so that the soft keyboard is displayed on the target page in a floating manner.
In step 202, after the Native terminal receives the first control instruction sent by the Java script terminal, the Native terminal may call a soft keyboard invoking function of the multiple functions included in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to invoke the soft keyboard, so that the soft keyboard is displayed on the target page in a floating manner.
Step 203, the first information is further used for instructing to perform input frame focusing, and the Native terminal controls a target input frame included in a target page displayed by the Java script terminal to perform focusing according to the first information included in the first control instruction and used for instructing to perform input frame focusing.
In step 203, the first information may also be used to indicate that input box focusing is performed. The Native terminal can control the target input frame included in the target page displayed by the Java script terminal to focus according to the first information included in the first control instruction and used for instructing to focus the input frame.
Optionally, the controlling, by the Native terminal, a target input frame included in a target page displayed by the Java script terminal to be focused according to first information included in the first control instruction and used for instructing to perform input frame focusing includes:
the Native terminal calls a focusing function of a webpage view webview according to first information which is contained in the first control instruction and used for indicating input frame focusing, and identifies a target input frame contained in the target page;
and the Native terminal focuses on the identified target input frame contained in the target page.
Further, the Native terminal may call a focusing function of the web view webview according to the first information included in the first control instruction and used for indicating to Focus the input frame, that is, may call a request Focus () function of the web view, and identify the target input frame included in the target page. When the Java script end starts to display the target page, the target page is displayed in webview. Next, the Native terminal may focus on a target input box included in the identified target page.
According to the technical scheme, the soft keyboard starting method provided by the embodiment of the invention is applied to the mobile application development terminal accessed to the Hybrid software development kit (Hybrid SDK). After receiving the first control instruction sent by the Java script, the Native terminal may call the soft keyboard call function in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to call the soft keyboard, so as to call the soft keyboard, thereby avoiding cumbersome code comparison. Further, the first information may also be used to indicate that input box focusing is performed. The Native terminal can control the target input frame included in the target page displayed by the Java script terminal to focus according to the first information included in the first control instruction and used for instructing to focus the input frame. The operation process is simple, convenient and fast.
Referring to fig. 3, fig. 3 is a flowchart of another soft keyboard invoking method provided by the present invention, which is applied to a mobile application development terminal accessing a Hybrid software development kit SDK. As shown in fig. 3, the method comprises the following steps:
and 301, displaying the target page by the Java script terminal.
In step 301, the Java script may display the target page. For example, the Java script may display the target page in the web view webview.
Step 302, the Java script sends a first control instruction to a Native end, where the first control instruction includes first information used to instruct the Native end to call up a soft keyboard on a target page displayed by the Java script, so that the Native end calls up a soft keyboard call-up function among multiple functions included in the Hybrid SDK according to the first information.
In step 302, the Java script may send a first control instruction to the Native terminal. The first control instruction may include first information for instructing to call up the soft keyboard on the target page displayed by the Java script, so that the Native terminal calls up the soft keyboard call-up function among the plurality of functions included in the Hybrid SDK according to the first information. And further, the soft keyboard can be displayed on the target page displayed by the Java script in a floating mode.
As can be seen from the above technical solutions, the soft keyboard invoking method provided in the embodiments of the present invention is applied to a mobile application development terminal accessing a Hybrid software development kit (Hybrid SDK), and a target page is displayed by a Java script terminal; the method comprises the steps that a Javascript end sends a first control instruction to a Native end, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Javascript end, so that the Native end calls a soft keyboard calling-up function in a plurality of functions included in the Hybrid SDK according to the first information. In this way, the Javascript end may send the first control instruction to the Native end, so that the Native end invokes the software keyboard invoking function of the multiple functions included in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to invoke the software keyboard, and further displays the software keyboard on the target page displayed by the Javascript end in a floating manner. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.
Referring to fig. 4, fig. 4 is a structural diagram of a mobile application development terminal according to the present invention, where the mobile application development terminal accesses a Hybrid software development kit SDK. As shown in fig. 4, the mobile application development terminal 400 includes a receiving module 401 and a calling module 402, wherein:
a receiving module 401, through which a Native terminal receives a first control instruction sent by a Java script terminal, where the first control instruction includes first information used for instructing to start up a soft keyboard on a target page displayed by the Java script terminal;
the Native terminal invokes, by the invoking module, a soft keyboard invoking function of the plurality of functions included in the Hybrid SDK according to the first information included in the first control instruction and used for instructing to invoke the soft keyboard, so that the soft keyboard is displayed on the target page in a floating manner.
Optionally, the first information is further used to instruct to perform input box focusing, as shown in fig. 5, the mobile application development terminal further includes:
and a focusing module 403, configured to control, by the Native terminal, a target input frame included in a target page displayed by the Java script terminal to focus according to first information included in the first control instruction and used for indicating to perform input frame focusing.
Optionally, as shown in fig. 6, the focusing module 403 includes:
the Native terminal invokes a focusing function of the web view webview according to first information which is included in the first control instruction and used for indicating to focus an input frame, and identifies a target input frame included in the target page;
and the Native terminal focuses the target input box contained in the identified target page through the focusing submodule 4032.
The mobile application development terminal 400 can implement each process implemented by the mobile application development terminal in the method embodiments of fig. 1-2, and is not described herein again to avoid repetition. And the mobile application development terminal 400 can realize that the Native terminal can call the soft keyboard call-up function in the Hybrid SDK according to the first information used for indicating the call-up of the soft keyboard included in the first control instruction after receiving the first control instruction sent by the Java script terminal, and then call up the soft keyboard, thereby avoiding tedious code comparison, and having simple operation process, convenience and rapidness.
Referring to fig. 7, fig. 7 is a structural diagram of a mobile application development terminal according to the present invention, where the mobile application development terminal accesses a Hybrid software development kit SDK. As shown in fig. 7, the mobile application development terminal 700 includes a display module 701 and a sending module 702, wherein:
the display module 701 is used for displaying a target page by the Java script end;
a sending module 702, where the Java script sends a first control instruction to a Native terminal through the sending module, where the first control instruction includes first information used to instruct to call up a soft keyboard on a target page displayed by the Java script, so that the Native terminal calls up a soft keyboard call-up function in multiple functions included in the Hybrid SDK according to the first information.
The mobile application development terminal 700 can implement each process implemented by the mobile application development terminal in the method embodiment of fig. 3, and is not described herein again to avoid repetition. And the mobile application development terminal 700 may implement: the Java script can send the first control instruction to the Native terminal, so that the Native terminal invokes a soft keyboard invoking function of the multiple functions included in the Hybrid SDK according to the first information included in the first control instruction, which is used to instruct to invoke the soft keyboard, and further, the soft keyboard is displayed on the target page displayed by the Java script in a floating manner. The complex code comparison is avoided, the operation process is simple, and the operation is convenient and fast.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic device includes:
a memory 801 for storing program instructions;
the processor 802 is configured to call and execute the program instructions in the memory to implement the soft keyboard call-up method in the above embodiments. Reference may be made in particular to the description in relation to the preceding embodiments.
In this embodiment, the processor 802 and the memory 801 may be connected by a bus or other means. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk.
An embodiment of the present invention further provides a readable storage medium, including: the readable storage medium stores therein a computer program, and when the computer program is executed by at least one processor of the mobile application development terminal, the mobile application development terminal executes the soft keyboard tuning method described in the above embodiments.
The readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiments of the mobile application development terminal, the electronic device and the readable storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the description in the embodiments of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. A soft keyboard starting method is applied to a mobile application development terminal accessed to a Hybrid software development kit (Hybrid SDK), and is characterized by comprising the following steps:
a Native terminal receives a first control instruction sent by a Java script terminal, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script terminal;
and the Native terminal calls a soft keyboard calling function in a plurality of functions included in the Hybrid SDK according to first information which is included in the first control instruction and used for indicating the soft keyboard calling so as to enable the soft keyboard to be displayed on the target page in a floating mode.
2. The method of claim 1, wherein the first information is further for indicating that input box focusing is performed, the method further comprising:
and the Native terminal controls a target input frame contained in a target page displayed by the Java script terminal to focus according to first information contained in the first control instruction and used for indicating the focusing of the input frame.
3. The method of claim 2, wherein the controlling, by the Native terminal, a target input box included in a target page displayed by the Java script to focus according to first information included in the first control instruction and used for instructing to focus the input box comprises:
the Native terminal calls a focusing function of a webpage view webview according to first information which is contained in the first control instruction and used for indicating input frame focusing, and identifies a target input frame contained in the target page;
and the Native terminal focuses on the identified target input frame contained in the target page.
4. A soft keyboard starting method is applied to a mobile application development terminal accessed to a Hybrid software development kit (Hybrid SDK), and is characterized by comprising the following steps:
displaying a target page by the Java script end;
the method comprises the steps that a Java script end sends a first control instruction to a Native end, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script end, so that the Native end calls a soft keyboard calling-up function in a plurality of functions included in the Hybrid SDK according to the first information.
5. A mobile application development terminal accessing hybrid software development kit (hybrid SDK), comprising:
the Native terminal receives a first control instruction sent by a Java script terminal through the receiving module, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script terminal;
and the Native terminal calls a soft keyboard calling function in a plurality of functions contained in the Hybrid SDK through the calling module according to first information contained in the first control instruction and used for indicating the soft keyboard to be called so as to enable the soft keyboard to be displayed on the target page in a floating mode.
6. The mobile application development terminal of claim 5, wherein the first information is further for indicating that input box focusing is performed, the mobile application development terminal further comprising:
and the Native terminal controls a target input frame contained in a target page displayed by the Java script terminal to focus through the focusing module according to first information contained in the first control instruction and used for indicating input frame focusing.
7. The mobile application development terminal of claim 6, wherein the focusing module comprises:
the Native terminal calls a focusing function of a webpage view webview according to first information which is contained in the first control instruction and used for indicating input frame focusing through the identification submodule, and identifies a target input frame contained in the target page;
and the Native terminal focuses the target input frame contained in the identified target page through the focusing submodule.
8. A mobile application development terminal accessing hybrid software development kit (hybrid SDK), comprising:
the display module is used for displaying a target page through the Java script end;
the Java script end sends a first control instruction to a Native end through the sending module, wherein the first control instruction comprises first information used for indicating that a soft keyboard is called up on a target page displayed by the Java script end, so that the Native end calls a soft keyboard calling-up function in a plurality of functions included in the Hybrid SDK according to the first information.
9. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing the program instructions in the memory to implement the soft keyboard calling method according to any one of claims 1 to 3.
10. A readable storage medium, wherein a computer program is stored in the readable storage medium, and when the computer program is executed by at least one processor of a mobile application development terminal, the mobile application development terminal executes the soft keyboard tuning method according to any one of claims 1 to 3.
CN202010453957.7A 2020-05-26 2020-05-26 Soft keyboard starting method and mobile application development terminal Pending CN111694560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010453957.7A CN111694560A (en) 2020-05-26 2020-05-26 Soft keyboard starting method and mobile application development terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010453957.7A CN111694560A (en) 2020-05-26 2020-05-26 Soft keyboard starting method and mobile application development terminal

Publications (1)

Publication Number Publication Date
CN111694560A true CN111694560A (en) 2020-09-22

Family

ID=72478329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010453957.7A Pending CN111694560A (en) 2020-05-26 2020-05-26 Soft keyboard starting method and mobile application development terminal

Country Status (1)

Country Link
CN (1) CN111694560A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259039A1 (en) * 2006-10-26 2008-10-23 Kenneth Kocienda Method, System, and Graphical User Interface for Selecting a Soft Keyboard
CN102439556A (en) * 2011-10-20 2012-05-02 华为终端有限公司 Soft keyboard display method and mobile terminal
US20140298161A1 (en) * 2013-03-28 2014-10-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and terminal device for displaying multiple input boxes in a web page
CN107340886A (en) * 2017-08-04 2017-11-10 腾讯科技(深圳)有限公司 A kind of soft keyboard state determines method, apparatus, medium and terminal
CN109814965A (en) * 2019-01-10 2019-05-28 北京城市网邻信息技术有限公司 Processing method, device, electronic equipment and the storage medium of the H5 page
CN111190599A (en) * 2019-12-30 2020-05-22 久盈世纪(北京)科技有限公司 Method and device for realizing android self-defined soft keyboard by using Dialog and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259039A1 (en) * 2006-10-26 2008-10-23 Kenneth Kocienda Method, System, and Graphical User Interface for Selecting a Soft Keyboard
CN102439556A (en) * 2011-10-20 2012-05-02 华为终端有限公司 Soft keyboard display method and mobile terminal
US20140298161A1 (en) * 2013-03-28 2014-10-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and terminal device for displaying multiple input boxes in a web page
CN107340886A (en) * 2017-08-04 2017-11-10 腾讯科技(深圳)有限公司 A kind of soft keyboard state determines method, apparatus, medium and terminal
CN109814965A (en) * 2019-01-10 2019-05-28 北京城市网邻信息技术有限公司 Processing method, device, electronic equipment and the storage medium of the H5 page
CN111190599A (en) * 2019-12-30 2020-05-22 久盈世纪(北京)科技有限公司 Method and device for realizing android self-defined soft keyboard by using Dialog and electronic equipment

Similar Documents

Publication Publication Date Title
US20180322215A1 (en) Web page access method and apparatus
US8682964B1 (en) Progressively loading network content
CN111639278A (en) Webpage loading method and device
CN111372115B (en) Application program access method and device and communication system
CN112364277A (en) Webpage loading method and device
CN107479868B (en) Interface loading method, device and equipment
CN112925718B (en) Call stack backtracking method, device, equipment and medium
CN112612982A (en) Webpage preloading method and device and computer equipment
CN110020371B (en) Method and device for page layout linkage based on react-native
CN113703893A (en) Page rendering method, device, terminal and storage medium
CN110825600B (en) Page information processing method, server and page display device
CN112214250A (en) Application program assembly loading method and device
CN113296841A (en) Application program processing method, device, equipment and medium
CN111694560A (en) Soft keyboard starting method and mobile application development terminal
CN110362305B (en) Form component state switching method and device
CN111142990A (en) WeChat applet page display method and device and storage medium
CN110688594A (en) Page jump method and device for front end of webpage
CN110837616A (en) Method, system and storage medium for managing browser kernel
CN111367577A (en) Method, device and terminal for loading plug-in of application
CN110502296B (en) Method, equipment and storage medium for displaying firmware upgrading command
CN115438290A (en) Method and system for automatically analyzing static resources of single-page application and preloading
CN115878916A (en) Time-consuming optimization method and device for page refreshing and terminal equipment
CN114254229A (en) Webpage rendering method and device
CN114020187A (en) Font icon display method and device and electronic equipment
CN113032696A (en) Display method and display device of page picture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination