Abstract. Context-aware computing can play a major role to improve the services of mobile networking systems. In this paper, we focus on optimizing handover decisions based not only on the signal quality, but also on the knowledge about the context of mobile devices and networks. Since context information and context processing evolves fast, we propose a flexible, integrated approach for context management, which can adapt in several ways. Our architecture encompasses active platforms in network nodes and mobile devices, distributed context management components on these platforms, and service deployment for network services. This flexible architecture is able to actively deploy different handover services. It can manage different kinds of context information and allow mobile devices to be always connected to the most suitable access network. Our architecture is validated in a prototype implementation.