Mobile based health assistant system built on activity recognition framework