Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for achieving android application program dynamic form

An Android application program and dynamic form technology, applied in the direction of program control devices, special data processing applications, instruments, etc., can solve the problems of difficult display styles, consumption, and multiple network traffic, so as to reduce development risks and reduce the amount of network transmission data , the effect of improving the success rate

Inactive Publication Date: 2014-02-12
深圳市远行科技股份有限公司
View PDF8 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These basically similar and repetitive styles need to be transmitted from the server every time the form is updated, consuming a lot of network traffic
In addition, because the content of the page is displayed using html tags, it will be more difficult to maintain the style of the interface with the usual android interface than using conventional android technology

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 for achieving android application program dynamic form
  • Method for achieving android application program dynamic form
  • Method for achieving android application program dynamic form

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] Such as figure 1 As shown, the present invention provides a method that can use the conventional implementation of the android interface to realize the dynamic form. The server follows the xml format form description protocol to generate a specific xml format string used to describe the form, and sends it to the terminal; the terminal receives the xml format string sent by the server, and parses the string according to the agreed xml format form description protocol , get the field name, field value, field position and other information of the f...

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 provides a method for achieving an android application program dynamic form. The method comprises the following steps: 1, a terminal application program receives a character string with the xml form, wherein the character string is sent by a server; 2, the terminal application program analyzes the received character string according to the xml form protocol agreed with the server; 3, the terminal application program establishes a form interface according to an analysis result through a method of dynamically establishing the interface through a java code. According to the method for achieving the android application program dynamic form, the dynamic form effect controlled by the server can be achieved in an android application program by utilizing the android interface conventional developing method.

Description

technical field [0001] The invention relates to the field of Android application program development, in particular to a technology for realizing the dynamic change effect of the Android application program interface. Background technique [0002] Android applications need to display dynamic forms controlled by the server in some scenarios. This kind of dynamic form controlled by the server is uncertain in terms of field names, field positions, field values, and field numbers. Therefore, this kind of dynamic form cannot use the android xml tag method that the android application program usually uses to write the interface to determine the form structure in advance. Similarly, the method of drawing the interface by java code cannot be used to determine the form structure before receiving the description information from the server. [0003] For the realization of this dynamic form, there is currently a technical solution of using webView to parse html pages. That is, the w...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 段小亮
Owner 深圳市远行科技股份有限公司