Mobile context-aware inference toolbox and service