Despite wide usage of mobile devices in a school environment, they are still considered to be unsuitable tools for use in programming classes. So far there have not been articles dedicated to the usage of mobile devices for programming tasks in a classroom. This article conducts a study on using mobile devices for programming in school-level programming classes and the impact of their use on learning outcomes. The authors propose a methodology of building a simple programming environment to run on mobile devices and targeted towards use in a classroom. They also provide the description of the actual implementation of such an environment.