{"id":275543,"date":"2016-03-05T00:56:03","date_gmt":"2016-03-04T21:56:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=275543"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=275543","title":{"rendered":"\u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 Watchface \u0434\u043b\u044f Pebble \u0438 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432 cloud pebble"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ff2\/8b8\/cb9\/ff28b8cb9e9446ca83c431b5c9498c2f.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/042\/0f1\/62e\/0420f162e4db40a5959e0e80cf3efffa.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d04\/e24\/aa2\/d04e24aa2bc4418886818f95b83af1bd.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a07\/625\/a47\/a07625a475f74c47a9b0cc9c53903566.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/4b0\/4ff\/bdd\/4b04ffbdd4194e1ca85d0ef4a93f0cfc.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c68\/cde\/315\/c68cde3155d24e39972fc96f3330a2fa.gif\"\/><\/p>\n<p>  \u0421\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e Watchface: <b>TTD 2<\/b>, <b>DW 2 LCD<\/b>, <b>DW 2 Classic<\/b><\/p>\n<p>  \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0430\u043c\u044b\u043c\u0438 \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438 Watchface \u0434\u043b\u044f Pebble \u0431\u044b\u043b\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434 \u0441\u0435\u0431\u044f. \u041d\u0430\u0447\u0430\u043b \u0438\u0445 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 Canvas <a href=\"https:\/\/habrahabr.ru\/post\/248923\/\">habrahabr.ru\/post\/248923<\/a> (\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0433\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e Watchface \u0434\u043b\u044f Canvas), \u043d\u043e \u043f\u043e\u043d\u044f\u0432, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0439 \u043e\u0442 \u0447\u0435\u0433\u043e \u043b\u0438\u0431\u043e Watchface, \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0430\u043c. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044f \u0443\u0436\u0435 \u043d\u0430\u0438\u0433\u0440\u0430\u043b\u0441\u044f \u0441 \u0447\u0430\u0441\u0430\u043c\u0438 \u0438 \u043c\u043d\u0435 \u043d\u0430\u0434\u043e\u0435\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0438\u0448\u043a\u0438, \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 Watchface. \u0410 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u043d\u0430 \u0447\u0430\u0441\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: <a href=\"https:\/\/habrahabr.ru\/post\/256121\/\">habrahabr.ru\/post\/256121<\/a> (\u0441\u0442\u0430\u0442\u044c\u044f \u0441 \u043e\u0431\u0437\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0434\u043b\u044f Pebble)<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/94e\/792\/b22\/94e792b226e24dfab4ccba790daf1627.gif\" \/><\/div>\n<p>  \u042d\u0442\u043e Watchface <b>ProTime<\/b> \u0434\u043b\u044f Pebble \u043d\u0430 Canvas: <a href=\"http:\/\/4pda.ru\/forum\/index.php?showtopic=418195&amp;st=5520#entry37414038\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a><\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435, \u044f \u0434\u0435\u043b\u044e\u0441\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438 \u0441 \u0412\u0430\u043c\u0438 \u0438 \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u043f\u0438\u0448\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438, \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043d\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0448\u0440\u0438\u0444\u0442\u0430\u043c\u0438 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 \u0434\u043b\u044f Pebble \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u043e\u0431\u044b\u043c\u0438 \u043d\u0430\u0432\u044b\u043a\u0430\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e. \u0410 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u043c\u0443, \u0442\u0430\u043a \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 <b>Pebble App Store<\/b>: <a href=\"https:\/\/apps.getpebble.com\">apps.getpebble.com<\/a><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 <a href=\"https:\/\/cloudpebble.net\">cloudpebble.net<\/a> \u0438 \u0432\u0438\u0434\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u0441\u043e\u0437\u0434\u0430\u0442\u044c &quot;<b>CREATE<\/b>&quot;, \u0432\u0432\u043e\u0434\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u043c. <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/882\/599\/e91\/882599e9133140629aec168cdb5aff23.png\" \/><\/div>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441\u043b\u0435\u0432\u0430 \u0432\u0438\u0434\u0438\u043c &quot;<b>SOURCE FILES<\/b>&quot; \u0438 \u043f\u0440\u0430\u0432\u0435\u0435 \u043a\u043d\u043e\u043f\u043a\u0430 &quot;<b>ADD NEW<\/b>&quot;. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043d\u0435\u0435 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u0430\u043a \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0448\u0440\u0438\u0444\u0442 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0432 &quot;<b>RESOURCES<\/b>&quot; \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 &quot;<b>ADD NEW<\/b>&quot; \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\u043e \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0430\u043c\u0438. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0448\u0440\u0438\u0444\u0442\u044b, \u043d\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0438 \u0448\u0440\u0438\u0444\u0442\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u043c \u043a\u0430\u043a \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0430\u0445, \u0447\u0442\u043e\u0431\u044b \u0432 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u0445 \u0432 \u043a\u043e\u0434\u0435 \u0432\u0441\u0435 \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u0415\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0435 \u0432 \u043a\u043e\u0434\u0435, \u0438\u0437\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u0438 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432. \u0423 \u0448\u0440\u0438\u0444\u0442\u0430 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0442\u0430\u043a\u0436\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0446\u0438\u0444\u0440\u0430\u043c\u0438 \u0440\u0430\u0437\u043c\u0435\u0440.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cb6\/2d1\/2f5\/cb62d12f5e3b4d0f918aac9a21cd56dd.png\" \/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fac\/f16\/672\/facf1667200441179b04a7af2723db3a.png\" \/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1fa\/76f\/c91\/1fa76fc915b1479dbb6ff874d3df6c40.png\" \/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cfe\/bc1\/a29\/cfebc1a291a848f6b0c93c54c1556b36.png\" \/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ac3\/3aa\/b29\/ac33aab29fcc463eab0f0c7cd30c34b2.png\" \/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/933\/073\/b8f\/933073b8f000487e9f9e715d7e81bbeb.png\" \/><\/div>\n<p>  \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043a\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 &quot;<b>&#8212;<\/b>&quot; \u0434\u043e &quot;<b>&#8212;<\/b>&quot; \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u0445 \u0432 \u0440\u0435\u0441\u0443\u0440\u0441 &quot;<b>simplicity.c<\/b>&quot;:<br \/>  <br clear=\"all\"\/>  &#8212;<br clear=\"all\"\/>  <code>#include &quot;pebble.h&quot;<\/p>\n<p>  \/\/<b>\u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/b><br \/>  static Window *s_main_window;<br \/>  static TextLayer *s_date_layer, *s_time_layer;<br \/>  BitmapLayer *BT_Image;<br \/>  GBitmap *BT, *BT_NO;<br \/>  static TextLayer *s_battery_layer,*s_ampm_layer;<\/p>\n<p>  \/\/<b>\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0439\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u0447\u0430\u0441\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043a \u0437\u0430\u0440\u044f\u0434\u043a\u0435<\/b><br \/>  static void handle_battery(BatteryChargeState charge_state) {<br \/>   static char battery_text[] = &quot;100&quot;;<\/p>\n<p>  if (charge_state.is_plugged) {<br \/>   snprintf(battery_text, sizeof(battery_text), &quot;%d&quot;, charge_state.charge_percent);<br \/>   } else {<br \/>   snprintf(battery_text, sizeof(battery_text), &quot; &quot;);<br \/>   }<br \/>   text_layer_set_text(s_battery_layer, battery_text);<br \/>  }<\/p>\n<p>  \/\/<b>\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0433\u043e Bluetooth \u0441 \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u043d\u0443\u0436\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/b><br \/>  static void handle_bluetooth(bool connected) {<br \/>   bitmap_layer_set_bitmap(BT_Image, connected ? BT : BT_NO);<br \/>  }<\/p>\n<p>  \/\/<b>\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0434\u0430\u0442\u044b<\/b><br \/>  static void handle_minute_tick(struct tm *tick_time, TimeUnits units_changed) {<br \/>   static char s_time_text[] = &quot;00:00&quot;;<br \/>   static char s_date_text[] = &quot;Xxx 00&quot;;<\/p>\n<p>  \/\/<b>\u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0447\u0430\u0441\u043e\u0432 \u0432 12-\u0438 \u0447\u0430\u0441\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c A- \u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f \u0438 P- \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0434\u043d\u044f<\/b><br \/>   int ampm = 0;<br \/>   if (!clock_is_24h_style()) {<br \/>   if ( (tick_time-&gt;tm_hour - 12) &gt;= 0 ) {<br \/>   ampm = 1;<br \/>   } else {<br \/>   ampm = 0;<br \/>   };<br \/>   if (tick_time-&gt;tm_hour == 0) { tick_time-&gt;tm_hour = 12; };<br \/>   if (tick_time-&gt;tm_hour &gt; 12) { tick_time-&gt;tm_hour -= 12;};<br \/>   }<br \/>   if (!clock_is_24h_style()) {<br \/>   if(ampm==1) {<br \/>   text_layer_set_text(s_ampm_layer, &quot;P&quot;);<br \/>   }<br \/>   else { <br \/>   text_layer_set_text(s_ampm_layer, &quot;A&quot;);<br \/>   }<br \/>   };<\/p>\n<p>  \/\/<b>\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0434\u0430\u0442\u0443<\/b><br \/>   strftime(s_date_text, sizeof(s_date_text), &quot;%a %e&quot;, tick_time);<br \/>   text_layer_set_text(s_date_layer, s_date_text);<\/p>\n<p>  \/\/<b>\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0432\u0440\u0435\u043c\u044f<\/b><br \/>   char *time_format = clock_is_24h_style() ? &quot;%R&quot; : &quot;%I:%M&quot;;<br \/>   strftime(s_time_text, sizeof(s_time_text), time_format, tick_time);<br \/>   text_layer_set_text(s_time_layer, s_time_text);<br \/>  }<\/p>\n<p>  \/\/<b>\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u043b\u043e\u044f \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f<\/b><br \/>  static void main_window_load(Window *window) {<br \/>   Layer *window_layer = window_get_root_layer(window);<\/p>\n<p>  \/\/\u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0448\u0440\u0438\u0444\u0442\u044b \u0438\u0437 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<br \/>   GFont custom_font_time = fonts_load_custom_font(resource_get_handle(RESOURCE_ID_FONT_DIGI_120));<br \/>   GFont custom_font_date = fonts_load_custom_font(resource_get_handle(RESOURCE_ID_FONT_DATE_20));<br \/>   GFont custom_font_ampm = fonts_load_custom_font(resource_get_handle(RESOURCE_ID_FONT_AMPM_20));<br \/>   GRect bounds = layer_get_bounds(window_layer);<\/p>\n<p>  \/\/<b>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u043e\u0439 \u0431\u0430\u0442\u0430\u0440\u0435\u0439\u043a\u0443 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/b><br \/>   s_battery_layer = text_layer_create(GRect(bounds.origin.x+1, 0, bounds.size.w, bounds.size.h));<br \/>   text_layer_set_text_alignment(s_battery_layer, GTextAlignmentCenter);<br \/>   text_layer_set_text_color(s_battery_layer, GColorWhite);<br \/>   text_layer_set_background_color(s_battery_layer, GColorClear);<br \/>   text_layer_set_font(s_battery_layer, fonts_get_system_font(FONT_KEY_GOTHIC_28));<br \/>   text_layer_set_text(s_battery_layer, &quot; &quot;);<\/p>\n<p>  \/\/<b>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u043e\u0439 Bluetooth \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/b><br \/>  \/\/<b>PBL_IF_ROUND_ELSE(\u0415\u0441\u043b\u0438 \u0414\u0410, \u0415\u0441\u043b\u0438 \u041d\u0415\u0422) - \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0430\u044f \u043a\u0440\u0443\u0433\u043b\u044b\u0439 \u043b\u0438 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0430\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435.<\/b><br \/>   BT_Image = bitmap_layer_create(GRect(PBL_IF_ROUND_ELSE(80,62), PBL_IF_ROUND_ELSE(78,73), 20, 20));<br \/>   bitmap_layer_set_alignment(BT_Image, GAlignCenter);<br \/>   BT = gbitmap_create_with_resource(RESOURCE_ID_IMAGE_BT_20);<br \/>   BT_NO = gbitmap_create_with_resource(RESOURCE_ID_IMAGE_BT_NO_20);<br \/>   handle_bluetooth(connection_service_peek_pebble_app_connection());<\/p>\n<p>  \/\/<b>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b A \u0438\u043b\u0438 P, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d 12-\u0438 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 <\/b><br \/>   s_ampm_layer = text_layer_create(GRect(PBL_IF_ROUND_ELSE(1,1), PBL_IF_ROUND_ELSE(110,105), bounds.size.w, bounds.size.h));<br \/>   text_layer_set_text_alignment(s_ampm_layer, GTextAlignmentCenter);<br \/>   text_layer_set_text_color(s_ampm_layer, GColorWhite);<br \/>   text_layer_set_background_color(s_ampm_layer, GColorClear);<br \/>   text_layer_set_font(s_ampm_layer, custom_font_ampm);<br \/>   layer_add_child(window_layer, text_layer_get_layer(s_ampm_layer));<\/p>\n<p>  \/\/<b>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u043e\u0439 \u0432\u0440\u0435\u043c\u044f \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 <\/b><br \/>   s_time_layer = text_layer_create(GRect(bounds.origin.x, PBL_IF_ROUND_ELSE(10,5), bounds.size.w, bounds.size.h));<br \/>   text_layer_set_text_alignment(s_time_layer, GTextAlignmentCenter);<br \/>   text_layer_set_text_color(s_time_layer, GColorWhite);<br \/>   text_layer_set_background_color(s_time_layer, GColorClear);<br \/>   text_layer_set_font(s_time_layer, custom_font_time);<\/p>\n<p>  \/\/<b>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u043e\u0439 \u0434\u0430\u0442\u0443 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/b><br \/>   s_date_layer = text_layer_create(GRect(bounds.origin.x, 144, bounds.size.w, bounds.size.h));<br \/>   text_layer_set_text_alignment(s_date_layer, GTextAlignmentCenter);<br \/>   text_layer_set_text_color(s_date_layer, GColorWhite);<br \/>   text_layer_set_background_color(s_date_layer, GColorClear);<br \/>   text_layer_set_font(s_date_layer, custom_font_date);<\/p>\n<p>  \/\/<b>\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441<\/b><br \/>   battery_state_service_subscribe(handle_battery);<br \/>   connection_service_subscribe((ConnectionHandlers) {<br \/>   .pebble_app_connection_handler = handle_bluetooth<br \/>   });<\/p>\n<p>  \/\/<b>\u0432\u044b\u0432\u043e\u0434\u0438\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0432\u0441\u0435 \u0441\u043b\u043e\u0438<\/b><br \/>   layer_add_child(window_layer, text_layer_get_layer(s_battery_layer));<br \/>   layer_add_child(window_layer, bitmap_layer_get_layer(BT_Image));<br \/>   layer_add_child(window_layer, text_layer_get_layer(s_time_layer)); <br \/>   layer_add_child(window_layer, text_layer_get_layer(s_date_layer));<br \/>  }<\/p>\n<p>  \/\/<b>\u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0430\u0435\u043c \u0432\u0441\u0435 \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b\u0438<\/b><br \/>  static void main_window_unload(Window *window) {<br \/>   tick_timer_service_unsubscribe();<br \/>   battery_state_service_unsubscribe();<br \/>   connection_service_unsubscribe();<br \/>   text_layer_destroy(s_date_layer);<br \/>   text_layer_destroy(s_time_layer);<br \/>   text_layer_destroy(s_ampm_layer);<br \/>   text_layer_destroy(s_battery_layer);<br \/>   bitmap_layer_destroy(BT_Image);<br \/>  }<\/p>\n<p>  \/\/<b>\u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0438\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c<\/b><br \/>  static void init() {<br \/>   s_main_window = window_create();<br \/>   window_set_background_color(s_main_window, GColorBlack);<br \/>   window_set_window_handlers(s_main_window, (WindowHandlers) {<br \/>   .load = main_window_load,<br \/>   .unload = main_window_unload,<br \/>   });<br \/>   window_stack_push(s_main_window, true);<\/p>\n<p>   setlocale(LC_ALL, &quot;&quot;);<\/p>\n<p>   tick_timer_service_subscribe(MINUTE_UNIT, handle_minute_tick);<\/p>\n<p>   time_t now = time(NULL);<br \/>   struct tm *t = localtime(&now);<br \/>   handle_minute_tick(t, MINUTE_UNIT);<br \/>  }<\/p>\n<p>  static void deinit() {<br \/>   window_destroy(s_main_window);<br \/>   tick_timer_service_unsubscribe();<br \/>  }<\/p>\n<p>  int main() {<br \/>   init();<br \/>   app_event_loop();<br \/>   deinit();<br \/>  }<br \/>  <\/code><br \/>  <br clear=\"all\"\/>  &#8212;<br clear=\"all\"\/>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1c3\/aed\/dd3\/1c3aeddd32ad4dd09578eb5fd2602b30.png\" \/><\/div>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0441\u0442\u0440\u0435\u043b\u043a\u0438<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/b88\/864\/5fb\/b888645fbbee4d2a89cee5371e8ec496.png\" \/><\/div>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0440\u0430\u0437\u0434\u0435\u043b &quot;<b>COMPILATION<\/b>&quot; \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u043d\u0430\u0448 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &quot;<b>GET PBW<\/b>&quot;. <\/p>\n<p>  \u042d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430 \u0447\u0430\u0441\u044b, \u043b\u0438\u0431\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 <a href=\"https:\/\/dev-portal.getpebble.com\/developer\">dev-portal.getpebble.com\/developer<\/a> <\/p>\n<p>  \u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0443\u0436\u043d\u043e \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0443 &quot;<b>Add a Watchface<\/b>&quot;. \u0412\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0441\u043e\u0437\u0434\u0430\u0442\u044c. \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0443 &quot;<b>Asset Collections management page<\/b>&quot; \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u0447\u0430\u0441\u043e\u0432. \u041f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0447\u0430\u0441\u043e\u0432 \u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 &quot;<b>Add a release<\/b>&quot; \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b. \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c &quot;<b>Publish<\/b>&quot;. <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/508\/3b6\/aa2\/5083b6aa2bd142b496fd5dfb1eb2eeca.png\" \/><\/div>\n<p>  \u0423 \u0412\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u043d\u0438\u0437\u0443 \u043e\u0442 \u0441\u043b\u043e\u0432&quot;<b>Public Web Link<\/b>&quot;.<\/p>\n<p>  <b>\u0421\u0441\u044b\u043b\u043a\u0430 \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 \u043c\u043e\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 Pebble:<\/b> <a href=\"https:\/\/apps.getpebble.com\/en_US\/developer\/54a4b8be31707613e60001aa\/1\">apps.getpebble.com\/en_US\/developer\/54a4b8be31707613e60001aa\/1<\/a> (\u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0439\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u043f\u043e \u043d\u0435\u043c\u0443 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432 Pebble)               <\/p>\n<div class=\"clear\"><\/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:\/\/habrahabr.ru\/post\/278627\/\"> https:\/\/habrahabr.ru\/post\/278627\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ff2\/8b8\/cb9\/ff28b8cb9e9446ca83c431b5c9498c2f.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/042\/0f1\/62e\/0420f162e4db40a5959e0e80cf3efffa.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d04\/e24\/aa2\/d04e24aa2bc4418886818f95b83af1bd.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a07\/625\/a47\/a07625a475f74c47a9b0cc9c53903566.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/4b0\/4ff\/bdd\/4b04ffbdd4194e1ca85d0ef4a93f0cfc.gif\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c68\/cde\/315\/c68cde3155d24e39972fc96f3330a2fa.gif\"\/><\/p>\n<p>  \u0421\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e Watchface: <b>TTD 2<\/b>, <b>DW 2 LCD<\/b>, <b>DW 2 Classic<\/b><\/p>\n<p>  \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0430\u043c\u044b\u043c\u0438 \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438 Watchface \u0434\u043b\u044f Pebble \u0431\u044b\u043b\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434 \u0441\u0435\u0431\u044f. \u041d\u0430\u0447\u0430\u043b \u0438\u0445 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 Canvas <a href=\"https:\/\/habrahabr.ru\/post\/248923\/\">habrahabr.ru\/post\/248923<\/a> (\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0433\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e Watchface \u0434\u043b\u044f Canvas), \u043d\u043e \u043f\u043e\u043d\u044f\u0432, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0439 \u043e\u0442 \u0447\u0435\u0433\u043e \u043b\u0438\u0431\u043e Watchface, \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0430\u043c. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044f \u0443\u0436\u0435 \u043d\u0430\u0438\u0433\u0440\u0430\u043b\u0441\u044f \u0441 \u0447\u0430\u0441\u0430\u043c\u0438 \u0438 \u043c\u043d\u0435 \u043d\u0430\u0434\u043e\u0435\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0438\u0448\u043a\u0438, \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 Watchface. \u0410 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u043d\u0430 \u0447\u0430\u0441\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: <a href=\"https:\/\/habrahabr.ru\/post\/256121\/\">habrahabr.ru\/post\/256121<\/a> (\u0441\u0442\u0430\u0442\u044c\u044f \u0441 \u043e\u0431\u0437\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0434\u043b\u044f Pebble)<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/94e\/792\/b22\/94e792b226e24dfab4ccba790daf1627.gif\" \/><\/div>\n<p>  \u042d\u0442\u043e Watchface <b>ProTime<\/b> \u0434\u043b\u044f Pebble \u043d\u0430 Canvas: <a href=\"http:\/\/4pda.ru\/forum\/index.php?showtopic=418195&amp;st=5520#entry37414038\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a><\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435, \u044f \u0434\u0435\u043b\u044e\u0441\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438 \u0441 \u0412\u0430\u043c\u0438 \u0438 \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u043f\u0438\u0448\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438, \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043d\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0448\u0440\u0438\u0444\u0442\u0430\u043c\u0438 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 \u0434\u043b\u044f Pebble \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u043e\u0431\u044b\u043c\u0438 \u043d\u0430\u0432\u044b\u043a\u0430\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e. \u0410 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u043c\u0443, \u0442\u0430\u043a \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 <b>Pebble App Store<\/b>: <a href=\"https:\/\/apps.getpebble.com\">apps.getpebble.com<\/a>  <\/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-275543","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275543","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=275543"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275543\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}