摘要 |
Methods and apparatus are described for packaging native program extensions with a virtual machine application. The application is distributed in an application package containing application code that runs in a virtual machine, native code that runs outside the virtual machine, and other resources. When the application requires access to native features of the underlying device not provided in the virtual machine, the native code is installed and executed. The virtual machine application accesses the native features by communicating with the native code running outside the virtual machine via inter-process communication. |