Method and device for interaction of mobile internet webpage and mobile terminal capacity
A mobile Internet and mobile terminal technology, which is applied in the field of interaction between mobile Internet webpages and mobile terminal capabilities, can solve problems such as unsatisfactory application scenarios, increased application developer costs, and inability to capture and share in real time, so as to improve user experience, reduce costs, Solve the effect of interaction between mobile Internet web pages and mobile phone operating systems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] This embodiment introduces a method that enables mobile Internet pages to call mobile terminal capabilities, such as figure 1 shown, including the following steps:
[0034] Step 110, analyzing the webpage currently visited by the mobile terminal;
[0035] Specifically, it is analyzed whether there is a markup language (such as a method name) that needs to call the capability of the mobile terminal in the webpage currently visited by the mobile terminal.
[0036] Step 120, converting the parsed markup language that needs to call the mobile terminal capability into a code that can be recognized by the mobile terminal operating system;
[0037] The markup language that needs to invoke the capability of the mobile terminal may include not only the method name of the markup language that needs to invoke the capability of the mobile terminal, but also related parameters involved therein.
[0038] The code that can be recognized by the operating system of the mobile terminal...
Embodiment 2
[0051]In this embodiment, the above method is described in detail by taking Javascript language as the markup language and Java as an example for codes that can be recognized by the operating system of the mobile terminal. In this embodiment, step 2 is added in consideration of the compatibility of the method and apparatus with terminals of different operating systems, and step 2 may also be omitted in other implementations.
[0052] Step 1, the markup language execution engine analyzes the mobile Internet page accessed by the user, and if it is resolved that a certain section of Javascript language in the page needs to call the operating system capability, then extract the section of Javascript language and pass it to the code conversion engine as a parameter;
[0053] The markup language execution engine needs to predefine the method name that can be parsed. For example, the method name A of calling the mobile phone camera, when the method name A is parsed from the mobile Int...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com