This paper proposes an integration platform composed of Agent platform and Open Services Gateway Initiative (OSGi) framework to assist in developing context-aware applications. For developing context-aware applications, we firstly have to gather data through sensor networks and reason the meaningful context information. Secondly, context-aware applications must make the decision according to the context information, and provide the user-centric service through selecting the suitable device and deciding the service flow. In the integration platform, the agent platform providing personalization and learning capabilities to assist in reasoning context information. Furthermore, OSGi providing the modularization bundles of applications which aid to management the devices and services. Finally, the elder mental care scenario is implemented to verify the performance of the integration platform.