1. A computer program product including computer readable instruction code stored on at least one non-transitory storage medium for implementing an Application Program Interface (API) upon being executed by a processor, the instruction code comprising: a dispatch application that initiates a dispatch call from within a virtual machine environment of a mobile device, the virtual machine environment having a trusted domain and an untrusted domain, wherein when said dispatch application is invoked while bound to the untrusted domain the virtual machine environment is automatically exited; control is given to dispatch functionality in a native environment of the mobile device; and the dispatch call is performed within the native environment by the dispatch functionality; and wherein when said dispatch application is invoked while bound to the trusted domain a dispatch interface that handles the dispatch call is invoked without exiting the virtual machine environment and the dispatch call is performed by the dispatch application utilizing the dispatch functionality via the dispatch interface.