{"id":484,"date":"2016-12-10T15:00:30","date_gmt":"2016-12-10T16:00:30","guid":{"rendered":"http:\/\/crypt3r.ir\/wp\/?p=484"},"modified":"2016-12-10T15:42:56","modified_gmt":"2016-12-10T16:42:56","slug":"%d8%b9%da%a9%d8%b3-%da%af%d8%b1%d9%81%d8%aa%d9%86-%d8%a7%d8%b2-%d8%a7%d8%b2-view","status":"publish","type":"post","link":"https:\/\/crypt3r.ir\/wp\/%d8%b9%da%a9%d8%b3-%da%af%d8%b1%d9%81%d8%aa%d9%86-%d8%a7%d8%b2-%d8%a7%d8%b2-view\/","title":{"rendered":"\u0639\u06a9\u0633 \u06af\u0631\u0641\u062a\u0646 \u0627\u0632 \u0627\u0632 View"},"content":{"rendered":"<p>\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06cc\u06a9 View \u0639\u06a9\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u062f \u062a\u0645\u0627\u0645 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0627\u0646 View \u0631\u0627 \u0634\u0627\u0645\u0644 \u0645\u06cc\u0634\u0648\u062f \u0645\u062b\u0644\u0627 \u0627\u06af\u0631 \u0622\u0646 \u0648\u06cc\u0648 Panel \u0628\u0627\u0634\u062f \u0627\u0632 \u0648\u06cc\u0648 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631\u0631\u0648\u06cc \u0622\u0646 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f \u0646\u06cc\u0632 \u0639\u06a9\u0633 \u0645\u06cc\u06af\u06cc\u0631\u062f.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:java decode:true \">Public Sub GetShotFromView(View As View) As Bitmap\r\nDim scrshot As Bitmap\r\nDim J = View,Jo As JavaObject\r\nJ.RunMethod (\"setDrawingCacheEnabled\",Array (True))\r\nscrshot = Jo.InitializeStatic (\"android.graphics.Bitmap\").RunMethod (\"createBitmap\",Array (J.RunMethod (\"getDrawingCache\",Null)))\r\nJ.RunMethod (\"setDrawingCacheEnabled\",Array (False))\r\nReturn scrshot\r\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:java decode:true \">GetShotFromViw(View)\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0647 \u062c\u0627\u06cc View \u0645\u062a\u063a\u06cc\u0631 View \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u06cc\u06a9 Bitmap \u062e\u0631\u0648\u062c\u06cc \u0645\u06cc\u062f\u0647\u062f \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06cc\u06a9 View \u0639\u06a9\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u062f \u062a\u0645\u0627\u0645 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0627\u0646 View \u0631\u0627 \u0634\u0627\u0645\u0644 \u0645\u06cc\u0634\u0648\u062f \u0645\u062b\u0644\u0627 \u0627\u06af\u0631 \u0622\u0646 \u0648\u06cc\u0648 Panel \u0628\u0627\u0634\u062f \u0627\u0632 \u0648\u06cc\u0648 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631\u0631\u0648\u06cc \u0622\u0646 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f \u0646\u06cc\u0632 \u0639\u06a9\u0633 \u0645\u06cc\u06af\u06cc\u0631\u062f. &nbsp; Public Sub GetShotFromView(View As View) As Bitmap Dim scrshot As Bitmap Dim J = View,Jo As JavaObject J.RunMethod (&#8220;setDrawingCacheEnabled&#8221;,Array [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":468,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[113],"tags":[111],"class_list":["post-484","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-113","tag-----view"],"_links":{"self":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":0,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media\/468"}],"wp:attachment":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}