主权项 |
1. A mobile device comprising:
a network interface; a processor coupled to the network interface; and a memory coupled to the processor and configured to store a plurality of instructions executable by the processor, the instructions including instructions for:
receiving, by a function block stored in the memory of the mobile device, a request for a communication service from a superblock application stored in the memory of the mobile device, wherein the superblock application is configured to access the function block for functionality that is lacking in the superblock application;determining, by the function block, that providing the communication service to the superblock application requires access to an external device;establishing, by the function block, a connection with the external device via the network interface to support the communication service, wherein the establishing is not supported by the superblock application; andproviding, by the function block, the communication service to the superblock application, wherein the steps of receiving, determining, establishing, and providing are performed without switching context from the superblock application to another application on the mobile device. |