{"id":288559,"date":"2018-08-27T12:30:02","date_gmt":"2018-08-27T08:30:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=288559"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=288559","title":{"rendered":"Kivy. Xamarin. React Native. \u0422\u0440\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u2014 \u043e\u0434\u0438\u043d \u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/420691\/\" class=\"post__text post__text-html js-mediator-article\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zs\/ph\/zy\/zsphzyh0mmbmfwzsfmkdi5tff4w.png\"><\/div>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0441\u0435\u0445!<br \/>  \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u044b\u043c \u043e\u0442 \u0436\u0430\u0440\u043a\u043e\u0439 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/post\/418839\/\">Kivy \u2014 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u21161<\/a> \u043e\u0441\u0435\u043b, \u0438 \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u043f\u0440\u043e\u0431\u0438\u043b\u0441\u044f <a href=\"https:\/\/habr.com\/post\/418839\/\">\u0434\u043e\u0441\u0442\u043e\u0439\u043d\u044b\u0439 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/a>, \u043c\u044b (<a href=\"https:\/\/habr.com\/users\/mirimon\/\" class=\"user_link\">Mirimon<\/a>, <a href=\"https:\/\/habr.com\/users\/seod\/\" class=\"user_link\">SeOd<\/a>), \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u0438, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0438 \u043d\u0430\u043c \u0438 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c Kivy, Xamarin.Forms \u0438 React Native, \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u043d\u0430 \u043d\u0438\u0445 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435, <a href=\"https:\/\/github.com\/Mirimon\/KivyXamarinReactComparison\/tree\/master\/Kivy\">\u0440\u0435\u043f\u043e\u0439 \u043d\u0430 GitHub<\/a> \u0438 \u0447\u0435\u0441\u0442\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0442\u043e \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u0421\u043e\u0431\u0440\u0430\u0432\u0448\u0438\u0441\u044c \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c\u0435 \u0438 \u043e\u0431\u0441\u0443\u0434\u0438\u0432 \u0434\u0435\u0442\u0430\u043b\u0438, \u043c\u044b \u043f\u0440\u0438\u043d\u044f\u043b\u0438\u0441\u044c \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443.<a name=\"habracut\"><\/a><\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u0437\u0430\u0434\u0430\u0447 \u0441 \u0442\u0440\u0435\u043c\u044f \u044d\u043a\u0440\u0430\u043d\u0430\u043c\u0438. \u0414\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043a\u0438\u0439 \u0441\u0440\u0435\u0437 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u0442\u0440\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0447\u0435\u0433\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u044a\u0435\u043c\u043d\u043e\u0433\u043e, \u0447\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438, \u0432\u0432\u0438\u0434\u0443 \u0437\u0430\u043d\u044f\u0442\u043e\u0441\u0442\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445\/\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435\/\u0434\u043e\u043c\u0430, \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043e\u043b\u0433\u043e. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0440\u0435\u0434\u0435, \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, UI \u0438 \u043f\u0440. <\/p>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u0432 \u0446\u0438\u043a\u043b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0447\u0430\u0442\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441 \u0422\u0417, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u043e\u0445\u043e\u0436\u0438\u0439. <\/p>\n<h3>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0422\u0417:<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c<\/li>\n<li>\u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043b\u044e\u0434\u044c\u043c\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d \u0430\u0432\u0442\u043e\u0440 \u0437\u0430\u043c\u0435\u0442\u043a\u0438<\/li>\n<li>\u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f\/\u0443\u0434\u0430\u043b\u044f\u0442\u044c\u0441\u044f\/\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/li>\n<li>\u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u043f\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443, \u043d\u043e \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 150 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439<\/li>\n<li>\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043e\u043a \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0441\u0430\u043c\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438, \u0442\u0430\u043a \u0438 \u0447\u0435\u0440\u0435\u0437 \u0441\u0432\u0430\u0439\u043f<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 UI \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/h3>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/9a\/59\/pe\/9a59pegwbpwor9yytkfxwxqd_ue.png\"><\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c, \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e Kivy:<\/b><\/p>\n<div class=\"spoiler_text\"><i><a href=\"https:\/\/kivy.org\/#home\">Kivy<\/a> \u2014 \u043a\u0440\u043e\u0441c\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python\/Cython, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 OpenGL ES 2, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0441\u0435\u043d\u0441\u043e\u0440\u043d\u044b\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Kivy \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430 \u0442\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445 \u043a\u0430\u043a Linux, OS X, Windows, Android, iOS \u0438 Rapberry Pi. \u0412 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u0441\u043f\u0435\u043a\u0442\u0440 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a Python \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u043e\u0442 Requests \u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044f NumPy \u0438 OpenCV. Kivy \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u043e \u0432\u0441\u0435\u043c \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c API (GPS, Camera, Accelerometer, Google API, \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e\u0431 Android), \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c PyJNIus (Android) \u0438 PyOBJus (iOS), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044e\u0442 \u043a\u043e\u0434 \u043d\u0430 Java\/Objective-C \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Python.<\/p>\n<p>  Kivy \u0431\u044b\u0441\u0442\u0440. \u042d\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a\u0430\u043a \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0442\u0430\u043a \u0438 \u043a \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0412\u0441\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 C\u0438. \u0422\u0430\u043a\u0436\u0435 Kivy \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 GPU \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u044d\u0442\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b. GPU \u0432\u044b\u043f\u043e\u043b\u044f\u0435\u0442 \u0431\u041e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  Kivy \u043e\u0447\u0435\u043d\u044c \u0433\u0438\u0431\u043a\u043e\u043a. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0430\u044f\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 Kivy \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u043e\u0432\u044b\u043c \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Kivy \u043d\u0435 \u0440\u0430\u0437 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u043e\u0432\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u0434\u043e \u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u0430. Kivy \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Windows Kivy \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 WM_TOUCH, \u0447\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043b\u044e\u0431\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430\u043c\u0438 Windows 7 Pen &amp; Touch \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Kivy. \u0412 OS X \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 Apple \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 Multi-Touch, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0442\u0440\u0435\u043a\u043f\u0430\u0434\u044b \u0438 \u043c\u044b\u0448\u0438. \u0412 Linux \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u0432\u043e\u0434\u0430 HID. \u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u044d\u0442\u043e\u043c\u0443 Kivy \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 TUIO (Tangible User Interface Objects) \u0438 \u0440\u044f\u0434 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u0432\u0432\u043e\u0434\u0430.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u043a\u043e\u0434\u0430. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 Kivy \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043c\u043e\u0449\u043d\u044b\u043c, \u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Kivy \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 GUI. \u042d\u0442\u043e\u0442 \u044f\u0437\u044b\u043a \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0418, \u0434\u0430, Kivy \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u0435\u043d. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432\u0435\u0437\u0434\u0435! \u0412 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0435 \u043b\u0438\u0431\u043e \u0432 Open Source.<\/i>  <\/div>\n<\/div>\n<p>  \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u0432\u0435\u0441\u044c \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u043a\u0430\u0436\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u0435 \u0438\u043b\u0438 \u0438\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 IDE \u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <i>PyCharm<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 <b>Kv Language<\/b> \u2014 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 DSL \u044f\u0437\u044b\u043a, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0438\u0448\u0435\u0442\u0441\u044f UI \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0421\u043a\u0435\u043b\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b <a href=\"https:\/\/github.com\/HeaTTheatR\/CreatorKivyProject\">CreatorKivyProject<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u044d\u043a\u0440\u0430\u043d\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u0430 MVVM.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i5\/de\/m1\/i5dem1ryi468aeeeo60_tjnxpke.png\"><\/div>\n<p>  \u0412 \u043f\u0430\u043f\u043a\u0435 <b>baseclass<\/b> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u043e\u0432, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python, \u0432 <b>kv<\/b> \u2014 \u0444\u0430\u0439\u043b\u044b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 <i>Kv Language<\/i>. \u0414\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f <b>applibs<\/b> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0432 \u043f\u0430\u043f\u043a\u0435 <b>data<\/b> \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043c\u0435\u0434\u0438\u0430\u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u0424\u0430\u0439\u043b <b>main.py<\/b> \u2014 \u044d\u0442\u043e \u0442\u043e\u0447\u043a\u0430 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0438\u0447\u0435\u043c \u043e\u043d \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f, \u043a\u0440\u043e\u043c\u0435 \u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0440\u0435\u043d\u0434\u0435\u0440\u0430 UI <b>TodoList().run()<\/b>, \u043e\u0442\u043b\u043e\u0432\u043e\u043c \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0432\u043e\u0434\u043e\u043c \u043e\u043a\u043d\u0430 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0431\u0430\u0433 \u0440\u0435\u043f\u043e\u0440\u0442\u0430, \u0441\u043e\u0437\u0434\u0430\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 <i>CreatorKivyProject<\/i>, \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0424\u0430\u0439\u043b <b>todolist.py<\/b> \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u043a\u043b\u0430\u0441\u0441 <b>TodoList<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043c\u0430\u043a\u0435\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0445 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u044b, \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0445\u0430\u0440\u0434 \u043a\u043b\u0430\u0432\u0438\u0448 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b \u0432 Activity \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435. \u041f\u043e\u0441\u043b\u0435 <b>TodoList().run()<\/b> \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f <b>build<\/b> \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0438\u0434\u0436\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043a\u043e\u0434 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0434\u0438\u043d \u044d\u043a\u0440\u0430\u043d \u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c, \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/1e\/dc\/wi\/1edcwilpi3ejmykf6qiqjvhftcy.png\"><\/div>\n<p>  \u0410 \u0432\u043e\u0442 \u0441\u0445\u0435\u043c\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sv\/9j\/8n\/sv9j8npirktg3qeglec4vclue4i.png\"><\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">todolist.py:<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\"># -*- coding: utf-8 -*-  import os  from kivy.app import App from kivy.lang import Builder from kivy.core.window import Window from kivy.factory import Factory  from libs.applibs.kivymd.theming import ThemeManager from libs.dataBase import DataBase   class TodoList(App, DataBase):     title = 'Todo List'     icon = 'icon.png'     theme_cls = ThemeManager()     theme_cls.primary_palette = 'BlueGrey'      def __init__(self, **kvargs):         super(TodoList, self).__init__(**kvargs)         Window.bind(on_keyboard=self.eventsProgram)         Window.softinput_mode = 'below_target'         self.Window = Window         self.pathToBase = '%s\/data\/dataProjects.json' % self.directory         self.nameAuthor = u'\u0418\u0432\u0430\u043d\u043e\u0432 \u042e\u0440\u0438\u0439'      def build(self):         self.setDataProjects()         self.loadAllKvFiles(os.path.join(self.directory, 'libs', 'uix', 'kv'))         self.rootScreen = Factory.RootScreen()  # \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b         # \u0418\u043d\u0441\u0442\u0430\u043d\u0441\u044b Activity.         self.activityManager = self.rootScreen.ids.activityManager         self.listProjectsActivity = self.rootScreen.ids.listProjectsActivity         self.listNotesActivity = self.rootScreen.ids.listNotesActivity         self.addNewNoteActivity = self.rootScreen.ids.addNewNoteActivity          return self.rootScreen      def loadAllKvFiles(self, directory_kv_files):         for kv_file in os.listdir(directory_kv_files):             kv_file = os.path.join(directory_kv_files, kv_file)             if os.path.isfile(kv_file):                 Builder.load_file(kv_file)      def on_start(self):         self.listProjectsActivity.setListProjects(self)      def eventsProgram(self, instance, keyboard, keycode, text, modifiers):         if keyboard in (1001, 27):             if self.activityManager.current == 'add new note activity':                 self.activityManager.backActivity(                     'list notes activity', self.addNewNoteActivity.ids.floatingButton)             if self.activityManager.current == 'list notes activity':                 self.activityManager.current = 'list project activity'         return True  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432\u0441\u0435\u0433\u043e \u0438\u0437 \u0442\u0440\u0435\u0445 Activity, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 (<i>ScreenMenager<\/i>), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <b>build<\/b>:  <\/p>\n<pre><code>#:import ListProjectsActivity libs.uix.baseclass.ListProjectsActivity.ListProjectsActivity #:import ListNotesActivity libs.uix.baseclass.ListNotesActivity.ListNotesActivity #:import AddNewNoteActivity libs.uix.baseclass.AddNewNoteActivity.AddNewNoteActivity #:import ActivityManager libs.uix.baseclass.ActivityManager.ActivityManager  &lt;RootScreen@BoxLayout&gt;:     orientation: 'vertical'     spacing: dp(2)      ActivityManager:         id: activityManager         ListProjectsActivity:             id: listProjectsActivity         ListNotesActivity:             id: listNotesActivity         AddNewNoteActivity:             id: addNewNoteActivity <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0442\u043e Activity, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432 ActivityManager \u043f\u0435\u0440\u0432\u044b\u043c. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2014 \u044d\u0442\u043e <i>ListProjectsActivity<\/i>. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0438 \u0437\u0430\u0434\u0430\u0447 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <i>ScrollView<\/i>. \u0425\u043e\u0442\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u044b\u043b\u043e \u2014 <i>RecycleView<\/i>. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439, \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u0442\u043e\u0432 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430 \u0441\u043e\u0442\u043d\u044e, \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f. \u0422\u043e\u0447\u043d\u0435\u0435, \u0431\u0443\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043a\u0438. <i>RecycleView<\/i> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043f\u0438\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u043b\u0438\u043d\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u043f\u0438\u0441\u043a\u0430\u0445 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0431\u043e \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u043f\u0438\u0441\u043e\u043a, \u043b\u0438\u0431\u043e \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0430 \u0432 \u0422\u0417 \u044d\u0442\u043e \u043d\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u043b\u043e\u0441\u044c, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u043c\u0435\u0435\u043d\u043e <i>ScrollView<\/i>. \u0412\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043a\u0438 \u043f\u043e\u0434 <i>RecycleView<\/i> (\u0430 \u043e\u043d \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0442 <i>ScrollView<\/i>), \u0434\u0430 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0437\u0430 \u0447\u0435\u0442\u044b\u0440\u0435 \u0447\u0430\u0441\u0430 \u0432 \u043f\u0435\u0440\u0435\u043a\u0443\u0440\u0430\u0445 \u0438 \u043a\u043e\u0444\u0435 \u0431\u0440\u0435\u0439\u043a\u0430\u0445.<\/p>\n<p>  \u0421\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 (ListProjectsActivity.kv \u0438 ListProjectsActivity.py) \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/4g\/lu\/i4\/4glui4eyzptivo76zrmmqj_amqw.png\"><\/div>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 ListProjectsActivity \u0443\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0435, \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0435\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441:  <\/p>\n<pre><code># -*- coding: utf-8 -*-  from kivy.app import App from kivy.uix.screenmanager import Screen as Activity  from libs.uix.baseclass.InputDialog import InputDialog from . ProjectItem import ProjectItem   class ListProjectsActivity(Activity):     objApp = App.get_running_app()      def setListProjects(self, objApp):         for nameProject in objApp.dataProjects.keys():             self.ids.layoutContainer.add_widget(ProjectItem(projectName=nameProject))      def createNewProject(self, projectName):         if projectName and not projectName.isspace():             self.ids.layoutContainer.add_widget(ProjectItem(projectName=projectName))             self.objApp.addProjectInBase(projectName)      def deleteProject(self, instance):         for projectName in self.objApp.dataProjects:             if instance.projectName == projectName:                 self.objApp.deleteProjectFromBase(projectName)                 break      def showDialogCreateProject(self, *args):         InputDialog(             title='\u041d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442', hintText='\u0418\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430',             textButtonCancel='\u041e\u0442\u043c\u0435\u043d\u0430', textTuttonOk='\u0414\u0430',             eventsCallback=self.createNewProject).show() <\/code><\/pre>\n<p>  \u0412\u044b\u0437\u043e\u0432 \u0434\u0438\u043e\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043e\u043a\u043d\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bt\/t1\/kj\/btt1kjdoddave7eoowlvhxigdpq.png\"><\/div>\n<p>  \u0412 \u0440\u0430\u0431\u043e\u0442\u0435 \u0432\u044b\u0437\u043e\u0432 \u043e\u043a\u043d\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:   <\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/te\/gh\/hm\/teghhm6op9paveubdsjwh0m_d60.gif\"><\/div>\n<\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/uz\/v7\/hl\/uzv7hllrtghzrnw-rj0i7e7xnds.gif\"><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u041d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u0435 \u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044f \u043d\u0435 \u0431\u0443\u0434\u0443 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0432\u0438\u0434\u0430  <\/p>\n<pre><code class=\"python\">{\"Name Project\": [{\"pathToAvatar\": \"\", \"nameDate\": \"\", \"nameAuthor\": \"\", \"textNote\": \"\"}]}<\/code><\/pre>\n<p>  \u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <b>data<\/b> \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e json \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043f\u0443\u043d\u043a\u0442 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043a\u0430\u043a \u0432 Kivy \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u0430 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0443\u0442\u0435\u043c \u0441\u0432\u0430\u0439\u043f\u0430? \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <i>SwipeBehavior<\/i> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <i>SwipeToDelete<\/i>:<\/p>\n<p>  <b>ProjectItemActivity.py<\/b>  <\/p>\n<pre><code class=\"python\">from kivy.properties import StringProperty from kivy.uix.boxlayout import BoxLayout  from libs.applibs.swipetodelete import SwipeBehavior   class ProjectItemActivity(SwipeBehavior, BoxLayout):     projectName = StringProperty()      def on_touch_down(self, touch):         if self.collide_point(touch.x, touch.y):             self.move_to = self.x, self.y             return super(ProjectItemActivity, self).on_touch_down(touch)      def on_touch_move(self, touch):         if self.collide_point(touch.x, touch.y):             self.reduce_opacity()             return super(ProjectItemActivity, self).on_touch_move(touch)      def on_touch_up(self, touch):         if self.collide_point(touch.x, touch.y):             self.check_for_left()             self.check_for_right()             return super(ProjectItemActivity, self).on_touch_up(touch) <\/code><\/pre>\n<p>  \u0418 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 Kv \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435:<\/p>\n<p>  <b>ProjectItemActivity.kv<\/b>  <\/p>\n<pre><code>&lt;ProjectItemActivity&gt;:     swipe_rectangle: self.x, self.y , self.width, self.height     swipe_timeout: 1000000     swipe_distance: 1     event_after_swipe: app.listActivity.deleteProject      OneLineListItem:         text: root.projectName         on_press: app.listActivity.setNotesProject(root.projectName) <\/code><\/pre>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0432 Kivy \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <b><i>on_touch<\/i><\/b> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043b\u043e\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435. \u0412\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439:  <\/p>\n<pre><code class=\"python\">['double_tap_time', 'grab_state', 'is_double_tap', 'is_mouse_scrolling', 'is_touch', 'is_triple_tap', 'move', 'push', 'push_attrs', 'push_attrs_stack', 'scale_for_screen', 'time_end', 'time_start', 'time_update', 'triple_tap_time', 'ungrab', 'update_time_end'] <\/code><\/pre>\n<p>   <\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zz\/bl\/rl\/zzblrlviduost-tycdnpvs-xyy0.gif\"><\/div>\n<\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bd\/dv\/ml\/bddvmlttyqkolsl5a-cy2r9a6vc.gif\"><\/div>\n<\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nm\/i0\/fw\/nmi0fw493_feuoafuwzbm4xr7hm.gif\"><\/div>\n<\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kj\/yr\/9a\/kjyr9axwzdywc3tdgkm_eyq9tzo.gif\"><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0434\u043b\u044f Android\u2026<br \/>  \u0417\u0434\u0435\u0441\u044c \u0442\u043e\u0436\u0435 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0442\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 DropDown. \u0411\u043b\u0430\u0433\u043e\u0434\u043e\u0440\u044f \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u044b \u0432 Kivy \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0430\u0448\u0430 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u044f, \u044f \u0441 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u0438\u043c\u043f\u043e\u0442\u0438\u0447\u043d\u0443\u044e \u043c\u0435\u043d\u044e\u0448\u043a\u0443. \u0421\u043b\u0435\u0432\u0430 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 DropDown, \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u043c\u043e\u0439:   <\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/9r\/wh\/nm\/9rwhnm1vtqz-z9sbkosz-69rnrs.gif\"><\/div>\n<\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hp\/oz\/xt\/hpozxtujdyich9u4u9oh3wmasdw.gif\"><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0420\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e:<\/p>\n<p>  <b>ContextMenuAndroidActivity.kv<\/b>  <\/p>\n<pre><code>#:import MDSeparator libs.applibs.kivymd.card.MDSeparator #:import MenuItem libs.applibs.animdropdown.MenuItem  &lt;ContextMenuAndroidActivity&gt;:     MenuItem:         text: '\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c'         menu: root         on_press: root.tapOnItem(self.text)      MDSeparator:      MenuItem:         text: '\u0423\u0434\u0430\u043b\u0438\u0442\u044c'         menu: root         on_press: root.tapOnItem(self.text) <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e:<\/p>\n<p>  <b>ContextMenuAndroidActivity.kv<\/b>  <\/p>\n<pre><code class=\"python\">from kivy.app import App from kivy.clock import Clock  from libs.applibs.animdropdown import AnimMenuDropDown   class ContextMenuAndroidActivity(AnimMenuDropDown):     def tapOnItem(self, textItem):         objApp = App.get_running_app()         if textItem == '\u0423\u0434\u0430\u043b\u0438\u0442\u044c':             objApp.listActivity.deletePost()         else:             objApp.activityManager.current = 'add new note activity'             Clock.schedule_once(objApp.addNewNoteActivity.editNote, .5) <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 <i>MenuDropDown<\/i> \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <i>animdropdown<\/i>, \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0439 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0438 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u044d\u0442\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043d\u0430\u043c \u043c\u0435\u0441\u0442\u0435 \u043d\u0430\u043c \u044d\u043a\u0440\u0430\u043d\u0435. \u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u044d\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430 \u0441\u043f\u0440\u0430\u0432\u0430 \u0432 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/27\/qr\/jt\/27qrjtfka-i1bjmtzte93q2iefm.png\"><\/div>\n<p>  \u0420\u0430\u0437\u043c\u0435\u0442\u043a\u0430 Activity \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0437\u0430\u043c\u0435\u0442\u043a\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/aq\/bt\/tx\/aqbttxbii2mhh-jo6ispppmo6ks.png\"><\/div>\n<p>  \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 <b>NoteActivity<\/b>:  <\/p>\n<pre><code class=\"python\">from kivy.app import App from kivy.properties import StringProperty from kivy.uix.boxlayout import BoxLayout  from libs.applibs.animdropdown import MenuButton from libs.applibs.swipetodelete import SwipeBehavior from . ContextMenu import ContextMenu   class NoteActivity(SwipeBehavior, BoxLayout):     nameDate = StringProperty()     textNote = StringProperty()     pathToAvatar = StringProperty()      def __init__(self, **kwargs):         super(NoteActivity, self).__init__(**kwargs)         self.objApp = App.get_running_app()         menuButton = MenuButton(             dropdown_cls=ContextMenu, icon='dots-vertical', _on_dropdown_fnc=self.setCurrentPost)         self.ids.titleBox.add_widget(menuButton)      def setCurrentPost(self, *args):         self.objApp.listNotesActivity.checkCurentPost = self <\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ir\/y9\/vi\/iry9vibv89ycgb70uwcb6rensce.png\"><\/div>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f <b>ListNotesActivity<\/b>:  <\/p>\n<pre><code class=\"python\"># -*- coding: utf-8 -*-  from kivy.app import App from kivy.uix.screenmanager import Screen as Activity from kivy.properties import ObjectProperty  from . NoteActivity import NoteActivity   class ListNotesActivity(Activity):     checkCurentPost = ObjectProperty()     objApp = App.get_running_app()      def clearList(self):         if self.objApp.activityManager.current == 'list project activity':             self.ids.layoutContainer.clear_widgets()      def addNewNote(self, objApp):         objApp.activityManager.current = 'add new note activity'      def setDefaultcheckCurentPost(self):         self.checkCurentPost = lambda x: None      def setNotesProject(self, nameProject):         self.ids.toolBar.title = nameProject         for dataProject in self.objApp.dataProjects[nameProject][1]:             self.ids.layoutContainer.add_widget(NoteActivity(                 textNote=dataProject['textNote'],                 nameDate=dataProject['nameDate'],                 pathToAvatar=dataProject['pathToAvatar']))      def deletePost(self, instance=None):         # \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u0430\u0439\u043f\u043e\u043c.         if not self.checkCurentPost:             checkCurentPost = instance         else:             checkCurentPost = self.checkCurentPost             self.ids.layoutContainer.remove_widget(self.checkCurentPost)          nameProject = self.ids.toolBar.title         self.objApp.deleteNoteFromBase(nameProject, checkCurentPost.textNote)      def checkScroll(self):         if self.checkCurentPost and type(self.checkCurentPost) is not NoteActivity:             self.checkCurentPost(self) <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c Activity \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f? \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0441 \u043e\u0434\u043d\u043e\u0433\u043e Activity \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0435, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0443 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0438\u043c\u044f \u043d\u043e\u0432\u043e\u0433\u043e Activity:  <\/p>\n<pre><code class=\"python\">class ListNotesActivity(Activity):     ...      def addNewNote(self, *args):         self.objApp.activityManager.current = 'add new note activity' <\/code><\/pre>\n<p>  \u2026 \u0433\u0434\u0435 <i><b>&#8216;add new note activity&#8217;<\/b><\/i> \u0438\u043c\u044f Activity \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438.<\/p>\n<p>  \u042d\u043a\u0440\u0430\u043d \u0438 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 Activity <b>AddNewNoteActivity<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6m\/wc\/pd\/6mwcpd7f5dswgcy8vgcehomb7ci.png\"><\/div>\n<p>  \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441:  <\/p>\n<pre><code class=\"python\">from kivy.app import App from kivy.animation import Animation from kivy.uix.screenmanager import Screen as Activity from kivy.metrics import dp  from libs.uix.baseclass.NoteActivity import NoteActivity   class AddNewNoteActivity(Activity):     objApp = None     edit = False     oldTextNote = ''      def animationButton(self):         self.objApp = App.get_running_app()         self.ids.toolBar.title = self.objApp.listNotesActivity.ids.toolBar.title         Animation(size=(dp(56), dp(56)), d=.5, t='in_out_cubic').start(self.ids.floatingButton)      def addNewNotes(self, textNote):         if self.edit:             nameProject = self.ids.toolBar.title             self.objApp.addEditNoteInBase(nameProject, textNote, self.oldTextNote)             self.objApp.activityManager.backActivity('list notes activity', self.ids.floatingButton)             self.objApp.listNotesActivity.checkCurentPost.textNote = textNote             self.edit = False             return          self.objApp.listNotesActivity.ids.layoutContainer.add_widget(             NoteActivity(                 textNote=textNote, nameDate='%s\\n%s' % (                 self.objApp.nameAuthor, self.objApp.getDate()),                 pathToAvatar='data\/images\/avatar.png'))         self.objApp.addNoteInBase(self.ids.toolBar.title, textNote, 'data\/images\/avatar.png')      def editNote(self, interval):         self.edit = True         self.ids.textInput.text = self.objApp.listNotesActivity.checkCurentPost.textNote         self.oldTextNote = self.ids.textInput.text <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0441\u043e\u0431\u044b\u0442\u0438\u0435 <b>on_enter<\/b>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Activity \u043d\u0430 \u044d\u043a\u0440\u0430\u043d:<\/p>\n<p>  \u0412 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435:  <\/p>\n<pre><code>&lt;AddNewNoteActivity&gt;     on_enter: root.animationButton() <\/code><\/pre>\n<p>  \u0412 Python \u043a\u043e\u0434\u0435:  <\/p>\n<pre><code class=\"python\">class AddNewNoteActivity(Activity):     def animationButton(self):         Animation(size=(dp(56), dp(56)), d=.5, t='in_out_cubic').start(self.ids.floatingButton) <\/code><\/pre>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/we\/fj\/lq\/wefjlq6o_4ohxersgl96zebkxo4.gif\"><\/div>\n<p>  \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 Xamarin.Forms UI \u0432 Kivy \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0432\u0435\u0437\u0434\u0435 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e. \u0422\u0430\u043a \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (Android \u0438 iOS), \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0438 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u043c. \u0418\u043b\u0438 \u0436\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (\u043b\u043e\u0433\u0438\u043a\u0430 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u043e\u0439). \u042d\u0442\u043e \u043f\u043b\u044e\u0441, \u0442\u0430\u043a \u043a\u0430\u043a \u0440\u0435\u043d\u0434\u0435\u0440 UI \u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u0432\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 API \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435. \u0412\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 OpenGL \u0438 SDL2 \u043d\u0430 GPU, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u043d\u044e\u0448\u043a\u0438, \u043a\u043d\u043e\u043f\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u044f 2D \u0438 3D \u0433\u0440\u0430\u0444\u0438\u043a\u0443.<\/p>\n<p>  \u0414\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Android UI MaterialDesign. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043c\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438\u043c\u0435\u043b \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0441:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rm\/de\/xt\/rmdextdb8krmw5ylbk2o7zwailk.png\" width=\"600\" height=\"400\"><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ev\/pv\/3_\/evpv3_f2ht9oqh3cs7m4htfqdiq.png\" width=\"600\" height=\"400\"><\/div>\n<p>  \u0410 \u0432\u043e\u0442 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u0441\u0442\u0438\u043b\u0435 Material Design:  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0px; width: 100%; height: 0px; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"\/\/rutube.ru\/play\/embed\/9802630\" frameborder=\"0\" allowfullscreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\" style=\"top: 0px; left: 0px; width: 100%; height: 100%; position: absolute;\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  \u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b, Kivy \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 API \u0434\u043b\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0430 UI, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f <b><i>screen<\/i><\/b>. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043e\u0442\u043a\u0440\u044b\u043b\u043e\u0441\u044c \u043e\u043a\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0442\u0430\u043a, \u043a\u0430\u043a \u0435\u0441\u043b\u0438 \u0431\u044b \u043e\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435. \u0417\u0432\u0443\u0447\u0438\u0442 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Kivy \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0432 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0435 UI, \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u044f\u0436\u0435\u043b\u044b\u0435 \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0435 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u044b \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432. \u042d\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e UI. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u043e\u0435 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 <b><i>-m screen:droid2, portrait, scale=.75<\/i><\/b> \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u0432 \u043e\u0434\u0438\u043d \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043e\u0435\u043c\u0443 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043c\u043e\u0434\u0443\u043b\u044f screen:<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">devices = {     # device: (name, width, height, dpi, density)     'onex': ('HTC One X', 1280, 720, 312, 2),     'one': ('HTC One', 1920, 1080, 468, 3),     'onesv': ('HTC One SV', 800, 480, 216, 1.5),     's3': ('Galaxy SIII', 1280, 720, 306, 2),     'note2': ('Galaxy Note II', 1280, 720, 267, 2),     'droid2': ('Motorola Droid 2', 854, 480, 240, 1.5),     'xoom': ('Motorola Xoom', 1280, 800, 149, 1),     'ipad': ('iPad (1 and 2)', 1024, 768, 132, 1),     'ipad3': ('iPad 3', 2048, 1536, 264, 2),     'iphone4': ('iPhone 4', 960, 640, 326, 2),     'iphone5': ('iPhone 5', 1136, 640, 326, 2),     'xperiae': ('Xperia E', 480, 320, 166, 1),     'nexus4': ('Nexus 4', 1280, 768, 320, 2),     'nexus7': ('Nexus 7 (2012 version)', 1280, 800, 216, 1.325),     'nexus7.2': ('Nexus 7 (2013 version)', 1920, 1200, 323, 2),      # taken from design.google.com\/devices     # please consider using another data instead of     # a dict for autocompletion to work     # these are all in landscape     'phone_android_one': ('Android One', 854, 480, 218, 1.5),     'phone_htc_one_m8': ('HTC One M8', 1920, 1080, 432, 3.0),     'phone_htc_one_m9': ('HTC One M9', 1920, 1080, 432, 3.0),     'phone_iphone': ('iPhone', 480, 320, 168, 1.0),     'phone_iphone_4': ('iPhone 4', 960, 640, 320, 2.0),     'phone_iphone_5': ('iPhone 5', 1136, 640, 320, 2.0),     'phone_iphone_6': ('iPhone 6', 1334, 750, 326, 2.0),     'phone_iphone_6_plus': ('iPhone 6 Plus', 1920, 1080, 400, 3.0),     'phone_lg_g2': ('LG G2', 1920, 1080, 432, 3.0),     'phone_lg_g3': ('LG G3', 2560, 1440, 533, 3.0),     'phone_moto_g': ('Moto G', 1280, 720, 327, 2.0),     'phone_moto_x': ('Moto X', 1280, 720, 313, 2.0),     'phone_moto_x_2nd_gen': ('Moto X 2nd Gen', 1920, 1080, 432, 3.0),     'phone_nexus_4': ('Nexus 4', 1280, 768, 240, 2.0),     'phone_nexus_5': ('Nexus 5', 1920, 1080, 450, 3.0),     'phone_nexus_5x': ('Nexus 5X', 1920, 1080, 432, 2.6),     'phone_nexus_6': ('Nexus 6', 2560, 1440, 496, 3.5),     'phone_nexus_6p': ('Nexus 6P', 2560, 1440, 514, 3.5),     'phone_samsung_galaxy_note_4': ('Samsung Galaxy Note 4',                                     2560, 1440, 514, 3.0),     'phone_samsung_galaxy_s5': ('Samsung Galaxy S5', 1920, 1080, 372, 3.0),     'phone_samsung_galaxy_s6': ('Samsung Galaxy S6', 2560, 1440, 576, 4.0),     'phone_sony_xperia_c4': ('Sony Xperia C4', 1920, 1080, 400, 2.0),     'phone_sony_xperia_z_ultra': ('Sony Xperia Z Ultra', 1920, 1080, 348, 2.0),     'phone_sony_xperia_z1_compact': ('Sony Xperia Z1 Compact',                                      1280, 720, 342, 2.0),     'phone_sony_xperia_z2z3': ('Sony Xperia Z2\/Z3', 1920, 1080, 432, 3.0),     'phone_sony_xperia_z3_compact': ('Sony Xperia Z3 Compact',                                      1280, 720, 313, 2.0),     'tablet_dell_venue_8': ('Dell Venue 8', 2560, 1600, 355, 2.0),     'tablet_ipad': ('iPad', 1024, 768, 132, 1.0),     'tablet_ipad_mini': ('iPad Mini', 1024, 768, 163, 1.0),     'tablet_ipad_mini_retina': ('iPad Mini Retina', 2048, 1536, 326, 2.0),     'tablet_ipad_pro': ('iPad Pro', 2732, 2048, 265, 2.0),     'tablet_ipad_retina': ('iPad Retina', 2048, 1536, 264, 2.0),     'tablet_nexus_10': ('Nexus 10', 2560, 1600, 297, 2.0),     'tablet_nexus_7_12': ('Nexus 7 12', 1280, 800, 216, 1.3),     'tablet_nexus_7_13': ('Nexus 7 13', 1920, 1200, 324, 2.0),     'tablet_nexus_9': ('Nexus 9', 2048, 1536, 288, 2.0),     'tablet_samsung_galaxy_tab_10': ('Samsung Galaxy Tab 10',                                      1280, 800, 148, 1.0),     'tablet_sony_xperia_z3_tablet': ('Sony Xperia Z3 Tablet',                                      1920, 1200, 282, 2.0),     'tablet_sony_xperia_z4_tablet': ('Sony Xperia Z4 Tablet',                                      2560, 1600, 297, 2.0)TodoList()         app.run()  } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435? \u0425\u043e\u0440\u043e\u0448 \u043b\u0438 Kivy? \u0411\u0435\u0441\u0441\u043f\u043e\u0440\u043d\u043e \u0445\u043e\u0440\u043e\u0448! \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u043b\u0430\u0434\u0435\u0435\u0442\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python, \u0432\u044b \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0441 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Kivy.<\/p>\n<p>  <b>\u041f\u043b\u044e\u0441\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Kivy:<\/b>  <\/p>\n<ul>\n<li>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0434\u0435\u043b\u043e \u0441 Python, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432 \u0440\u0430\u0437\u044b \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0434\u0440\u0443\u0433\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435.<\/li>\n<li>\u041c\u0435\u0433\u0430\u0442\u043e\u043d\u043d\u044b \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445: <b>OpenCV, Django, Flask, NumPy, ffmpeg, sqlite3, lxml<\/b> \u0438 \u0442\u044b\u0441\u044f\u0447\u0438 \u0434\u0440\u0443\u0433\u0438\u0445.<\/li>\n<li>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Kivy \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 OpenGL \u0438 GPU, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u044b, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0435\u043d\u0434\u0435\u0440\u0430 UI \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u0430 \u0438 \u0432\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0437\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043e\u0442 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0439 \u0431\u043e\u043b\u0438, \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043b\u0435\u0437\u0442\u044c \u0432 \u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c.<\/li>\n<li>\u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043d\u0430\u0442\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043c, \u0433\u0434\u0435 \u043d\u0443\u0436\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0433\u0435\u043e\u043b\u043e\u043a\u0430\u0446\u0438\u0438, \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u0430\u043c\u0435\u0440\u0435, \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 BlueTooth\u2026\n<p>  \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u043c\u0443 API Android \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f IMEI \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PyJnius:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"python\">def _get_model_android():     from jnius import autoclass      Build = autoclass('android.os.Build')     return str(Build.DEVICE)  def _get_imei_android():     from jnius import autoclass      Service = autoclass('org.renpy.android.PythonActivity').mActivity     Context = autoclass('android.content.Context')     TelephonyManager = Service.getSystemService(Context.TELEPHONY_SERVICE)     return str(TelephonyManager.getDeviceId()) <\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fw\/bi\/pm\/fwbipmzqlt4iebzxbaap4f_-e0y.gif\"><\/div>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u2014 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f IMEI \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 Java:  <\/p>\n<pre><code class=\"java\">import android.content.Context; import android.telephony.TelephonyManager;  public class GetImeiAndroid {     public String getImeiAndroid()     {         TelephonyManager  tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);          String IMEINumber = tm.getDeviceId();          return IMEINumber;     } } <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 jar \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e\u0431 Android.<\/li>\n<li>\u0412\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u043b\u0430\u0434\u0435\u0435\u0442\u0435 \u0432\u0441\u0435\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435: \u0442\u0430\u0447, \u043c\u0443\u043b\u044c\u0442\u0438\u0442\u0430\u0447, \u0441\u0432\u0430\u0439\u043f, \u043f\u0440\u043e\u0434\u0430\u0432\u043b\u0438\u0432\u0430\u043d\u0438\u0435 \u0438 \u0434\u0440. \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0431\u0435\u0437 \u0443\u0445\u043e\u0434\u0430 \u0432 \u043d\u0430\u0442\u0438\u0432 \u0442\u0430\u043a \u044d\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0442\u044a\u0435\u043c\u043b\u0435\u043c\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e Kivy.<\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 Kivy \u0432 Touch \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445:<\/b><\/p>\n<div class=\"spoiler_text\">\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/player.vimeo.com\/video\/45240986?byline=0&amp;badge=0\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/player.vimeo.com\/video\/40730046?byline=0&amp;badge=0\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.6669%;\"><iframe src=\"https:\/\/player.vimeo.com\/video\/25680681?byline=0&amp;badge=0\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 75.0019%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/u4NRu7mBXtA?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/div>\n<\/div>\n<p>  <b>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u0435 \u043f\u043b\u044e\u0441\u044b, Kivy \u0438\u043c\u0435\u0435\u0442 \u0438 \u0440\u044f\u0434 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432:<\/b><\/p>\n<ul>\n<li>\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u00ab\u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430\u00bb, \u0442\u043e \u0435\u0441\u0442\u044c, \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b, \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0433\u0438\u0439. \u041f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u2014 \u043e\u0431\u044b\u0447\u043d\u044b\u0435, \u043d\u043e \u0434\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043d\u0430\u0442\u0438\u0432, \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. <\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438. \u041c\u043e\u0436\u043d\u043e \u0437\u0430 \u043f\u043e\u043b \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0432 100 000 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0432\u0438\u0442\u0440\u0438\u043d\u0430, \u0446\u0438\u0442\u0430\u0442\u044b), \u043d\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u2014 \u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u0432\u044b\u0441\u043e\u0442\u044b. \u0415\u0441\u043b\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0446\u0438\u0442\u0430\u0442, \u0441 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u0430, \u043d\u043e \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0442\u043e \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u0441\u044f\u0442\u0438 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0437\u0430\u0439\u043c\u0435\u0442 \u043e\u043a\u043e\u043b\u043e 10-15 \u0441\u0435\u043a\u0443\u043d\u0434. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043f\u043e 10-15 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430.<\/li>\n<li>\u041d\u0435\u043b\u044c\u0437\u044f \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0442\u0435\u043a\u0441\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 6500 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (3.5 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0435\u0447\u0430\u0442\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430) \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0447\u0435\u0440\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d. \u042d\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0435\u0433\u043e \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u043d\u0438\u0435\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043a\u043e\u0441\u0442\u044b\u043b\u044c\u043d\u044b\u043c. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u043e\u043c\u0443 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0439\u0442\u0438 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0437\u0430 \u0440\u0430\u0437. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445. <\/li>\n<li>\u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 iOS \u043d\u0443\u0436\u043d\u0430 macOS. <\/li>\n<\/ul>\n<p>  <a href=\"https:\/\/habr.com\/users\/heattheatr\/posts\/\">\u0411\u043e\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e Kivy<\/a><br \/>  <a href=\"https:\/\/groups.google.com\/forum\/#!topic\/kivy-users\/24EG_f2h9RI\">\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430<\/a> (\u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 ZenCODE) \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Kivy \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430\u044f \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043f\u043e\u0434 \u043e\u0431\u0435 \u0432\u0435\u0442\u043a\u0438 Python.<\/p>\n<p>  \u042f \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u0430\u043a\u0436\u0435 \u0438 \u0437\u0434\u0435\u0441\u044c:<br \/>  <a href=\"https:\/\/vk.com\/kivy_development\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/143\/4c8\/c32\/1434c8c325312d2df5209efb82283486.png\"><\/a><\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/420691\/\"> https:\/\/habr.com\/post\/420691\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/420691\/\" class=\"post__text post__text-html js-mediator-article\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zs\/ph\/zy\/zsphzyh0mmbmfwzsfmkdi5tff4w.png\"><\/div>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0441\u0435\u0445!<br \/>  \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u044b\u043c \u043e\u0442 \u0436\u0430\u0440\u043a\u043e\u0439 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/post\/418839\/\">Kivy \u2014 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u21161<\/a> \u043e\u0441\u0435\u043b, \u0438 \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u043f\u0440\u043e\u0431\u0438\u043b\u0441\u044f <a href=\"https:\/\/habr.com\/post\/418839\/\">\u0434\u043e\u0441\u0442\u043e\u0439\u043d\u044b\u0439 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/a>, \u043c\u044b (<a href=\"https:\/\/habr.com\/users\/mirimon\/\" class=\"user_link\">Mirimon<\/a>, <a href=\"https:\/\/habr.com\/users\/seod\/\" class=\"user_link\">SeOd<\/a>), \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u0438, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0438 \u043d\u0430\u043c \u0438 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c Kivy, Xamarin.Forms \u0438 React Native, \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u043d\u0430 \u043d\u0438\u0445 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435, <a href=\"https:\/\/github.com\/Mirimon\/KivyXamarinReactComparison\/tree\/master\/Kivy\">\u0440\u0435\u043f\u043e\u0439 \u043d\u0430 GitHub<\/a> \u0438 \u0447\u0435\u0441\u0442\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0442\u043e \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u0421\u043e\u0431\u0440\u0430\u0432\u0448\u0438\u0441\u044c \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c\u0435 \u0438 \u043e\u0431\u0441\u0443\u0434\u0438\u0432 \u0434\u0435\u0442\u0430\u043b\u0438, \u043c\u044b \u043f\u0440\u0438\u043d\u044f\u043b\u0438\u0441\u044c \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-288559","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=288559"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288559\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=288559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=288559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=288559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}