Supercharge Your Innovation With Domain-Expert AI Agents!

Method for starting a designated interface of an android app through an html script

A technology for specifying an interface and starting an interface, applied in the Internet field, can solve problems such as affecting the efficiency of development, affecting the progress of new version releases, and being cumbersome, so as to improve work efficiency and reduce the work of repeatedly defining protocol standards.

Inactive Publication Date: 2019-05-17
LINEWELL SOFTWARE
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There is a problem with the traditional definition method: the html5 side needs to open the target interface of the app side in the new iteration requirements, but the app side does not provide this function. At this time, the app side needs to be modified synchronously, repackaged and released to the market
But this will affect the release progress of the new version, and sometimes the function needs to force users to update, which also affects the user experience
At the same time, when more interfaces are called on the html5 side, more interfaces need to be configured on the app side. Although this technology is not difficult, it is quite cumbersome and affects the efficiency of development.

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 starting a designated interface of an android app through an html script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Such as figure 1 As shown, the present invention discloses a method for starting an android app specified interface by an html script, which specifically includes the following steps:

[0020] Step 1. In the androidManifest.xml manifest file, register a unified entry of the Activity interface that can be called externally, and define the corresponding calling protocol standard. The calling protocol standard is: scheme: / / userInfo@host:port / path? query#fragment, where scheme is the protocol name, userInfo@ is the user information, which can be omitted, host can be defined as the package name, port is the port number, path is the path, and query#fragment is the parameter to be passed.

[0021] Step 2. The html5 interface invokes the protocol defined by the android specification, and passes in the path of the interface to be invoked to start the Activity interface.

[0022] Step 3. Using dynamic proxy, the proxy system exports the local binder object of the interface mana...

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 relates to a method for starting a designated interface of an android app through an html script. Certain callback operations are realized in a mode that an android system layer can provide an interface; According to the method and the device, the object quoted by the interface is acquired through reflection, and then the original object is replaced by the interface path to be started, so that when the interface is called by the android system, the replaced object is called, and the purpose of starting the appointed interface of the android app from the html script can be achieved. According to the method, the work of repeatedly defining the protocol standard when the html end opens the app end interface can be reduced, so that the working efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method for starting an android app specified interface by an html script. Background technique [0002] With the continuous iteration of the product, the requirements for a good interactive experience between the html5 side and the app side of the application are getting higher and higher. During the use process, the login interface or registration interface of the app side will often be opened from the html5 side. The android system stipulates that if the interface is to be accessed by other html5 terminals, a set of protocol standards that can be accessed by the outside world must be configured. [0003] There is a problem with the traditional definition method: the html5 side needs to open the target interface of the app side in the new iteration requirements, but the app side does not provide this function. At this time, the app side needs to be modified synchronously,...

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/445
Inventor 庄明彬张建宁
Owner LINEWELL SOFTWARE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More