{"id":267602,"date":"2015-11-06T08:45:03","date_gmt":"2015-11-06T05:45:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=267602"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=267602","title":{"rendered":"Marshmallow. \u042d\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 SDK 23 \u0432 \u043d\u0430\u0448\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3e6\/297\/d6f\/3e6297d6faa04fef900842be1f16759b.jpg\" align=\"right\" width=\"310\"\/><br \/>  \u041f\u0440\u0438\u0432\u0435\u0442 \u0432\u0441\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043f\u043e\u0434 Android! <\/p>\n<p>  \u041c\u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u043b\u043e \u0441\u0442\u0430\u0442\u044c <a href=\"https:\/\/developers.google.com\/experts\/people\/denis-neklyudov.html\">Google Developer Expert Android \u0432 \u0420\u043e\u0441\u0441\u0438\u0438<\/a>, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u0434\u0432\u043e\u0439\u043d\u0435 \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0430\u044e, \u0447\u0442\u043e \u043d\u0435 \u0432\u0441\u0435 \u0438\u0437 \u0432\u0430\u0441 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043a \u0440\u0435\u043b\u0438\u0437\u0443 \u0437\u0430\u0440\u0430\u043d\u0435\u0435. \u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u0441 \u0432\u0430\u043c\u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u0437\u0430\u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c \u043d\u0430 \u0443\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u0430\u0440\u043e\u0445\u043e\u0434 \u0441 \u0437\u0435\u0444\u0438\u0440\u043a\u0430\u043c\u0438.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c<a href=\"http:\/\/www.youtube.com\/watch?v=oa4ZrBFexcc\"> \u043c\u043e\u0439 \u0434\u043e\u043a\u043b\u0430\u0434 \u043d\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u043c DroidCon<\/a>. <\/p>\n<p>  \u041d\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0445\u0430\u0431\u0440 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c youtube \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u0422\u0430\u043c \u043c\u044b \u043f\u0440\u043e\u0439\u0434\u0435\u043c\u0441\u044f \u043f\u043e \u0447\u0435\u043a\u043b\u0438\u0441\u0442\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 sdk 23. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h1>\u0412\u0430\u0436\u043d\u043e\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/h1>\n<p>  \u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0441 <i>targetSdk = 23<\/i> \u0438 \u0432\u044b\u0448\u0435! \u041a\u0430\u043a \u0431\u0443\u0434\u0443\u0442 \u0432\u0435\u0441\u0442\u0438 \u0441\u0435\u0431\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0440\u044b\u043c\u0438 sdk \u043d\u0430 \u0437\u0435\u0444\u0438\u0440\u043a\u0435 \u0433\u043e\u0442\u043e\u0432 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. <\/p>\n<h1>Doze Mode, App Standby \u0438 Runtime Permissions<\/h1>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0434\u043b\u0438\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0441\u043c\u043e\u0433\u043b\u0430 \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u0438 \u0442\u0440\u0438 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 Android Marshmallow. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, <a href=\"http:\/\/habrahabr.ru\/post\/269491\/\">\u043f\u0440\u043e\u0447\u0442\u0438\u0442\u0435 \u043e \u043d\u0438\u0445 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a>.<\/p>\n<h1>Autobackup<\/h1>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c Android \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c, \u043f\u043e\u043a\u0430 \u0434\u0435\u0432\u0430\u0439\u0441 \u043d\u0430 \u0437\u0430\u0440\u044f\u0434\u043a\u0435, \u0431\u0443\u0434\u0443\u0442 \u0441\u043b\u0438\u0432\u0430\u0442\u044c \u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 Drive \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0412\u0435\u0440\u043d\u0435\u0435, \u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043c. <\/p>\n<p>  \u0417\u0430\u0447\u0435\u043c? <br \/>  \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0438\u0437 Google Play \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u043e \u0438 \u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. <br \/>  \u0427\u0435\u043c \u043f\u043b\u043e\u0445\u043e \u0434\u043b\u044f \u043d\u0430\u0441?<br \/>  \u0412 \u043e\u0431\u043b\u0430\u043a\u043e \u0438 \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u0434\u0435\u0432\u0430\u0439\u0441\u044b \u0443\u043b\u0435\u0442\u0430\u044e\u0442 \u0438\u0437 shared preferences \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432 \u0438 \u043a\u043b\u044e\u0447\u0438 GCM (\u043f\u0443\u0448\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c). \u041d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c! <\/p>\n<p>  \u041f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u0431\u044d\u043a\u0430\u043f\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u043f\u0430\u043f\u043a\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0432\u0441\u0435 SharedPreferences. <br \/>  \u041d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c:<br \/>   \u2014 \u043f\u0443\u0442\u0438 \u043d\u0430 SD \u043a\u0430\u0440\u0442\u0435, \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u0432 <i>android\/data\/&#8230;<\/i><br \/>   \u2014 <i>getCacheDir() <\/i><br \/>   \u2014 <i>getCodeCacheDir() <\/i><br \/>   \u2014 <i>getNoBackupFilesDir()<\/i><br \/>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u0430\u043f\u043e\u0447\u043a\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0430. <\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442 \u0431\u0435\u043a\u0430\u043f\u0430 \u043f\u0438\u0448\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e xml, \u0433\u0434\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0436\u0435\u043b\u0430\u0435\u043c \u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 \u0431\u0435\u043a\u0430\u043f:  <\/p>\n<pre><code class=\"xml\">&lt;android:fullBackupContent=&quot;@xml\/mybackupscheme&quot;&gt;\u000b&lt;full-backup-content&gt;    &lt;exclude domain=   [&quot;file&quot; | &quot;database&quot; | &quot;sharedpref&quot;| &quot;external&quot; | &quot;root&quot;] path=&quot;string\u201d&gt;  &lt;\/full-backup-content&gt; <\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u043b\u0438\u0448\u044c \u0442\u0435 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u043c \u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u043e\u0431\u043b\u0430\u043a\u043e:<\/p>\n<pre><code class=\"xml\">&lt;android:fullBackupContent=&quot;@xml\/mybackupscheme&quot;&gt;\u000b&lt;full-backup-content&gt;    &lt;include domain=   [&quot;file&quot; | &quot;database&quot; | &quot;sharedpref&quot;| &quot;external&quot; | &quot;root&quot;] path=&quot;string\u201d&gt;  &lt;\/full-backup-content&gt; <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0431\u0435\u043a\u0430\u043f \u0442\u0430\u043a\u0438 \u0443\u0448\u043b\u0438 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0434\u043b\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0435, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u044c:<br \/>  \u0412 \u043a\u043b\u0430\u0441\u0441\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0435 <i>Application<\/i> \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <i>onRestoreFinished()<\/i> \u0438 \u0432 \u043d\u0435\u043c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<p>  <b>! \u0423\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0437 \u0431\u0435\u043a\u0430\u043f\u0430 \u043a\u043b\u044e\u0447\u0438 Google Cloud Messages !<\/b><\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/developer.android.com\/intl\/ru\/training\/backup\/autosyncapi.html\">developer.android.com\/intl\/ru\/training\/backup\/autosyncapi.html<\/a><br \/>  \u041f\u0440\u0438\u043c\u0435\u0440: <a href=\"http:\/\/developer.android.com\/intl\/ru\/samples\/AutoBackupForApps\/index.html\">developer.android.com\/intl\/ru\/samples\/AutoBackupForApps\/index.html<\/a><\/p>\n<h1>Deprecated<\/h1>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 <i>Apache Http client<\/i> \u0438 \u043d\u0430\u043f\u0440\u043e\u0447\u044c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"http:\/\/square.github.io\/okhttp\/\">OkHttp<\/a>, \u0442\u043e \u0432\u0430\u043c \u0441\u0440\u043e\u0447\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 <i>build.gradle<\/i>:  <\/p>\n<pre><code class=\"xml\">android {\u000b useLibrary 'org.apache.http.legacy' \u000b} <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u0437 sdk \u0432\u044b\u043f\u0438\u043b\u0438\u043b\u0438 OpenSSL: libcrypto.so \u0438 libssl.so \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 BoringSSL.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0434\u0440\u0443\u0433 \u043d\u0435 \u0437\u043d\u0430\u043b\u0438 \u0434\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0433\u043e \u0434\u043d\u044f \u043e <i>Notification.Builder<\/i>, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0434\u043b\u044f \u0441\u043e\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0439 <i>notification.setLatestEventInfo()<\/i>, \u0445\u0432\u0430\u0442\u0438\u0442, \u043e\u043d \u0443\u0434\u0430\u043b\u0435\u043d. \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0445\u043e\u0442\u044f \u0431\u044b <a href=\"http:\/\/habrahabr.ru\/post\/140928\/\">\u043c\u043e\u044e \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u0430 \u043b\u0443\u0447\u0448\u0435 <a href=\"http:\/\/developer.android.com\/intl\/ru\/guide\/topics\/ui\/notifiers\/notifications.html\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u043e\u043a\u0438<\/a>, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<\/p>\n<h1>Adoptable storage<\/h1>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c sd-\u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443, \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0432 \u0435\u0435 \u0432 \u043f\u043e\u0447\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435. \u0418 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0443 \u043d\u0435\u0433\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0435. \u0427\u0435\u043c \u044d\u0442\u043e \u0433\u0440\u043e\u0437\u0438\u0442 \u0434\u043b\u044f \u043d\u0430\u0441? <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u0435\u0439 (<i>getFilesDir()<\/i>, <i>getCacheDir()<\/i> \u0438 \u0442.\u0434.), \u0430 \u0445\u0430\u0440\u0434\u043a\u043e\u0434\u0438\u043c \u043f\u0443\u0442\u0438 \u043a \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u0442\u043e\u0447\u043a\u0430 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043c\u0435\u043d\u0438\u0442\u0441\u044f, \u0438 \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0441\u0442\u0430\u0440\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043f\u0443\u0442\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c\u0438.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0.html#adoptable-storage\">developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0.html#adoptable-storage<\/a><\/p>\n<h1>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435, \u043d\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/h1>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u0430\u043a \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432 \u043e\u043a\u0440\u0443\u0433\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 <i>WifiManager.getScanResults()<\/i> <i>BluetoothLeScanner.startScan()<\/i> \u0438 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u043c\u0438\u0448\u0435\u043d\u0430\u0445 <i>ACCESS_FINE_LOCATION<\/i> \u0438\u043b\u0438 <i>ACCESS_COARSE_LOCATION<\/i>. \u0410 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434\u044b <i>WifiInfo.getMacAddress()<\/i> \u0438 <i>BluetoothAdapter.getAddress()<\/i> \u0432\u0435\u0440\u043d\u0443\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0443\u0441\u0442\u044b\u0448\u043a\u0443 <i>02:00:00:00:00:00<\/i>. \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0432 \u0446\u0435\u043b\u044f\u0445 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u044c\u044e\u0440\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0416\u0430\u043b\u044c \u043d\u0435 \u0432\u0441\u0435 \u043e\u0431\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043d\u0430 marshmallow, \u0434\u0430 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432\u0440\u044f\u0434 \u043b\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442 \u044d\u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435. <\/p>\n<p>  \u0418\u0437 Android Keystore provider \u0432\u044b\u043a\u0438\u043d\u0443\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 DSA-\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f <i>WifiConfiguration<\/i> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0430\u0448\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0441\u0430\u043c\u0438 \u0438\u0445 \u0441\u043e\u0437\u0434\u0430\u043b\u0438. <\/p>\n<p>  \u0423 \u043a\u0430\u043c\u0435\u0440\u044b \u0445\u043e\u0440\u043e\u0448\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0443. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0448\u043b\u043e \u0432 \u0444\u043e\u043d, \u0430 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u0432\u044b\u0448\u043b\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u043b\u0430\u043d, \u0442\u043e \u0435\u043c\u0443 \u043e\u0442\u0434\u0430\u0441\u0442\u0441\u044f \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442, \u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u043b\u0438\u0448\u0438\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u0410 \u0435\u0449\u0435, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0440\u0430\u0437\u043d\u044b\u043c \u043a\u0430\u043c\u0435\u0440\u0430\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. <\/p>\n<h1>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 ART<\/h1>\n<p>  <\/p>\n<ul>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u0430\u0432 \u043d\u0430 <i>newInstance()<\/i>.<\/li>\n<li>\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043b\u0438\u043d\u043a\u0435\u0440 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 <i>soname<\/i> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u0435\u0435 \u043f\u0443\u0442\u0435\u043c, \u0430 \u0435\u0449\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u043f\u043e <i>soname<\/i>.<\/li>\n<li>\u041f\u043e\u0447\u0438\u043d\u0438\u043b\u0438 \u0444\u043b\u0430\u0433 <i>dlopen(3) RTLD_LOCAL<\/i>.<\/li>\n<\/ul>\n<h1>\u041d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 Android <\/h1>\n<p>  \u0421 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043f\u043e\u043a\u043e\u043d\u0447\u0435\u043d\u043e. \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0444\u0438\u0447\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 SDK.<\/p>\n<h2>App Linking<\/h2>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/413\/45f\/f35\/41345ff355f44ec2b46e1293e4a8b064.png\" height=\"350\" \/><\/div>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442 \u0432 \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u044b url-\u0441\u0445\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0431\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 url \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0438\u0448\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c url \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0441\u043b\u0438 \u0432\u044b \u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0431\u0430\u043d\u043a\u0438\u043d\u0433, \u0442\u043e \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u0430\u043d\u043a\u0430 \u043c\u043e\u0433\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0443. <\/p>\n<p>  \u0432 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430 \u0444\u0438\u043b\u044c\u0442\u0440:   <\/p>\n<pre><code class=\"xml\">&lt;intent-filter android:autoVerify=&quot;true&quot;&gt;         &lt;action android:name=&quot;android.intent.action.VIEW&quot; \/&gt;         &lt;category \tandroid:name=&quot;android.intent.category.DEFAULT&quot; \/&gt;         &lt;category  \tandroid:name=&quot;android.intent.category.BROWSABLE&quot; \/&gt;         &lt;data android:scheme=&quot;http&quot; \tandroid:host=&quot;www.android.com&quot; \/&gt;         &lt;data android:scheme=&quot;https&quot; \tandroid:host=&quot;www.android.com&quot; \/&gt;     &lt;\/intent-filter&gt;\u000b <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c JSON \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0430\u0439\u0442 (https:\/\/www.domain1.com\/.well-known\/assetlinks.json), \u0432\u0441\u0442\u0430\u0432\u0438\u0432 sha256 \u0438\u0437 \u043a\u0435\u0439\u0441\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.  <\/p>\n<pre><code>[{     &quot;relation&quot;: [&quot;delegate_permission\/common.handle_all_urls&quot;],     &quot;target&quot;: {       &quot;namespace&quot;: &quot;android_app&quot;,       &quot;package_name&quot;: &quot;com.example&quot;,       &quot;sha256_cert_fingerprints&quot;:      [&quot;14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5&quot;]     } }] <\/code><\/pre>\n<p>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u043e \u0447\u0435\u043c \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c: \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u043e \u0432\u044b\u0441\u043a\u043e\u0447\u0438\u0442 \u0434\u0438\u0430\u043b\u043e\u0433 \u00ab\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00bb \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430 \u0441\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044c\u0441\u044f. <\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"http:\/\/developer.android.com\/intl\/ru\/training\/app-links\/index.html\">developer.android.com\/intl\/ru\/training\/app-links\/index.html<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/5c8\/e93\/8a6\/5c8e938a6d204c10bfb1cd30292ee4e1.png\" width=\"200\" align=\"left\"\/>  <\/p>\n<h2>Fingerprint API<\/h2>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u0432 Android \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0435\u043d\u0441\u043e\u0440\u043e\u0432 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432 \u043f\u0430\u043b\u044c\u0446\u0435\u0432. \u0422\u0435\u043f\u0435\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <i>android.hardware.fingerprint.FingerprintManager<\/i> \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0441\u0435\u043d\u0441\u043e\u0440\u0430 <i>isHardwareDetected()<\/i>, \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 <i>USE_FINGERPRINT<\/i>, \u0438 \u0435\u0441\u043b\u0438 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0435\u0441\u0442\u044c \u043e\u0442\u043a\u0430\u0442\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043b\u044c\u0447\u0438\u043a\u0438 <i>hasEnrolledFingerprints()<\/i>, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0443 <i>authentificate()<\/i><\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/www.youtube.com\/watch?t=1&#038;v=VOn7VrTRlA4\">www.youtube.com\/watch?t=1&#038;v=VOn7VrTRlA4<\/a><br \/>  \u041f\u0440\u0438\u043c\u0435\u0440: <a href=\"http:\/\/developer.android.com\/intl\/ru\/samples\/FingerprintDialog\/index.html\">developer.android.com\/intl\/ru\/samples\/FingerprintDialog\/index.html<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/efd\/7c5\/095\/efd7c50958bb4d9b89f9aaad2bfc43bb.png\" width=\"200\" align=\"left\"\/>  <\/p>\n<h2>Confirm Credentials<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0440\u0443\u043a\u0430\u0445 \u0443 \u0435\u0433\u043e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430, \u043f\u043e\u043a\u0430\u0437\u0430\u0432 \u044d\u043a\u0440\u0430\u043d \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u0435\u0440\u0435\u0434 \u0432\u0430\u0436\u043d\u044b\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0430\u043f\u043a\u0443 &quot;\/\u043e\u0442\u0434\u044b\u0445 \u0432 \u0410\u0434\u043b\u0435\u0440\u0435 2007\/&quot;<br \/>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/github.com\/googlesamples\/androidConfirmCredential\/blob\/master\/\">github.com\/googlesamples\/androidConfirmCredential\/blob\/master<\/a><br \/>  Application\/src\/main\/java\/com\/example\/android\/confirmcredential\/MainActivity.java<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440: <a href=\"http:\/\/developer.android.com\/intl\/ru\/samples\/ConfirmCredential\/index.html\">developer.android.com\/intl\/ru\/samples\/ConfirmCredential\/index.html<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cae\/2cd\/fcf\/cae2cdfcf86141b5aadd709d13a38a33.gif\" width=\"200\" align=\"left\"\/>  <\/p>\n<h2>Text Selection<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u043a\u0430\u0440\u0435\u0442\u043a\u043e\u0439, \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043c\u044b \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u043d\u044e, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u0432 <i>menu.xml<\/i>, \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <i>startActionMode(Callback, ActionMode.TYPE_FLOATING)<\/i>.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"http:\/\/developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0-changes.html#behavior-text-selection\">developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0-changes.html#behavior-text-selection<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c12\/720\/963\/c127209637aa4b74a6060c4cc0e9a02b.png\" width=\"200\" align=\"left\"\/>  <\/p>\n<h2>Direct share<\/h2>\n<p>  \u0412\u0430\u0436\u043d\u044b\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0432 Marshmallow \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0434\u043e \u0432\u043e\u0441\u044c\u043c\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433 \u0448\u0430\u0440\u0438\u043d\u0433\u0430: <\/p>\n<p>  \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043d\u0435 \u0437\u0430\u0445\u043b\u0430\u043c\u0438\u0442\u044c \u0434\u0438\u0430\u043b\u043e\u0433 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u0448\u0430\u0440\u0438\u043d\u0433\u0430. \u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0435 \u0437\u043b\u043e\u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"http:\/\/developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0.html#direct-share\">developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0.html#direct-share<\/a><br \/>  \u041f\u0440\u0438\u043c\u0435\u0440: <a href=\"http:\/\/developer.android.com\/intl\/ru\/samples\/DirectShare\/index.html\">developer.android.com\/intl\/ru\/samples\/DirectShare\/index.html<\/a><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3b8\/885\/4ed\/3b88854ed80743dea7110159b61ad243.gif\" width=\"200\" align=\"left\"\/>  <\/p>\n<h2>Voice Interaction<\/h2>\n<p>  \u0412\u0430\u0436\u043d\u0430\u044f, \u043d\u043e \u043d\u0435 \u0442\u0430\u043a \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 <a href=\"https:\/\/www.android.com\/versions\/marshmallow-6-0\/\">\u00abNow on tap\u00bb <\/a>. \u041d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0431\u0443\u0434\u0443\u0447\u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u043c \u0438\u0437 Google Now \u043c\u043e\u0436\u0435\u0442 \u0432\u0435\u0441\u0442\u0438 \u0434\u0438\u0430\u043b\u043e\u0433 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <i>android.app.VoiceInteractor<\/i>.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <a href=\"https:\/\/developers.google.com\/voice-actions\/interaction\/voice-interactions\">developers.google.com\/voice-actions\/interaction\/voice-interactions<\/a>.<\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0411\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0435 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/developer.android.com\/intl\/ru\/about\/versions\/marshmallow\/android-6.0.html\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0439\u0434\u0438\u0442\u0435\u0441\u044c \u043f\u043e \u0432\u0441\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0430\u043c \u0432\u044b\u0448\u0435. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 autobackup, doze mode \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u0432\u0441\u0435 \u043f\u0435\u0440\u043c\u0438\u0448\u0435\u043d\u044b. \u041d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.               <\/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=\"http:\/\/habrahabr.ru\/post\/269471\/\"> http:\/\/habrahabr.ru\/post\/269471\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3e6\/297\/d6f\/3e6297d6faa04fef900842be1f16759b.jpg\" align=\"right\" width=\"310\"\/><br \/>  \u041f\u0440\u0438\u0432\u0435\u0442 \u0432\u0441\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043f\u043e\u0434 Android! <\/p>\n<p>  \u041c\u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u043b\u043e \u0441\u0442\u0430\u0442\u044c <a href=\"https:\/\/developers.google.com\/experts\/people\/denis-neklyudov.html\">Google Developer Expert Android \u0432 \u0420\u043e\u0441\u0441\u0438\u0438<\/a>, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u0434\u0432\u043e\u0439\u043d\u0435 \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0430\u044e, \u0447\u0442\u043e \u043d\u0435 \u0432\u0441\u0435 \u0438\u0437 \u0432\u0430\u0441 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043a \u0440\u0435\u043b\u0438\u0437\u0443 \u0437\u0430\u0440\u0430\u043d\u0435\u0435. \u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u0441 \u0432\u0430\u043c\u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u0437\u0430\u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c \u043d\u0430 \u0443\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u0430\u0440\u043e\u0445\u043e\u0434 \u0441 \u0437\u0435\u0444\u0438\u0440\u043a\u0430\u043c\u0438.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c<a href=\"http:\/\/www.youtube.com\/watch?v=oa4ZrBFexcc\"> \u043c\u043e\u0439 \u0434\u043e\u043a\u043b\u0430\u0434 \u043d\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u043c DroidCon<\/a>. <\/p>\n<p>  \u041d\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0445\u0430\u0431\u0440 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c youtube \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u0422\u0430\u043c \u043c\u044b \u043f\u0440\u043e\u0439\u0434\u0435\u043c\u0441\u044f \u043f\u043e \u0447\u0435\u043a\u043b\u0438\u0441\u0442\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 sdk 23.   <\/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-267602","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/267602","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=267602"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/267602\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=267602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=267602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=267602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}