{"id":309304,"date":"2020-09-01T15:01:06","date_gmt":"2020-09-01T15:01:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=309304"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-09-01T15:01:06","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=309304","title":{"rendered":"\u041a\u0430\u043a \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0430 \u0432 \u043b\u044e\u0431\u043e\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 Habitica"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/just_ai\/blog\/514290\/\">\u0412\u0430\u043c \u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043b\u0438 \u0431\u044b \u043a\u0443\u0434\u0430 \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u0431\u0443\u0434\u044c \u0432 \u043d\u0438\u0445 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435? \u041d\u0435\u0442, \u0440\u0435\u0447\u044c \u043d\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u0435\u0441\u0442\u0438 \u0431\u0435\u0441\u0435\u0434\u044b \u0441 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u043c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c \u0432 \u0447\u0430\u0442\u0435 \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0438\u043b\u0438 form-filling \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430.<\/p>\n<p>  \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 Habitica (\u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0439 app \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u044b\u0447\u0435\u043a \u0438 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u0435\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Kotlin) \u0412\u0438\u0442\u0430\u043b\u044f \u0413\u043e\u0440\u0431\u0430\u0447\u0451\u0432, \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 Just AI, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u043e \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043b\u044e\u0431\u043e\u0433\u043e \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\/c-\/fw\/7f\/c-fw7fcfbphj-8c9_nhuiwtne8g.gif\"><\/div>\n<p>  <a name=\"habracut\"><\/a>\u041d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u2014 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e? \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439.<\/p>\n<ul>\n<li>\u041d\u0430\u043c \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0432 \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u043d\u044f\u0442\u044b \u0440\u0443\u043a\u0438: \u0433\u043e\u0442\u043e\u0432\u043a\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u043c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c, \u0442\u0430\u0449\u0438\u043c \u0447\u0435\u043c\u043e\u0434\u0430\u043d\u044b, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.<\/li>\n<li>\u0413\u043e\u043b\u043e\u0441 \u2014 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043b\u044e\u0434\u0435\u0439 \u0441 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0440\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u041a\u0435\u0439\u0441\u044b \u0438 \u0442\u0430\u043a \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0451 \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435: \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043d\u0430\u0431\u043e\u0440 \u0433\u043e\u043b\u043e\u0441\u043e\u043c <b>\u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435<\/b>! \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u2014 \u0437\u0430\u043a\u0430\u0437 \u0430\u0432\u0438\u0430\u0431\u0438\u043b\u0435\u0442\u0430 \u043e\u0434\u043d\u043e\u0439 \u0444\u0440\u0430\u0437\u043e\u0439 \u00ab\u041a\u0443\u043f\u0438 \u043c\u043d\u0435 \u0431\u0438\u043b\u0435\u0442 \u043d\u0430 \u0437\u0430\u0432\u0442\u0440\u0430 \u043d\u0430 \u0434\u0432\u043e\u0438\u0445 \u0432 \u0421\u0430\u043c\u0430\u0440\u0443\u00bb \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043e\u043b\u0433\u043e\u0433\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0444\u043e\u0440\u043c\u044b. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0443\u0442\u043e\u0447\u043d\u044f\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b: \u0432\u0435\u0447\u0435\u0440\u043e\u043c \u0438\u043b\u0438 \u0434\u043d\u0435\u043c? \u0441 \u0431\u0430\u0433\u0430\u0436\u043e\u043c \u0438\u043b\u0438 \u0431\u0435\u0437?   <\/p>\n<blockquote><p>\u0413\u043e\u043b\u043e\u0441 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u043f\u0440\u0438 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0438 \u043d\u0430\u043c\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u00abform-filling\u00bb \u0438 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u044b\u0445 \u0434\u043b\u0438\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0418 \u0442\u0430\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u044b \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. <\/p><\/blockquote>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/uj\/iu\/y2\/ujiuy2mdefffbvpqm7p6kphekum.jpeg\"><\/p>\n<p>  <i>\u0421\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e: \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0420\u0416\u0414 \u00ab\u041f\u0440\u0438\u0433\u043e\u0440\u043e\u0434\u00bb, \u0434\u043d\u0435\u0432\u043d\u0438\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f FatSecret (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0444\u043e\u0440\u043c\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432 \u0434\u0435\u043d\u044c, \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u0441\u043e\u0442\u0435\u043d \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432), \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u043a\u0430\u0440\u043d\u0438 \u00ab\u041a\u043e\u0440\u0436\u043e\u0432\u00bb.<\/i><\/p>\n<p>  \u0418\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0445 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u0432 \u0447\u0430\u0441\u0442\u043e \u0432\u043d\u0435\u0434\u0440\u044f\u044e\u0442 \u0432 \u0447\u0430\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u043d\u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u0442\u0443\u0434\u0430, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0447\u0430\u0442. \u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u0430\u043b\u0430\u043d\u0441, \u0443\u0437\u043d\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043e \u0442\u043e\u0432\u0430\u0440\u0435 \u0438\u043b\u0438 \u0443\u0441\u043b\u0443\u0433\u0435\u2026 \u042d\u0442\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0434\u043e\u0431\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e, \u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c \u0432\u0432\u043e\u0434\u043e\u043c \u0438 \u0432\u043e\u0432\u0441\u0435 \u043a\u043e\u043d\u0442\u0440\u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e, \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0440\u0430\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0447\u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e.   <\/p>\n<blockquote><p>\u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u2014 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u043e \u0432 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0444\u043e\u0440\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043c\u043e\u0433 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u043d \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u043b, \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u041e\u041a.<\/p><\/blockquote>\n<p> \u041c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.habitrpg.android.habitica&amp;hl=ru\">Habitica<\/a> \u2014 \u044d\u0442\u043e \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\u0435 \u043f\u043e\u0447\u0442\u0438 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c \u041a\u043e\u0442\u043b\u0438\u043d\u0435. \u00ab\u0425\u0430\u0431\u0438\u0442\u0438\u043a\u0430\u00bb \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0434 \u043a\u0435\u0439\u0441 \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c \u2014 \u0442\u0443\u0442 \u0442\u043e\u0436\u0435 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0431\u044a\u0435\u043c\u043d\u0443\u044e \u0444\u043e\u0440\u043c\u0443. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043c\u0443\u0442\u043e\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0434\u043d\u043e\u0439 \u0444\u0440\u0430\u0437\u043e\u0439 \u0441 \u043d\u0430\u0432\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438?<\/p>\n<p>  <i>\u042f \u0440\u0430\u0437\u0431\u0438\u043b \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u043d\u0430 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043f\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0430 \u043f\u043e\u0433\u043e\u0434\u044b \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432 \u043c\u0438\u0440\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430\u043c). \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u2014 \u0430 \u043e\u043d\u0430 \u0432\u044b\u0439\u0434\u0435\u0442 \u0443\u0436\u0435 \u0441\u043a\u043e\u0440\u043e \u2014 \u043c\u044b \u043d\u0430\u0443\u0447\u0438\u043c\u0441\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u044d\u043a\u0440\u0430\u043d\u044b \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/i><\/p>\n<h3>\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b<\/h3>\n<p>  <b>SDK. <\/b> \u041c\u044b \u0432\u0437\u044f\u043b\u0438 <a href=\"https:\/\/aimybox.com\/\">Aimybox<\/a> \u043a\u0430\u043a SDK \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432. \u0418\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 Aimybox \u0434\u0430\u0435\u0442 <a href=\"https:\/\/github.com\/just-ai\/aimybox-android-sdk\">SDK<\/a> \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u0438 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u0438 <a href=\"https:\/\/github.com\/just-ai\/aimybox-android-assistant\">\u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0439 UI <\/a>(\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0438 \u0432\u043e\u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0432\u0438\u0436\u043a\u043e\u0432 <a href=\"https:\/\/help.aimybox.com\/en\/article\/speech-to-text-components-1o8c1e5\/\">\u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f<\/a>, <a href=\"https:\/\/help.aimybox.com\/en\/article\/text-to-speech-components-btg1uk\/\">\u0441\u0438\u043d\u0442\u0435\u0437\u0430<\/a> \u0438 <a href=\"https:\/\/help.aimybox.com\/en\/article\/dialog-api-components-1hm93q3\/\">NLP<\/a> \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c.<\/p>\n<p>  \u041f\u043e \u0441\u0443\u0442\u0438, Aimybox \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0430, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u044f \u0438\u0445 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432\u043d\u0435\u0434\u0440\u044f\u044f \u044d\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043c\u043e\u0436\u043d\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e Aimybox \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/habr.com\/ru\/company\/just_ai\/blog\/470259\/\">\u0442\u0443\u0442<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/just_ai\/blog\/479554\/\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  <b>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f. <\/b>\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0431\u0443\u0434\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 <a href=\"https:\/\/framework.just-ai.com\/\">JAICF<\/a> (\u044d\u0442\u043e \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0439 \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0442 Just AI), \u0430 \u0438\u043d\u0442\u0435\u043d\u0442\u044b \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/just-ai.com\/caila-conversational-ai-linguistic-assistant\">Caila<\/a> (NLU-\u0441\u0435\u0440\u0432\u0438\u0441) \u0432 <a href=\"https:\/\/just-ai.com\/platforma-jaicp\">JAICP<\/a> (Just AI Conversational Platform). \u041f\u0440\u043e \u043d\u0438\u0445 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u2014 \u043a\u043e\u0433\u0434\u0430 \u0434\u043e\u0439\u0434\u0435\u043c \u0434\u043e \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <b>\u0421\u043c\u0430\u0440\u0442\u0444\u043e\u043d. <\/b>\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d \u043d\u0430 Android, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438 \u0442\u0435\u0441\u0442\u0438\u0442\u044c \u00ab\u0425\u0430\u0431\u0438\u0442\u0438\u043a\u0443\u00bb. <\/p>\n<h3>\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439<\/h3>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0444\u043e\u0440\u043a\u0430\u0435\u043c \u00ab\u0425\u0430\u0431\u0438\u0442\u0438\u043a\u0443\u00bb (\u0432\u0435\u0442\u043a\u0443 Release) \u0438 \u0438\u0449\u0435\u043c \u0441\u0430\u043c\u044b\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0430\u0441 \u0444\u0430\u0439\u043b\u044b. \u042f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f IDE Android Studio:<\/p>\n<p>  \u041d\u0430\u0445\u043e\u0434\u0438\u043c <b>MainActivity<\/b>.kt \u2014 \u0442\u0443\u0434\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443.<\/p>\n<p>  <b>HabiticaBaseApplication<\/b>.kt \u2014 \u0442\u0430\u043c \u0431\u0443\u0434\u0435\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c Aimybox.<\/p>\n<p>  <b>Activity_main<\/b>.xml \u2014 \u0442\u0443\u0434\u0430 \u0432\u0441\u0442\u0440\u043e\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<\/p>\n<p>  <b>AndroidManifest<\/b>.xml \u2014 \u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432 \u0440\u0435\u043f\u0435 \u00ab\u0425\u0430\u0431\u0438\u0442\u0438\u043a\u0438\u00bb \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c habitica.properties.example \u0438 habitica.resources.example, \u0443\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u043d\u0438\u0445 example, \u0437\u0430\u0432\u043e\u0434\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 firebase \u043f\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432 \u043a\u043e\u0440\u0435\u043d\u044c \u0444\u0430\u0439\u043b google-services.json.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0431\u043e\u0447\u0430\u044f. \u0412\u0443\u0430\u043b\u044f!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/03a\/ede\/014\/03aede01460ae0256102924457500f67.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 Aimybox.<\/p>\n<pre><code class=\"plaintext\">implementation 'com.justai.aimybox:core:0.11.0'     implementation(&quot;com.justai.aimybox:components:0.1.8&quot;) <\/code><\/pre>\n<p>  \u0432 dependencies \u0438<\/p>\n<pre><code class=\"plaintext\">    maven { url 'https:\/\/dl.bintray.com\/aimybox\/aimybox-android-sdk\/' }     maven { url &quot;https:\/\/dl.bintray.com\/aimybox\/aimybox-android-assistant\/&quot; }  <\/code><\/pre>\n<p>  \u0432 repositories.<\/p>\n<p>  \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 compileOptions \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e<\/p>\n<pre><code class=\"xml\">    kotlinOptions {         jvmTarget = JavaVersion.VERSION_1_8.toString()     }<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0423\u0431\u0438\u0440\u0430\u0435\u043c \u0444\u043b\u0430\u0433\u0438 \u0441 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 <b>RECORD_AUDIO<\/b> \u0438 <b>MODIFY_AUDIO_SETTINGS<\/b> \u0432 <b>AndroidManifest<\/b>.xml, \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0446\u0438\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<pre><code class=\"xml\">     &lt;uses-permission android:name=&quot;android.permission.READ_PHONE_STATE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; \/&gt;     &lt;uses-permission android:name=&quot;com.android.vending.BILLING&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot;\/&gt;      &lt;uses-permission android:name=&quot;android.permission.RECORD_AUDIO&quot;\/&gt;     &lt;uses-permission android:name=&quot;android.permission.MODIFY_AUDIO_SETTINGS&quot;\/&gt; <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0443\u0440\u0435\u043c Aimybox \u0432 BaseApplication. <\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c <b>AimyboxProvider<\/b> \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043b\u0430\u0441\u0441\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/bd8\/846\/6c3\/bd88466c3eda4b9da3d6d3920c161d82.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u0418 \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<pre><code class=\"kotlin\">private fun createAimybox (context: Context): Aimybox {                  val unitId = UUID.randomUUID().toString()          val textToSpeech = GooglePlatformTextToSpeech(context, Locale(&quot;Ru&quot;))         val speechToText = GooglePlatformSpeechToText(context, Locale(&quot;Ru&quot;))         val dialogApi = AimyboxDialogApi(                 &quot;YOUR KEY&quot;, unitId)                  return Aimybox(Config.create(speechToText, textToSpeech, dialogApi))     }<\/code><\/pre>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e YOUR_KEY \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0430\u0448 \u043a\u043e\u0434 \u043e\u0442 Aimybox Console.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 mainActivity.kt. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0424\u0440\u0435\u0439\u043c\u041b\u044d\u0439\u0430\u0443\u0442 \u0432 activity_main.xml, \u043f\u0440\u044f\u043c\u043e \u043f\u043e\u0434 \u0444\u0440\u0435\u0439\u043c\u043b\u044d\u0439\u0430\u0443\u0442\u043e\u043c \u0441 id bottom_navigation<\/p>\n<pre><code class=\"xml\">&lt;FrameLayout                                 android:id=&quot;@+id\/assistant_container&quot;                                 android:layout_width=&quot;match_parent&quot;                                 android:layout_height=&quot;match_parent&quot;\/&gt;<\/code><\/pre>\n<p>  \u0412 \u0441\u0430\u043c MainActivity \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u044d\u043a\u0441\u043f\u043b\u0438\u0446\u0438\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 OnCreate  <\/p>\n<pre><code class=\"kotlin\">        ActivityCompat.requestPermissions(this, arrayOf(android.Manifest.permission.RECORD_AUDIO), 1) <\/code><\/pre>\n<p>  \u0418 \u043f\u0440\u0438 \u0438\u0445 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u0444\u0440\u0435\u0439\u043c.<\/p>\n<pre><code class=\"kotlin\">    @SuppressLint(&quot;MissingPermission&quot;)     override fun onRequestPermissionsResult(             requestCode: Int,             permissions: Array&lt;out String&gt;,             grantResults: IntArray     ) {         val fragmentManager = supportFragmentManager         val fragmentTransaction = fragmentManager.beginTransaction()          fragmentTransaction.add(R.id.assistant_container, AimyboxAssistantFragment())         fragmentTransaction.commit()     }<\/code><\/pre>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 OnBackPressed \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0439\u0442\u0438 \u0438\u0437 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0445\u043e\u0434\u0430 \u0432 \u043d\u0435\u0433\u043e.<\/p>\n<pre><code class=\"kotlin\">        val assistantFragment = (supportFragmentManager.findFragmentById(R.id.assistant_container)                 as? AimyboxAssistantFragment)         if (assistantFragment?.onBackPressed() != true) {             return         }<\/code><\/pre>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0441\u0442\u0438\u043b\u0438 (styles.xml) \u0432 AppTheme <\/p>\n<pre><code class=\"xml\">&lt;item name=&quot;aimybox_assistantButtonTheme&quot;&gt;@style\/CustomAssistantButtonTheme&lt;\/item&gt;         &lt;item name=&quot;aimybox_recognitionTheme&quot;&gt;@style\/CustomRecognitionWidgetTheme&lt;\/item&gt;         &lt;item name=&quot;aimybox_responseTheme&quot;&gt;@style\/CustomResponseWidgetTheme&lt;\/item&gt;         &lt;item name=&quot;aimybox_imageReplyTheme&quot;&gt;@style\/CustomImageReplyWidgetTheme&lt;\/item&gt;         &lt;item name=&quot;aimybox_buttonReplyTheme&quot;&gt;@style\/CustomButtonReplyWidgetTheme&lt;\/item&gt;<\/code><\/pre>\n<p>  \u0418 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435:<\/p>\n<pre><code class=\"xml\"> &lt;style name=&quot;CustomAssistantButtonTheme&quot; parent=&quot;DefaultAssistantTheme.AssistantButton&quot;&gt;     &lt;\/style&gt;      &lt;style name=&quot;CustomRecognitionWidgetTheme&quot; parent=&quot;DefaultAssistantTheme.Widget.Recognition&quot;&gt;     &lt;\/style&gt;      &lt;style name=&quot;CustomResponseWidgetTheme&quot; parent=&quot;DefaultAssistantTheme.Widget.Response&quot;&gt;     &lt;\/style&gt;      &lt;style name=&quot;CustomButtonReplyWidgetTheme&quot; parent=&quot;DefaultAssistantTheme.Widget.ButtonReply&quot;&gt;     &lt;\/style&gt;      &lt;style name=&quot;CustomImageReplyWidgetTheme&quot; parent=&quot;DefaultAssistantTheme.Widget.ImageReply&quot;&gt;     &lt;\/style&gt;<\/code><\/pre>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0441\u044f \u043b\u0438 \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u0447\u0438\u043a. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u0423 \u043d\u0430\u0441 \u043f\u043e\u0441\u044b\u043f\u0430\u043b\u0430\u0441\u044c \u043a\u0443\u0447\u0430 \u043e\u0448\u0438\u0431\u043e\u043a \u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0435. \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0441\u0435, \u043a\u0430\u043a \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 IDE.<\/p>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/522\/70f\/ca6\/52270fca65357b4cd1ab47e537a885f5.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u041d\u043e \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u0447\u0438\u043a \u043d\u0430\u043f\u043e\u043b\u0437\u0430\u0435\u0442 \u043d\u0430 \u043d\u0438\u0436\u043d\u044e\u044e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0447\u0443\u0442\u044c \u043f\u043e\u0434\u043d\u0438\u043c\u0435\u043c. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0441\u0442\u0438\u043b\u0438 \u0432\u044b\u0448\u0435 \u0432 CustomAssistantButtonTheme:<\/p>\n<pre><code class=\"xml\">        &lt;item name=&quot;aimybox_buttonMarginBottom&quot;&gt;72dp&lt;\/item&gt; <\/code><\/pre>\n<p>  \u041b\u0443\u0447\u0448\u0435!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/27b\/43b\/670\/27b43b6707b544b16b55d88e6fa06288.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0442\u0443\u0434\u0430 \u0430\u0441\u0438\u0441\u0441\u0442\u0435\u043d\u0442\u0430 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043b\u0438 \u043e\u043d \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c Aimybox.<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0437\u0430\u0439\u0434\u0435\u043c \u0432 app.aimybox.com \u043f\u043e\u0434 \u043d\u0430\u0448\u0438\u043c \u0430\u043a\u043a\u043e\u043c \u0433\u0438\u0442\u0445\u0430\u0431\u0430, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u043f\u0430\u0440\u0443 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 (\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b DateTime \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430) \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0432 \u0430\u0441\u0438\u0441\u0441\u0442\u0435\u043d\u0442\u0435. \u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445, \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443, \u0431\u0435\u0440\u0435\u043c apiKey, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 createAimybox \u0432\u043c\u0435\u0441\u0442\u043e YOUR KEY.<\/p>\n<pre><code class=\"kotlin\">private fun createAimybox (context: Context): Aimybox {                  val unitId = UUID.randomUUID().toString()          val textToSpeech = GooglePlatformTextToSpeech(context)         val speechToText = GooglePlatformSpeechToText(context)         val dialogApi = AimyboxDialogApi(                 &quot;YOUR KEY&quot;, unitId)                  return Aimybox(Config.create(speechToText, textToSpeech, dialogApi))     }<\/code><\/pre>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/87a\/181\/dc6\/87a181dc687f149f726889048193d371.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u0422\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0434\u043f\u0438\u0441\u044c \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 strings.constants.xml.<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;resources&gt;     &lt;!--  Prefs --&gt;     &lt;string name=&quot;SP_userID&quot; translatable=&quot;false&quot;&gt;UserID&lt;\/string&gt;     &lt;string name=&quot;SP_APIToken&quot; translatable=&quot;false&quot;&gt;APIToken&lt;\/string&gt;     &lt;string name=&quot;base_url&quot; translatable=&quot;false&quot;&gt;https:\/\/habitica.com&lt;\/string&gt;     &lt;string name=&quot;initial_phrase&quot;&gt;&quot;\u041f\u0440\u0438\u0432\u0435\u0442! \u0427\u0435\u043c \u043c\u043e\u0433\u0443 \u043f\u043e\u043c\u043e\u0447\u044c?&lt;\/string&gt;<\/code><\/pre>\n<p>  \u0423\u0440\u0430!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/380\/06c\/7e2\/38006c7e2c42ce70b6063866a928f973.jpg\" alt=\"image\" width=\"420\"><\/p>\n<p>  \u0412\u043e\u0442 <a href=\"https:\/\/github.com\/Ozyrus\/habitica-android-aimybox\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a> \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u043a\u043e\u0434\u043e\u043c.<\/p>\n<p>  \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u00ab\u0425\u0430\u0431\u0438\u0442\u0438\u043a\u0438\u00bb \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u043e\u043b\u043e\u0441\u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u0433\u043e\u0434\u0443, \u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u2014 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0430\u043c \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0438 \u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u044f.<\/p><\/div>\n<p> \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\/ru\/company\/just_ai\/blog\/514290\/\"> https:\/\/habr.com\/ru\/company\/just_ai\/blog\/514290\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/just_ai\/blog\/514290\/\">\u0412\u0430\u043c \u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043b\u0438 \u0431\u044b \u043a\u0443\u0434\u0430 \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u0431\u0443\u0434\u044c \u0432 \u043d\u0438\u0445 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435? \u041d\u0435\u0442, \u0440\u0435\u0447\u044c \u043d\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u0435\u0441\u0442\u0438 \u0431\u0435\u0441\u0435\u0434\u044b \u0441 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u043c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c \u0432 \u0447\u0430\u0442\u0435 \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0438\u043b\u0438 form-filling \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430.<\/p>\n<p>  \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 Habitica (\u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0439 app \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u044b\u0447\u0435\u043a \u0438 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u0435\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Kotlin) \u0412\u0438\u0442\u0430\u043b\u044f \u0413\u043e\u0440\u0431\u0430\u0447\u0451\u0432, \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 Just AI, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0431\u0435\u0441\u0448\u043e\u0432\u043d\u043e \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043b\u044e\u0431\u043e\u0433\u043e \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\/c-\/fw\/7f\/c-fw7fcfbphj-8c9_nhuiwtne8g.gif\"><\/div>\n<p>  <\/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-309304","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309304","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=309304"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309304\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}