e-Gibalec is a mobile application that promotes exercise as a part of a healthy lifestyle to primary-school children. It is also a web application that helps physical education teachers track their pupils’ activity in class and outside school. The mobile application uses phone sensors and intelligent computer methods to monitor the children’s physical activity automatically, and it allows them to input it manually. It then employs friendly avatars and messages to encourage the children to exercise, and rewards the exercise with sports equipment for their avatars. The children can also invite friends through the application and challenge them in various physical activities. The web application show teachers how much their pupils exercise outside school (as learned by the mobile application), and allows easy input of the level of activity during physical education classes. It also makes it possible for teachers to set the pupils their daily exercise goals. Finally, the web application shows parents how active their children are, and provides aggregate data on the children’s’ activity for experts to analyze.