Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform
A mobile operating system and native interface technology, applied in the field of native interface calling devices, can solve the problems of not supporting offline mode, easy data loss, and insufficient flexibility, and achieve flexible data transmission methods, good user experience and functions, and improved security Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0099] Unified call interface module 001:
[0100] execute(success, failure, service, actionID, arguments);
[0101] Call prompt module 002:
[0102] var r = message(JSON. stringify(arguments), JSON. stringify([service, actionID, callbackID, true]));
[0103] Kernel encapsulation class module 003, onJsAlert, onJsConfirm or onJsPrompt method in ChromeClient.
[0104] Plug-in management module 004,
[0105] PluginManager. execute(service, actionID, callbackID, message, async);
[0106] Callback module 005, message() under the JsResult or JsPromptResult class.
[0107] Callback server module 006, CallbackContext class;
[0108] Among them, the process of transferring data information from the Javascript side to the native interface is: the execute function calls the message function, the message function calls the onJsAlert, onJsConfirm or onJsPrompt method, the message method calls the PluginManager.execute method, and PluginManager.execute calls the native interface;
[0...
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