{"id":179239,"date":"2013-05-10T09:20:02","date_gmt":"2013-05-10T05:20:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=179239"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=179239","title":{"rendered":"<span class=\"post_title\">\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c Samsung Multi Window \u0432 \u0447\u0443\u0436\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412 \u043d\u043e\u0432\u044b\u0445 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430\u0445 Samsung \u0435\u0441\u0442\u044c \u0432\u0435\u0441\u044c\u043c\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0444\u0438\u0447\u0430 \u2014 Multi Windows.<br \/>  \u041e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u0432\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435.<br \/>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043a\u0440\u043e\u043c\u0435 Samsung \u044d\u0442\u0443 \u0444\u0438\u0447\u0443 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442.<br \/>  \u041d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0435\u0451 \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/43f\/5b6\/ad2\/43f5b6ad2c66636e406b7c9c52ee87d2.png\"\/><\/p>\n<p>  \u0414\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:  <\/p>\n<ul>\n<li>apk \u0444\u0430\u0439\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/li>\n<li>JDK<\/li>\n<li>android-apktool<br \/>   <a href=\"http:\/\/code.google.com\/p\/android-apktool\/downloads\/list\">code.google.com\/p\/android-apktool\/downloads\/list<\/a>  <\/li>\n<\/ul>\n<p>  \u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 Safari to go (\u0442.\u043a. \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c-\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u043c)<\/p>\n<ul>\n<li>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c apk \u0444\u0430\u0439\u043b \u0432 \u043f\u0430\u043f\u043a\u0443<br \/>   apktool.bat d -s com.safaribooksonline.apk .\/com.safaribooksonline<\/li>\n<li> \u0412\u043d\u043e\u0441\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b AndroidManifest.xml<br \/> \n<pre><code class=\"xml\">      ...       &lt;application  android:label=&quot;Safari To Go&quot; ...&gt;         &lt;activity android:name=&quot;.LoginActivity&quot; ...&gt;             &lt;intent-filter&gt;                 &lt;action android:name=&quot;android.intent.action.MAIN&quot; \/&gt;                 &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; \/&gt;                 &lt;category android:name=&quot;android.intent.category.MULTIWINDOW_LAUNCHER&quot; \/&gt;             &lt;\/intent-filter&gt;         &lt;\/activity&gt;         ...         &lt;uses-library required=&quot;false&quot; name=&quot;com.sec.android.app.multiwindow&quot;&gt; &lt;\/uses-library&gt;         &lt;meta-data android:name=&quot;com.sec.android.support.multiwindow&quot; android:value=&quot;true&quot; \/&gt;         &lt;meta-data android:name=&quot;com.sec.android.multiwindow.DEFAULT_SIZE_W&quot; android:resource=&quot;@dimen\/app_defaultsize_w&quot; \/&gt;         &lt;meta-data android:name=&quot;com.sec.android.multiwindow.DEFAULT_SIZE_H&quot; android:resource=&quot;@dimen\/app_defaultsize_h&quot; \/&gt;         &lt;meta-data android:name=&quot;com.sec.android.multiwindow.MINIMUM_SIZE_W&quot; android:resource=&quot;@dimen\/app_minimumsize_w&quot; \/&gt;         &lt;meta-data android:name=&quot;com.sec.android.multiwindow.MINIMUM_SIZE_H&quot; android:resource=&quot;@dimen\/app_minimumsize_h&quot; \/&gt;       &lt;\/application&gt;       ... <\/code><\/pre>\n<p>  <\/li>\n<li> \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0438\u043b\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0444\u0430\u0439\u043b \\res\\values\\dimens.xml<br \/> \n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;resources&gt;     ...     &lt;dimen name=&quot;app_defaultsize_w&quot;&gt;632.0dip&lt;\/dimen&gt;     &lt;dimen name=&quot;app_defaultsize_h&quot;&gt;598.0dip&lt;\/dimen&gt;     &lt;dimen name=&quot;app_minimumsize_w&quot;&gt;632.0dip&lt;\/dimen&gt;     &lt;dimen name=&quot;app_minimumsize_h&quot;&gt;598.0dip&lt;\/dimen&gt; &lt;\/resources&gt;  <\/code><\/pre>\n<p>  <\/li>\n<li>\u0417\u0430\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 apk \u0444\u0430\u0439\u043b<br \/>  apktool.bat b .\/com.safaribooksonline\n<p>  Apk \u0444\u0430\u0439\u043b \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u0432 \u043f\u0430\u043f\u043a\u0435<br \/>   \\com.safaribooksonline\\dist\\com.safaribooksonline.apk   <\/li>\n<li>\u0413\u0435\u043d\u0435\u0440\u0438\u043c \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0438 apk \u0444\u0430\u0439\u043b\u0430 (\u0442.\u043a. \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c \u043e\u043d\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0438\u0437 google play)<br \/>   \u042f \u0432\u0437\u044f\u043b \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u0440\u0430\u0434\u0436\u0430 \u0438 \u0430\u043b\u0438\u0441\u0430 \u043f\u0440\u044f\u043c\u043b \u0438\u0437 SDK. \u041d\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435.<br \/>   keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000  <\/li>\n<li>\u041f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c<br \/>   jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore my-release-key.keystore com.safaribooksonline.apk alias_name  <\/li>\n<\/ul>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.<\/p>\n<p>  \u0421 \u0442\u0430\u043a\u043e\u0439-\u0436\u0435 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 Multi windows \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438 \u0432 \u0441\u0432\u043e\u0451 \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<br \/>  \u041f\u043b\u044e\u0441 \u043a\u0443\u0447\u0443 \u0432\u043a\u0443\u0441\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f08\/624\/cca\/f08624cca88a78118907db4548b4941b.png\"\/><\/p>\n<p>  \u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438:<br \/>  <a href=\"http:\/\/www.modaco.com\/page\/news\/_\/android\/developers-add-support-for-samsung-multi-window-to-your-apps-r823\">www.modaco.com\/page\/news\/_\/android\/developers-add-support-for-samsung-multi-window-to-your-apps-r823<\/a><br \/>  <a href=\"http:\/\/developer.android.com\/tools\/publishing\/app-signing.html\">developer.android.com\/tools\/publishing\/app-signing.html<\/a><br \/>  <a href=\"http:\/\/developer.samsung.com\/s-pen-sdk\/technical-docs-09\">developer.samsung.com\/s-pen-sdk\/technical-docs-09<\/a> \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/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=\"http:\/\/habrahabr.ru\/post\/179239\/\"> http:\/\/habrahabr.ru\/post\/179239\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412 \u043d\u043e\u0432\u044b\u0445 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0430\u0445 Samsung \u0435\u0441\u0442\u044c \u0432\u0435\u0441\u044c\u043c\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0444\u0438\u0447\u0430 \u2014 Multi Windows.<br \/>  \u041e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u0432\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435.<br \/>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043a\u0440\u043e\u043c\u0435 Samsung \u044d\u0442\u0443 \u0444\u0438\u0447\u0443 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442.<br \/>  \u041d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0435\u0451 \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e.  <\/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-179239","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/179239","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=179239"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/179239\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}