Augmenting mobile localization with activities and common sense knowledge