Practical and Context-Aware Resource Adaptation in Mobile Networks