Method and system for platform-independent application development
First Claim
1. A method of executing a hybrid application on a device, the hybrid application comprising commands related to platform-specific functionality and platform-independent functionality of the device, the method comprising:
- initializing a loosely-coupled native engine configured to receive commands from the hybrid application, and further configured to facilitate implementation of platform-specific functionality on the device, and wherein the loosely-coupled native engine comprises a hypertext transfer protocol (HTTP) server and initializing the loosely-coupled native engine comprises initializing the HTTP server;
assigning a unique instance identifier (ID) to the HTTP server, and configuring the HTTP server to only accept commands comprising the unique instance ID;
initializing the hybrid application;
receiving commands from the hybrid application, wherein the commands comprise the unique instance ID of the HTTP server, and further wherein at least one of the commands comprises a device command to be converted to a corresponding platform-specific executable code prior to execution of the platform-specific executable code;
verifying that the commands comprise the unique instance ID of the HTTP server; and
creating a handler to serve the device command and facilitate execution of the corresponding platform-specific executable code.
3 Assignments
0 Petitions
Accused Products
Abstract
A non-transitory computer-readable medium having instructions that when executed cause the implementation of a method is disclosed herein. The medium has instructions for facilitating the execution of at least a first hybrid application on a first device, the first hybrid application comprising commands related to platform-specific functionality and platform-independent functionality of the first device. The method includes initializing a loosely-coupled native engine configured to receive commands from the first hybrid application and to facilitate platform-specific functionality on the first device. The loosely-coupled native engine comprises a webserver module. The method includes receiving commands from the first hybrid application, wherein at least one of the commands comprises a device command to be converted to a corresponding platform-specific code prior to execution of the platform-specific code. And the method includes creating a handler to serve the device command and facilitate execution of the corresponding platform-specific code.
-
Citations
8 Claims
-
1. A method of executing a hybrid application on a device, the hybrid application comprising commands related to platform-specific functionality and platform-independent functionality of the device, the method comprising:
-
initializing a loosely-coupled native engine configured to receive commands from the hybrid application, and further configured to facilitate implementation of platform-specific functionality on the device, and wherein the loosely-coupled native engine comprises a hypertext transfer protocol (HTTP) server and initializing the loosely-coupled native engine comprises initializing the HTTP server; assigning a unique instance identifier (ID) to the HTTP server, and configuring the HTTP server to only accept commands comprising the unique instance ID; initializing the hybrid application; receiving commands from the hybrid application, wherein the commands comprise the unique instance ID of the HTTP server, and further wherein at least one of the commands comprises a device command to be converted to a corresponding platform-specific executable code prior to execution of the platform-specific executable code; verifying that the commands comprise the unique instance ID of the HTTP server; and creating a handler to serve the device command and facilitate execution of the corresponding platform-specific executable code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification