Method and system for realizing dialogue prompt box used for network interaction

A technology of network interaction and implementation method, which is applied to the implementation method and system field of the session prompt box of network interaction, which can solve the problems of short life cycle, single function session prompt box effect, and difficult code reuse, etc. The effect of experience

Inactive Publication Date: 2017-08-25
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The function conversation prompt box in the existing APP application is used to guide the user to use the corresponding function (for example, the recharge function prompt box prompts the user to recharge), the existing function conversation prompt box is generally created by Di...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for realizing dialogue prompt box used for network interaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0016] see figure 1 As shown, the implementation method of the session prompt box for network interaction in the embodiment of the present invention includes the following steps:

[0017] S1: Create a session prompt box layout file based on DialogFragment, which is an XML (Extensible Markup Language) file, and add a picture display layer, a text display layer, and a session event trigger layer to the session prompt box layout file through the LinearLayout linear layout, Go to S2.

[0018] The image display layer is provided with an ImageView control (image display control) for realizing at least one image.

[0019] The text display layer is provided with a TextView control (text control), and the text control is used to display characters. In order to realize diversified display of characters, the embodiment of the present invention divides ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for realizing a dialogue prompt box used for network interaction, and relates to the field of network interaction prompt boxes. The method comprises the steps of creating a dialogue prompt box layout file, and adding a picture display layer, a text display layer and a dialogue event triggering layer to the dialogue prompt box layout file, wherein a picture display control is set in the picture display layer; and loading the dialogue prompt box layout file, and monitoring a clicking event and a response event of a button control, wherein the process for monitoring the clicking event of the button control comprises the step of binding an ID of a button space with the loaded prompt box layout file. According to the method and the system, while the functions of the dialogue prompt box are diversified, the creation process of the dialogue prompt box is relatively simple, can be reused and is relatively long in life cycle, so that the user experience is remarkably improved; and therefore, the method and the system are very suitable for popularization.

Description

technical field [0001] The invention relates to the field of network interaction prompt boxes, in particular to a method and system for realizing a session prompt box for network interaction. Background technique [0002] The function conversation prompt box in the existing APP application is used to guide the user to use the corresponding function (for example, the recharge function prompt box prompts the user to recharge), the existing function conversation prompt box is generally created by Dialog, and the function conversation prompt box needs to be created. Enter a large amount of code, the creation process is more complicated, and the input code is difficult to reuse, which makes the effect of the functional conversation prompt box relatively simple and the life cycle is short. Contents of the invention [0003] Aiming at the defects existing in the prior art, the technical problem solved by the present invention is: how to create a multifunctional and reusable conve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44H04L29/08
CPCG06F9/451H04L67/14
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products