Resource access method and apparatus

A resource access and system resource technology, applied in the field of resource access methods and devices, to achieve the effect of enriching functions and lowering the threshold

Inactive Publication Date: 2012-11-28
ZTE CORP
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a resource access method and device to solve the problem of how to use HTML5+CSS+Javascript to access local resources

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
  • Resource access method and apparatus
  • Resource access method and apparatus
  • Resource access method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0037] Use the MVC development mode of HTML5+CSS+Javascript to develop web applications and make them run on the browser kernel webkit of the Android system. Among them, in order to enrich application functions and user experience, it is necessary to access local resources of the terminal device, such as sensors and cameras. Since the API provided by Android is a Java interface, this involves the implementation of Javascript cross-language access to Java. At the same time, in order to control access to resources, specific applications need to use plug-in management to config...

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 resource access method and a resource access apparatus. The resource access method comprises the following steps: a JS (Javascript) terminal invokes a Java terminal; and the Java terminal invokes a bottom layer system resource interface. According to the resource access method and the resource access apparatus, only an Javascript interface is visible for the superior developer, thus, based on the frame of the invention, the programs capable of running in an Android platform can be developed through the adoption of a front end web development technique, so that the threshold for developing a mobile internet application based on the Android platform is greatly lowered, and the functions of the terminal can be better enriched.

Description

technical field [0001] The invention mainly relates to a plug-in-based web application program development technology on a mobile terminal, in particular to a resource access method and device. Background technique [0002] With the advent of the mobile Internet era, the speed of wireless Internet access has increased on a large scale, and smart terminals are increasingly favored by consumers, such as the current smart ecosystems of Apple mobile phone operating system (IOS), Android (Android), and Windows Phone. [0003] With the improvement of terminal performance and Internet access speed, browser-based web applications (web) show obvious advantages in comparison with local applications. Hypertext Markup Language (HTML) 5+Cascading Style Sheets (CSS)+Javascript (JS)'s Model View and Control (MVC) development pattern is gaining acceptance. While HTML5 follows the previous web technology, it adds a lot of convenient tags, such as support for forms, audio and video, making a...

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/46
Inventor 王明
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products