# US 2016/0253171 A1 · Application development system with native feature engine

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0253171 A1
- Document ID: US20160253171A1
- Status: Published application
- Kind: A1
- Application number: 14/631,871
- Filed: 2015-02-26
- Published: 2016-09-01
- Earliest claimed: 2015-02-26
- Inventors: Yan ZANG; Sheng YAO
- Web page: https://patentgrep.com/patent/US20160253171A1

## CPC

- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 8/34: Graphical or visual programming
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 9/45516: {Runtime code conversion or optimisation}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/562: Brokering proxy services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A framework for developing applications is described herein. The framework may be a web integrated development environment (IDE) with a preview function via a browser. The IDE includes a native feature runtime engine with plugin application programming interfaces (APIs), such as Cordova APIs. Browser implementations of the plugin are also provided. The browser implementations enable a hybrid application to be previewed in the browser and access native functions without crashing the IDE.

## Claims

### Claim 1

A computer-implemented method for developing an application, comprising:
developing a project application using a web integrated development environment (IDE) with a preview function via a browser, wherein the project application includes a hybrid application using native features of a mobile device;
selecting the preview function for previewing the application in the IDE; and
in response to the selecting the preview function,
invoking a native feature runtime engine, wherein the native feature runtime engine comprises plugin application programming interfaces (APIs) of the mobile device, and
running the project application in the browser, wherein the project application has access to local resources through browser implementations of plugin APIs provided by the native feature runtime engine.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 wherein the runtime engine comprises:
an API unit including the plugin APIs of the mobile device; and
an implementation unit including the browser implementations of the plugin APIs, wherein the browser implementations are implemented in a common platform language for browsers, wherein the browser implementations enable the project application to be previewed in the IDE running in the browser.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2 wherein the runtime engine further comprises a proxy unit for selecting a selected browser implementation of a called plugin API used by the project application when previewing the project App in the IDE using the browser.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3 comprising dynamically injecting context to the selected browser implementation of the called plugin API if context injection is selected by a user when previewing the project application.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1 wherein the runtime engine comprises:
an API unit including the plugin APIs of the mobile device; and
an implementation unit including the browser implementations of the plugin APIs, wherein the browser implementations are implemented in JavaScript, wherein the browser implementations enable the project application to be previewed in the IDE running in the browser.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5 wherein the runtime engine further comprises a proxy unit for selecting a selected browser implementation of a called plugin API used by the project application when previewing the project application in the IDE using the browser.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6 wherein the runtime engine further comprises dynamically injecting context to the selected browser implementation of the called plugin API if a context injection setting in an IDE user interface (UI) is selected by a user when previewing the project application.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1 wherein the plugin APIs comprises Cordova APIs.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8 wherein the plugin APIs further comprises Kapsel APIs.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1 wherein the native feature runtime engine serves as a container for previewing the project application in the IDE.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1 comprising providing a preview page when the preview function is selected, the preview page comprises:
a wrapper page; and
an IFrame containing plugin APIs of the native feature runtime engine.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11 wherein the preview page comprises a preview window having selectable form factor and orientation.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1 comprising dynamically injecting context to a selected plugin API used by the project application during previewing.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1 comprising packaging and deploying the project application when completed.

### Claim 15

An integrated development environment (IDE) for developing an application, the IDE comprising:
a preview module for previewing a project application in a browser on an end-user device running the IDE;
a native feature runtime engine, wherein the native feature runtime engine includes,
an application program interface (API) unit comprising plugin APIs of a mobile device,
an implementation unit, the implementation unit comprises browser implementations of the plugin APIs in JavaScript, wherein the browser implementations enable the application to be previewed in the IDE running in the browser, and
a proxy unit for selecting a selected browser implementation of a called plugin API used by the project application when previewing the project application in the IDE using the browser; and
wherein the native feature runtime engine is invoked when the preview module is initiated to preview the project application.

### Claim 16 (depends on 15)

The IDE of claim 15 comprising a user interface (UI) module for facilitating navigation of the IDE by a user, wherein the IDE includes a dynamic injection setting for dynamically injecting context during previewing of the project application.

### Claim 17 (depends on 15)

The IDE of claim 15 wherein plugin APIs comprises Cordova plugins.

### Claim 18

A computer usable medium having a computer readable program code tangibly embodied therein, the computer readable program code adapted to be executed by a processor to implement a method for developing an application comprising:
developing a project application using a web integrated development environment (IDE) with a preview function via a browser, wherein the application includes a hybrid application using native features of a mobile device;
selecting the preview function for previewing the application in the IDE; and
in response to the selecting the preview function,
invoking a native feature runtime engine, wherein the native feature runtime engine comprises plugin application program interfaces (APIs) of the mobile device, and
running the project application in the browser, wherein the project application has access to local resources through browser implementation of plugin APIs provided by the native feature runtime engine.

### Claim 19 (depends on 18)

The computer usable medium of claim 18 wherein the native feature runtime engine comprises:
an API unit including the plugin APIs of the mobile device;
an implementation unit including the browser implementations of the plugin APIs, wherein the browser implementations are implemented in JavaScript, wherein the browser implementations enable the application to be previewed in the IDE running in the browser; and
a proxy unit for selecting a browser implementation of a called plugin API used by the project application when previewing the project application in the IDE using the browser.

### Claim 20 (depends on 19)

The computer usable medium of claim 19 wherein the native feature runtime engine further comprises a context injection setting for dynamically injecting context to the selected browser implementation of the called plugin API if the context injection setting in an IDE user interface (UI) is selected by a user when previewing the project application.
