Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

HTML5 page debugging method and device in APP

A debugging method and page technology, applied in the field of Internet software, can solve problems such as inconvenience and inability to implement debugging methods, and achieve the effect of improving debugging efficiency

Active Publication Date: 2016-02-24
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, mobile APPs include NATIVEAPP and WebAPP, among which, NATIVEAPP refers to an APP based on a local (operating system), which can be developed through a professional mobile APP development tool (such as ECLIPSE); WebAPP refers to an APP based on a mobile browser. At present, WebAPP is generally realized by using HTML5 pages. In the development of HTML5 pages, HTML5 pages and related resources (JS files, CSS files, etc.) Run, and then debug in the mobile phone, wherein the mobile phone must call the APP program through JSBRIDGE to communicate with the background server during debugging. However, this debugging method is very inconvenient and cannot implement common debugging methods, such as breakpoint adjustment, Step by step execution (stepbystep), run-time variable query, etc., and HTML5 pages and corresponding static resources need to be uploaded before debugging

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
  • HTML5 page debugging method and device in APP
  • HTML5 page debugging method and device in APP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0019] According to an embodiment of the present invention, the HTML5 page debugging method includes:

[0020] S1, simulate the APP operating environment on the local computer, and store the HTML5 page; since the present invention debugs the HTML5 page in the APP on the local computer, it needs to be able to run the APP on the local computer, preferably, the APP simulation can be used In addition, the HTML5 page is stored in the APP simulator, and the APP simulator is also the running container of the HTML5 page in the debugging stage. The debugger places the written HTML5 page in this container, and then loads the HTML5 page.

[0021] S2. Load the HTML5 page in the simulated APP running environment, and display the loaded HTML5 page. When an APP is run on a terminal such as a mobile phone or a PAD, it is necessary to display the HTML5 page through the built-in JSBRIDGE of the terminal. The JS of the HTML5 page uses the JSBRIDGE to call the APP program to communicate with the ...

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 an HTML5 page debugging method and device in an APP. The method comprises firstly, simulating an APP operation environment on a local computer and storing an HTML5 page, secondly, loading the HTML5 page in the simulated APP operation environment and displaying the loaded HTML5 page, and, finally, debugging the HTML5 page according the displayed HTML5 page. An effect of the HTML5 page during mobile phone operation can be presented on the local computer, a browser can be adopted in the local computer to debug the HTML5 page, a common debugging method can be implemented, and debugging efficiency of the HTML5 page is improved.

Description

technical field [0001] The invention belongs to the field of Internet software, and in particular relates to a method and device for debugging an HTML5 page in an APP. Background technique [0002] Currently, mobile APPs include NATIVEAPP and WebAPP, among which, NATIVEAPP refers to an APP based on a local (operating system), which can be developed through a professional mobile APP development tool (such as ECLIPSE); WebAPP refers to an APP based on a mobile browser. At present, WebAPP is generally realized by using HTML5 pages. In the development of HTML5 pages, HTML5 pages and related resources (JS files, CSS files, etc.) Run, and then debug in the mobile phone, wherein the mobile phone must call the APP program through JSBRIDGE to communicate with the background server during debugging. However, this debugging method is very inconvenient and cannot implement common debugging methods, such as breakpoint adjustment, Step by step execution (stepbystep), run-time variable qu...

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): H04L29/08G06F11/36G06F9/455
CPCG06F9/45504G06F11/3664H04L67/02
Inventor 苟健
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products