<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2707756210737942680</id><updated>2024-11-08T21:52:55.410+07:00</updated><category term="Java Programming"/><category term="Android Programming"/><category term="Blogger Widgets"/><category term="Aplikasi Android"/><category term="Komputer Tips"/><category term="Android News"/><category term="Blogger Tips"/><category term="Java Tips"/><category term="Android Tips"/><category term="SEO"/><title type='text'>Java Zone</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-1892157060576669459</id><published>2015-04-01T16:07:00.000+07:00</published><updated>2015-04-01T16:07:03.602+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Widgets"/><title type='text'>Memasang Widget Related Post di Blog</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Memasang widget related post atau posting terkait&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;dapat mendatangkan &lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;pembaca&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang konsisten&lt;/span&gt; terhadap blog Anda, hal ini telah di buktikan oleh para pro blogger. Jika anda berkunjung ke beberapa blog yang telah populer kemungkinan besar pada akhir posting anda akan menemukan widget related post, yang dengan atau tanpa anda sadari anda akan menghabiskan lebih banyak waktu untuk membaca postingan terkait lainnya yang di sediakan melalui widget related post ini.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Misalkan&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt; pengunjung&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;datang&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ke&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;blog&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Anda&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;dari&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;mesin pencari, kemudian dia membaca postingan pada blog anda&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; sampai selesai. Dalam hal ini, kemungkinan pengunjung akan&amp;nbsp;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;meninggalkan blog anda setelah selesai&amp;nbsp;&lt;span class=&quot;hps&quot;&gt;membacanya&lt;/span&gt;. Tetapi &lt;span class=&quot;hps&quot;&gt;jika&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Anda menyediakan&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;link posting&lt;/span&gt; terkait &lt;span class=&quot;hps&quot;&gt;selain&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;posting utama&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;kemungkinan pengunjung&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;akan merasa&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;sangat tertarik&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;untuk memeriksa link posting terkait tersebut&lt;/span&gt;. Sehingga hal ini dapat membuat pengunjung akan menghabiskan lebih banyak waktu untuk memeriksa posting terkait lainnya pada blog Anda. Perlu di ingat, &lt;span class=&quot;hps&quot;&gt;mereka&lt;/span&gt; datang untuk mencari sesuatu, j&lt;span class=&quot;hps&quot;&gt;adi apapun&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang terkait&lt;/span&gt; dengan hal tersebut &lt;span class=&quot;hps&quot;&gt;akan membuat mereka tertarik untuk memeriksanya.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Itu sebabnya&lt;/span&gt; sebuah &lt;span class=&quot;hps&quot;&gt;blog&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;perlu&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;fitur ini&lt;/span&gt;&lt;span&gt;, t&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;api sayangnya&lt;/span&gt; B&lt;span class=&quot;hps&quot;&gt;logger&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tidak&lt;/span&gt; menyediakan fitur ini sebagai &lt;span class=&quot;hps&quot;&gt;default.&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt; Maka dari itu pada postingan kali ini saya akan share&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;cara tercepat dan&lt;/span&gt; termudah u&lt;span class=&quot;hps&quot;&gt;ntuk menambahkan&lt;/span&gt; widget &lt;span class=&quot;hps&quot;&gt;related post&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;pada blog&lt;/span&gt;&lt;span&gt;, yaitu dengan menggunakan LinkWithin.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;LinkWithin&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;adalah layanan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang menyediakan cara untuk menambahkan widget related post&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span&gt; pada blog Anda.&lt;/span&gt; Beberapa kelebihan LinkWithin menurut saya adalah, &lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tidak memerlukan proses&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;sign-up&lt;/span&gt;&lt;span&gt;, kemudahan dalam pemasangan, &lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;memberikan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;desain&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang elegan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;dengan&lt;/span&gt; code yang &lt;span class=&quot;hps&quot;&gt;minimal, dan tentunya layanan ini bersifat gratis.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;B&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;erikut langkah-langkah untuk memasang widget&lt;/span&gt; related post&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;dengan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;LinkWithin:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Masuk ke &lt;/span&gt;&lt;a href=&quot;http://www.linkwithin.com/learn&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;hps&quot;&gt;LinkWithin&lt;/span&gt;&lt;/a&gt;, &lt;span class=&quot;hps&quot;&gt;kemudian Anda akan&lt;/span&gt; menemukan &lt;span class=&quot;hps&quot;&gt;sebuah form untuk&lt;/span&gt; membuat widget related post, kemudian &lt;span class=&quot;hps&quot;&gt;masukan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;data yang diperlukan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;seperti email&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;alamat blog&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;dan platform&lt;/span&gt;.&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span class=&quot;hps&quot;&gt;Kolom &lt;i&gt;Width&lt;/i&gt; menentukan&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;berapa banyak posting&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;akan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ditampilkan, pilihannya 3-5 posting.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span class=&quot;hps&quot;&gt;Kemudian ada sebuah &lt;/span&gt;&lt;i&gt;&lt;span class=&quot;hps atn&quot;&gt;check-&lt;/span&gt;&lt;span&gt;box&lt;/span&gt;&lt;/i&gt; &lt;span class=&quot;hps&quot;&gt;untuk menentukan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;apakah&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;blog&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Anda&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;menggunakan&lt;/span&gt; teks dengan warna terang (misalkan warna putih) dengan &lt;span class=&quot;hps&quot;&gt;background gelap? jika ya centang check-box tersebut&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span class=&quot;hps&quot;&gt;Jika&lt;/span&gt; Anda telah&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;selesai dengan pengaturannya, klik&lt;/span&gt; tombol &lt;span class=&quot;hps atn&quot;&gt;&quot;&lt;/span&gt;&lt;span&gt;Get&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Widget&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJBUpBJ6NVMa5OBTgxi7O1DQNwnqObqTjhXljSw78TKkvk8mCJjjbiJ20KRyNnQjmhHlCznt0-amv2KFmd9CA-keLciB74K2bVk2EDMpZRceD4WM1KMc0vTIep-BXcCb9n4VhRy4ZLrtu6/s1600/linkwithin-form.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;linkwithin_form&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJBUpBJ6NVMa5OBTgxi7O1DQNwnqObqTjhXljSw78TKkvk8mCJjjbiJ20KRyNnQjmhHlCznt0-amv2KFmd9CA-keLciB74K2bVk2EDMpZRceD4WM1KMc0vTIep-BXcCb9n4VhRy4ZLrtu6/s1600/linkwithin-form.jpg&quot; height=&quot;207&quot; title=&quot;linkwithin_form&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;Selanjutnya ikuti langkah-langkah mudah yang disediakan pada LinkWithin.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Note: Biasanya widget related post yang baru saja Anda tambahkan a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;kan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;membutuhkan&lt;/span&gt; waktu &lt;span class=&quot;hps&quot;&gt;beberapa jam&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;untuk&lt;/span&gt; proses &lt;span class=&quot;hps&quot;&gt;indeksasi&lt;/span&gt; oleh &lt;span class=&quot;hps&quot;&gt;situs pihak ketiga&lt;/span&gt;&lt;span&gt; dalam rangka untuk menyediakan posting terkait lainnya yang relevan terhadap posting utama.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/1892157060576669459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2015/04/memasang-widget-related-post-di-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1892157060576669459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1892157060576669459'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2015/04/memasang-widget-related-post-di-blog.html' title='Memasang Widget Related Post di Blog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJBUpBJ6NVMa5OBTgxi7O1DQNwnqObqTjhXljSw78TKkvk8mCJjjbiJ20KRyNnQjmhHlCznt0-amv2KFmd9CA-keLciB74K2bVk2EDMpZRceD4WM1KMc0vTIep-BXcCb9n4VhRy4ZLrtu6/s72-c/linkwithin-form.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-4440034209851706962</id><published>2015-03-28T19:38:00.000+07:00</published><updated>2015-03-28T20:31:20.446+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android Programming - Contoh Fragment dan Animasi</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Penggunaan animasi pada sebuah aplikasi tentu akan membuat tampilan aplikasi tersebut menjadi lebih menarik dan tidak monoton, penggunaan animasi yang tepat dapat membuat pengguna merasa nyaman dalam menggunakan sebuah aplikasi. Pada postingan kali ini saya akan share tentang cara membuat efek animasi pada fragment, cara ini saya temukan di salah satu thread &lt;a href=&quot;http://stackoverflow.com/&quot; target=&quot;_blank&quot;&gt;stackoverflow&lt;/a&gt;, animasi akan dijalankan pada saat transisi/ perpindahan antara fragment. Misal terdapat 2 fragment, fragment A dan fragment B. Pada saat fragment B dipanggil dari fragment A, maka fragment B akan muncul dengan efek bergeser dari kanan ke kiri menggantikan tempat dari fragment A. Dan pada saat tombol &lt;i&gt;back&lt;/i&gt; di tekan, &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;fragment A akan muncul dari kiri ke kanan menggantikan fragment B. Cara ini dapat bekerja dengan &lt;i&gt;Android&lt;/i&gt; &lt;i&gt;Support Library, &lt;/i&gt;berikut contohnya.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;FragmentManager fragmentManager = getSupportFragmentManager();

FragmentTransaction transaction = fragmentManager.beginTransaction();
transaction.setCustomAnimations(R.anim.enter, R.anim.exit, R.anim.pop_enter, R.anim.pop_exit);

CustomFragment newCustomFragment = CustomFragment.newInstance();
transaction.replace(R.id.fragment_container, newCustomFragment );
transaction.addToBackStack(null);
transaction.commit();
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Perhatikan kode diatas. Urutan sangat penting, Anda harus memanggil &lt;i&gt;setCustomAnimations()&lt;/i&gt; sebelum &lt;i&gt;replace().&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selanjutnya, semua file di bawah ini harus disimpan dalam folder&lt;i&gt; res/anim.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;enter.xml&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;set&amp;gt;
    &amp;lt;translate xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
               android:fromXDelta=&quot;100%&quot;
               android:toXDelta=&quot;0&quot;
               android:interpolator=&quot;@android:anim/decelerate_interpolator&quot;
               android:duration=&quot;@android:integer/config_mediumAnimTime&quot;/&amp;gt;
&amp;lt;/set&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;exit.xml&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;set&amp;gt;
    &amp;lt;translate xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
               android:fromXDelta=&quot;0&quot;
               android:toXDelta=&quot;-100%&quot;
               android:interpolator=&quot;@android:anim/accelerate_interpolator&quot;
               android:duration=&quot;@android:integer/config_mediumAnimTime&quot;/&amp;gt;
&amp;lt;/set&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;pop_enter.xml&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;set&amp;gt;
    &amp;lt;translate xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
               android:fromXDelta=&quot;-100%&quot;
               android:toXDelta=&quot;0&quot;
               android:interpolator=&quot;@android:anim/decelerate_interpolator&quot;
               android:duration=&quot;@android:integer/config_mediumAnimTime&quot;/&amp;gt;
&amp;lt;/set&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;pop_exit.xml&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;set&amp;gt;
    &amp;lt;translate xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
               android:fromXDelta=&quot;0&quot;
               android:toXDelta=&quot;100%&quot;
               android:interpolator=&quot;@android:anim/accelerate_interpolator&quot;
               android:duration=&quot;@android:integer/config_mediumAnimTime&quot;/&amp;gt;
&amp;lt;/set&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Durasi animasi dapat di ubah ke nilai standar lainnya seperti,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;@android:integer/config_shortAnimTime&lt;/i&gt;.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Catatan: Jika pada saat transisi/ pergantian fragment terjadi perubahan konsfigurasi (misal rotasi dari potrait ke landscape atau sebaliknya), efek animasi untuk tombol &lt;i&gt;back &lt;/i&gt;akan hilang. &lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Ini adalah bug&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;terdokumentasi&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang masih&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ada pada &lt;i&gt;Android Support Library&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;hps&quot;&gt;.&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;i&gt;&lt;span class=&quot;hps&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/4440034209851706962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-contoh-fragment-dan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4440034209851706962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4440034209851706962'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-contoh-fragment-dan.html' title='Android Programming - Contoh Fragment dan Animasi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-7277390890004972904</id><published>2015-03-26T01:29:00.000+07:00</published><updated>2015-03-26T01:35:27.614+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android Programming - Ekstrak AsyncTask ke dalam Class Terpisah</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Sebuah&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;aplikasi yang&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;berkembang seiring berjalannya waktu, adanya update, penambahan fitur, banyaknya library yang digunakan, dan lain sebagainya secara otomatis akan membuat aplikasi tersebut menjadi lebih kompleks.&lt;/span&gt; Salah satu hal yang memiliki &lt;span class=&quot;hps&quot;&gt;kesempatan tinggi&lt;/span&gt; dapat terjadi lebih dari sekali adalah penggunaan AsyncTask untuk menyelesaikan beberapa tugas. AsyncTask di definisikan sebagai inner class, dan biasanya digunakan untuk proses login, scanning, dan lain sebagainya yang berhubungan dengan operasi yang berjalan diatas thread worker. Pendefinisian AsyncTask pada setiap Activity akan menyebabkan sebuah Activity menjadi lebih kompleks, dan mungkin akan sulit untuk di pahami. Oleh karena di butuhkan sebuah teknik yang mampu menyederhanakan penggunaan AsyncTask tersebut.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Salah satu teknik yang saya temukan dari beberapa sumber yaitu dengan cara&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt; mengekstraksi&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;AsyncTask&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ke dalam kelas&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;lain&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;yang terpisah&lt;/span&gt;, teknik ini dapat membuat&lt;span class=&quot;hps&quot;&gt; class sumber atau Activity menjadi lebih sederhana dan juga memungkinkan class lain untuk dapat menggunakan AsyncTask yang telah di ekstrak tersebut.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Pertama&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;buat class&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;dengan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;method&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;generik&lt;/span&gt;&lt;span class=&quot;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;seperti&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;berikut&lt;/span&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public interface AsyncTaskCompleteListener&amp;lt;T&amp;gt;
{
    /**
     * Dipanggil saat AsyncTask telah selesai dengan tugasnya.
     * @param result Objek yang dihasilkan dari AsyncTask.
     */
    public void onTaskComplete(T result);
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Kemudian pada Activity, Anda dapat menyederhanakan inner class seperti berikut:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class FetchMyDataTaskCompleteListener implements AsyncTaskCompleteListener&amp;lt;MyPojo&amp;gt;
    {
 
        @Override
        public void onTaskComplete(MyPojo result)
        {
            // lakukan sesuatu dengan hasil yang diberikan
        }
    }
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;Dibawah&lt;span class=&quot;hps&quot;&gt; ini adalah&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;contoh penggunaan AsyncTask pada kelas terpisah&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class FetchMyDataTask extends AsyncTask&amp;lt;String, Integer, MyPojo&amp;gt;
{
    private static final String TAG = &quot;FetchMyDataTask&quot;;
 
    private Context context;
    private AsyncTaskCompleteListener&amp;lt;MyPojo&amp;gt; listener;
 
    public FetchVehicleTask(Context ctx, AsyncTaskCompleteListener&amp;lt;MyPojo&amp;gt; listener)
    {
        this.context = ctx;
        this.listener = listener;
    }
 
    protected void onPreExecute()
    {
        super.onPreExecute();
    }
 
    @Override
    protected MyPojo doInBackground(String... strings)
    {
        MyPojo myPojo = null;
        // lakukan sesuatu dengan myPojo
        return myPojo;
    }
 
    @Override
    protected void onPostExecute(MyPojo myPojo)
    {
        super.onPostExecute(myPojo);
        listener.onTaskComplete(myPojo);
    }
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt; Pada Activity, &lt;/span&gt;&lt;/span&gt;Gunakan statement dibawah ini untuk menjalankan tugas tugas pada AsyncTask&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;new FetchMyDataTask(this, new FetchMyDataTaskCompleteListener()).execute(&quot;InputString&quot;);
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;T&lt;span class=&quot;hps&quot;&gt;eknik&lt;/span&gt; diatas &lt;span class=&quot;hps&quot;&gt;sangat&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;fleksibel&lt;/span&gt; dan&lt;span class=&quot;hps&quot;&gt; dapat digunakan untuk&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;menyederhanakan/ merapikan&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tugas-tugas&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;dari AsyncTask, Saya sendiri menggunakan teknik ini pada beberapa aplikasi.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Sumber:&amp;nbsp;&lt;a href=&quot;http://www.jameselsey.co.uk/&quot; target=&quot;_blank&quot;&gt;jameselsey.co.uk&lt;/a&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/7277390890004972904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-ekstrak-asynctask.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/7277390890004972904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/7277390890004972904'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-ekstrak-asynctask.html' title='Android Programming - Ekstrak AsyncTask ke dalam Class Terpisah'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-2517473699179268592</id><published>2015-03-25T16:36:00.000+07:00</published><updated>2015-03-25T16:43:15.309+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android Programming - Overlay Action Bar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Overlay mode pada action bar sangat  berguna pada saat aplikasi harus menampilkan gambar atau pada saat  sedang memutar sebuah video seperti pada aplikasi gallery, berikut  contoh tampilan overlay mode pada aplikasi gallery.&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibypqA2vuNejxdu8Y5MOlQaBgCCBjn9ZrCbwI7pUGRgTqewz7zMRKNDi4vLpu_SNE6ZmX4KBjAz0nyXeUP-9uXlvlNmWhIAXB-fOxCVwi-Eekz83xi3jT6K097-oBNT-c0uKOPAAeeayZw/s1600/actionbar-overlay.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Gallery&#39;s action bar in overlay mode.&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibypqA2vuNejxdu8Y5MOlQaBgCCBjn9ZrCbwI7pUGRgTqewz7zMRKNDi4vLpu_SNE6ZmX4KBjAz0nyXeUP-9uXlvlNmWhIAXB-fOxCVwi-Eekz83xi3jT6K097-oBNT-c0uKOPAAeeayZw/s1600/actionbar-overlay.png&quot; height=&quot;287&quot; title=&quot;Gallery&#39;s action bar in overlay mode.&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;Mengaktifkan Overlay Mode&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Untuk mengaktifkan overlay mode pada action bar, anda harus membuat tema custom yang diturunkan (extends) dari tema yang memiliki action bar seperti &lt;i&gt;Theme.Holo&lt;/i&gt; atau &lt;i&gt;Theme.AppCompat&lt;/i&gt;, kemudian atur properti &lt;i&gt;android:windowActionBarOverlay&lt;/i&gt; menjadi &lt;i&gt;true&lt;/i&gt;.&lt;/div&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;Untuk Versi Android 3.0 (API 11) ke Atas&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Anda dapat membuat tema custom yang diturunkan dari tema &lt;i&gt;Theme.Holo&lt;/i&gt; (&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;atau salah satu dari&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;keturunannya)&lt;/span&gt;&lt;/span&gt;, contoh:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;resources&amp;gt;
    &amp;lt;!-- the theme applied to the application or activity --&amp;gt;
    &amp;lt;style name=&quot;CustomActionBarTheme&quot;
           parent=&quot;@android:style/Theme.Holo&quot;&amp;gt;
        &amp;lt;item name=&quot;android:windowActionBarOverlay&quot;&amp;gt;true&amp;lt;/item&amp;gt;
    &amp;lt;/style&amp;gt;
&amp;lt;/resources&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;Untuk Versi Android 2.0 (API 7) ke Atas&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Jika Anda menggunakan &lt;i&gt;Support Library&lt;/i&gt;, tema custom dapat diturunkan dari tema &lt;i&gt;Theme.AppCompat&lt;/i&gt; (atau salah satu dari keturunannya), contoh:&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;resources&amp;gt;
    &amp;lt;!-- the theme applied to the application or activity --&amp;gt;
    &amp;lt;style name=&quot;CustomActionBarTheme&quot;
           parent=&quot;@android:style/Theme.AppCompat&quot;&amp;gt;
        &amp;lt;item name=&quot;android:windowActionBarOverlay&quot;&amp;gt;true&amp;lt;/item&amp;gt;

        &amp;lt;!-- Support library compatibility --&amp;gt;
        &amp;lt;item name=&quot;windowActionBarOverlay&quot;&amp;gt;true&amp;lt;/item&amp;gt;
    &amp;lt;/style&amp;gt;
&amp;lt;/resources&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Contoh diatas &lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;mencakup dua&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;definisi&lt;/span&gt; tampilan&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;i&gt;&lt;span class=&quot;hps&quot;&gt;windowActionBarOverlay&lt;/span&gt;&lt;/i&gt;:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Dengan awalan (prefix)&lt;/span&gt; &lt;i&gt;&lt;span class=&quot;hps&quot;&gt;android&lt;/span&gt;:&lt;/i&gt; digunakan pada saat aplikasi berjalan pada android 3.0 ke atas.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;id&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Tanpa awalan (prefix)&lt;/span&gt; &lt;i&gt;&lt;span class=&quot;hps&quot;&gt;android&lt;/span&gt;:&lt;/i&gt; digunakan pada saat aplikasi berjalan pada android 2.1 ke atas&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;versi&lt;/span&gt; ini&amp;nbsp;&lt;span class=&quot;hps&quot;&gt;membaca&lt;/span&gt; tampilan (&lt;i&gt;style&lt;/i&gt;) &lt;span class=&quot;hps&quot;&gt;dari &lt;i&gt;Support Library&lt;/i&gt;.&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;Note: Untuk menyembunyikan action bar Anda dapat menggunakan &lt;i&gt;getActionBar().hide(); &lt;/i&gt;untuk android 3.0 ke atas atau &lt;i&gt;getSupportActionBar().hide(); &lt;/i&gt;untuk android 2.1 ke atas, dan untuk menampilkannya kembali gunakan method .&lt;i&gt;show().&lt;/i&gt; &lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/2517473699179268592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-overlay-action-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2517473699179268592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2517473699179268592'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-overlay-action-bar.html' title='Android Programming - Overlay Action Bar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibypqA2vuNejxdu8Y5MOlQaBgCCBjn9ZrCbwI7pUGRgTqewz7zMRKNDi4vLpu_SNE6ZmX4KBjAz0nyXeUP-9uXlvlNmWhIAXB-fOxCVwi-Eekz83xi3jT6K097-oBNT-c0uKOPAAeeayZw/s72-c/actionbar-overlay.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-6664183881680154263</id><published>2015-03-25T12:44:00.000+07:00</published><updated>2015-03-25T12:50:59.348+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android Programming - Scan Media/SD Card</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Saya memiliki permasalahan sebagai berikut:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Saya menyimpan sebuah gambar pada sd card, tetapi gambar yg baru saja saya simpan tersebut tidak langsung muncul pada gallery. Agar gallery dapat menampilkan gambar yang baru saya simpan tersebut, saya harus mencabut dan memasukan ulang sd card (memory external).&lt;/div&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Setelah googling kesana kemari, akhirnya saya menemukan beberapa solusi sebagai berikut:&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;1. Menggunakan constant&lt;i&gt; ACTION_MEDIA_MOUNTED &lt;/i&gt;dari class &lt;i&gt;Intent&lt;/i&gt;.&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;/ol&gt;&lt;div&gt;&lt;pre class=&quot;brush: java&quot;&gt;sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(&quot;file://&quot;+ Environment.getExternalStorageDirectory())));
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;Statement di atas akan mengirimkan broadcast action untuk me-refresh/ scan seluruh media. Hal ini biasanya dijalankan pada saat device pertama di hidupkan atau pada saat anda memasukan kartu memory.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;2. Menggunakan class &lt;i&gt;MediaScannerConnection &lt;/i&gt;dan &lt;i&gt;MediaScannerConnectionClient. &lt;/i&gt;Class ini menyediakan cara untuk mendeteksi file tertentu yang baru ditambahkan ke media. Media Scanner akan membaca metadata dari file tersebut dan menambahkannya ke media content provider, sehingga gallery akan mengetahui bahwa ada file yang baru ditambahakan. Class ini tidak akan me-refresh/ scan seluruh media, tetapi hanya file tertentu. Berikut contoh implementasinya&lt;i&gt;.&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;&lt;pre class=&quot;brush: java&quot;&gt;package com.deborahproject.galleryguard.utility;

import android.content.Context;
import android.media.MediaScannerConnection;
import android.media.MediaScannerConnection.MediaScannerConnectionClient;
import android.net.Uri;

public class MediaScannerUtil implements MediaScannerConnectionClient {

 private Context mContext;
 private MediaScannerConnection mConnection;
 private String mPath;
 private String mMimeType;

 public MediaScannerUtil(Context context, String path, String mimeType) {
  mContext = context;
  mPath = path;
  mMimeType = mimeType;
  mConnection = new MediaScannerConnection(context, this);
  mConnection.connect();
 }

 @Override
 public void onMediaScannerConnected() {
  mConnection.scanFile(mPath, mMimeType);
 }

 @Override
 public void onScanCompleted(String path, Uri uri) {
  // OPTIONAL: scan is complete, this will cause the viewer to render it
  /**
   * try { if (uri != null) { Intent intent = new
   * Intent(Intent.ACTION_VIEW); intent.setData(uri);
   * mContext.startActivity(intent); } } finally {
   */

  mConnection.disconnect();
  mContext = null;

 }
}
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/6664183881680154263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-scan-mediasd-card.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/6664183881680154263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/6664183881680154263'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2015/03/android-programming-scan-mediasd-card.html' title='Android Programming - Scan Media/SD Card'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-476897197406381061</id><published>2014-11-05T01:01:00.000+07:00</published><updated>2014-11-05T01:05:26.555+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Komputer Tips"/><title type='text'>Download SMADAV Terbaru 2014 Rev. 9.8.1 Pro Full Version</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Versi terbaru dari Smadav yang merupakan Anti Virus lokal telah dirilis pada tanggal 8 september 2014, yaitu Smadav 2014 Rev. 9.8.1. Pada postingan kali ini saya akan share Smadav 2104 Rev. 9.8.1 lengkap dengan serial number untuk upgrade menjadi Pro/ Full Version yang saya dapatkan melalui blog walking. Smadav Pro adalah versi upgrade dari smadav Free, tentunya dengan Smadav Pro Anda akan mendapatkan beberapa kelebihan dibandingkan dengan Smadav versi Free-nya.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Berikut beberapa update terbaru yang terdapat pada&amp;nbsp;Smadav 2014 Rev. 9.8.1:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Penambahan database 651 virus baru.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Penambahan teknik pendeteksian virus shortcut Trasher/Dorkbot dan VBS pada USB.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Perbaikan bug program dan kesalahan deteksi, dsb.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;
Untuk informasi lebih lengkap Anda dapat mengunjungi situs resminya Smadav &lt;a href=&quot;http://www.smadav.net/&quot; target=&quot;_blank&quot;&gt;www.smadav.net&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Download Smadav 2014 Rev 9.8.1 dan Serial Numbernya dibawah ini:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://adf.ly/tkREn&quot; target=&quot;_blank&quot;&gt;Download&amp;nbsp;Smadav 2014 Rev 9.8.1&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://adf.ly/tkR37&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Download Serial Number&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Setelah Anda selesai download kedua file diatas, kemudian lakukan langkah-langkah berikut:&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Instal Smadav 2014 Rev 9.8.1, setelah selesai kemudian jalankan Smadav.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pilih &lt;b&gt;Manage &lt;/b&gt;yang terdapat pada panel sebelah kiri.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada tab &lt;b&gt;General Settings, &lt;/b&gt;isi &lt;b&gt;Name: &lt;/b&gt;dan &lt;b&gt;Key:&lt;/b&gt;&amp;nbsp;yang terletak dibawah &lt;b&gt;Smadav Pro Registration: &lt;/b&gt;(lihat file Serial.txt untuk&amp;nbsp;&lt;b&gt;Name &lt;/b&gt;dan &lt;b&gt;key&lt;/b&gt;-nya).&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;sumber: yudhadhesockerz.blogspot.com&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/476897197406381061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/11/download-smadav-terbaru-2014-rev-981.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/476897197406381061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/476897197406381061'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/11/download-smadav-terbaru-2014-rev-981.html' title='Download SMADAV Terbaru 2014 Rev. 9.8.1 Pro Full Version'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-2987944804906154757</id><published>2014-11-04T00:38:00.000+07:00</published><updated>2014-11-04T00:38:01.515+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Komputer Tips"/><title type='text'>Cara Mengatasi Masalah Lupa Password di Windows 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Windows 7 password reset disk akan sangat berguna jika suatu saat nanti Anda lupa password akun Anda. Dengan password reset disk, Anda dapat dengan mudah me-reset password Windows 7 Anda dan Anda dapat kembali login ke komputer Anda.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jadilah proaktif dengan menciptakan password reset disk saat ini. Dengan Windows 7 password reset disk, lupa password bukan suatu masalah lagi bagi Anda di kemudian hari.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Catatan:&lt;/b&gt; Jika Anda terlanjur lupa password Windows 7 Anda, dan belum memiliki password reset disk, lihat postingan&amp;nbsp;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/11/cara-reset-password-windows-7.html&quot; target=&quot;_blank&quot;&gt;Cara Reset Password Windows 7&lt;/a&gt;&amp;nbsp;untuk solusinya.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Bagaimana Cara Membuat Password Reset Disk di Windows 7?&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
Ikuti langkah-langkah mudah di bawah ini untuk membuat password reset disk di Windows 7:&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Siapkan satu buah flash drive kosong.&lt;/li&gt;
&lt;li&gt;Klik &lt;b&gt;Start menu&lt;/b&gt;, kemudian &lt;b&gt;Control Panel&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Klik link &lt;b&gt;User Accounts and Family Safety&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Klik link &lt;b&gt;User Accounts&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Masukan flash drive pada komputer Anda. Kemudian pada panel sebelah kiri, klik link &lt;b&gt;Create a password reset disk&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Ketika jendela &lt;b&gt;Forgotten Password Wizard&lt;/b&gt; muncul, klik &lt;b&gt;Next&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Pilih flash drive yang telah anda masukan sebelumnya pada &lt;b&gt;I want to create a password key disk in the following drive:&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Klik &lt;b&gt;Next &lt;/b&gt;untuk melanjutkan.&lt;/li&gt;
&lt;li&gt;Masukkan password akun Anda saat ini dalam kotak teks, kemudian klik &lt;b&gt;Next&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Sekarang Windows 7 akan membuat password reset disk pada flash drive yang Anda pilih.&lt;/li&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/ol&gt;
Setelah indikator menunjukkan 100% complete, klik &lt;b&gt;Next&lt;/b&gt;&amp;nbsp;kemudian klik &lt;b&gt;Finish&lt;/b&gt; pada jendela berikutnya.&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA8AfOpyRs5SGcBk3b_89jB1m6S5V2uXuOPhugu5YFUTPoWDbetvAB0DvMfjutN7mnGwOOT1SJYSxE0l-GlumXhQ8l_W3f9nq8OG-nKXhG5fz4mSiiXfGqKRcCy7dn0u9tQocmuWSepUBX/s1600/password-reset-disk-windows-7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;W7 password reset disk image&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA8AfOpyRs5SGcBk3b_89jB1m6S5V2uXuOPhugu5YFUTPoWDbetvAB0DvMfjutN7mnGwOOT1SJYSxE0l-GlumXhQ8l_W3f9nq8OG-nKXhG5fz4mSiiXfGqKRcCy7dn0u9tQocmuWSepUBX/s1600/password-reset-disk-windows-7.jpg&quot; height=&quot;278&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Sekarang Anda dapat eject flash drive dari komputer Anda.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;Penting:&lt;/b&gt; Anda hanya perlu membuat Windows 7 password reset disk sekali saja. Tidak peduli berapa kali Anda mengubah password Anda, password reset disk ini akan selalu memungkinkan Anda untuk membuat password yang baru. Maka dari itu, pastikan password reset disk ini aman dari orang-orang yang dapat merugikan Anda.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/2987944804906154757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/11/cara-mengatasi-masalah-lupa-password-di.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2987944804906154757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2987944804906154757'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/11/cara-mengatasi-masalah-lupa-password-di.html' title='Cara Mengatasi Masalah Lupa Password di Windows 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA8AfOpyRs5SGcBk3b_89jB1m6S5V2uXuOPhugu5YFUTPoWDbetvAB0DvMfjutN7mnGwOOT1SJYSxE0l-GlumXhQ8l_W3f9nq8OG-nKXhG5fz4mSiiXfGqKRcCy7dn0u9tQocmuWSepUBX/s72-c/password-reset-disk-windows-7.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-6608251069913856227</id><published>2014-11-03T22:48:00.000+07:00</published><updated>2014-11-03T22:48:10.709+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Komputer Tips"/><title type='text'>Cara Reset Password Windows 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bagaimana cara reset password Windows 7 pada komputer Anda? Apakah hal itu bisa dilakukan jika Anda terlanjur lupa dengan password untuk login ke Windows 7?&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jawabannya sangat mungkin, dan bahkan tidak terlalu sulit untuk dilakukan. Pada postingan kali ini saya akan share cara reset password Windows 7, cara ini dapat digunakan pada semua edisi Windows 7, untuk versi 32-bit atau 64-bit.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Bagaimana Cara Reset Password Windows 7?&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Masukan DVD instalasi Windows 7 ke optical drive, kemudian restart komputer Anda. Anda juga dapat menggunakan bootable usb flash drive.&lt;/li&gt;
&lt;li&gt;Masuk ke Bios, kemudian rubah urutan booting pertama ke optical drive, simpan perubahan.&lt;/li&gt;
&lt;li&gt;Setelah komputer Anda booting melalui optical drive atau flash drive, klik &lt;b&gt;Next.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Klik link &lt;b&gt;Repair your computer&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Tunggu hingga system menemukan lokasi instalasi Windows 7 pada komputer Anda.&lt;/li&gt;
&lt;li&gt;Setelah lokasi instalasi Windows 7 ditemukan, perhatikan huruf drive yang ditemukan di kolom Lokasi. (Kebanyakan instalasi Windows 7 akan menampilkan drive&amp;nbsp;&lt;b&gt;D:&lt;/b&gt;,&amp;nbsp;tetapi mungkin komputer Anda menampilkan drive yang berbeda dan itu bukan masalah).&lt;/li&gt;
&lt;li&gt;Pilih Windows 7 dari daftar Sistem Operasi kemudian klik &lt;b&gt;Next&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Dari &lt;b&gt;System Recovery Options&lt;/b&gt;, pilih &lt;b&gt;Command Prompt&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Jalankan dua perintah berikut secara berurutan pada&amp;nbsp;&lt;b&gt;Command Prompt:&lt;/b&gt;&lt;/li&gt;
&lt;div&gt;
&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;copy d:\windows\system32\utilman.exe d:\&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
Setelah menjalankan perintah kedua akan muncul pertanyaan konfirmasi, jawab dengan &lt;b&gt;Yes.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Penting: &lt;/b&gt;Jika lokasi instalasi Windows 7 bukan terletak pada drive&lt;b&gt; D: (Langkah ke 6)&lt;/b&gt;, pastikan Anda mengubah semua drive/huruf&lt;b&gt; d &lt;/b&gt;pada perintah di atas dengan huruf drive yang benar.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;li&gt;Tutup &lt;b&gt;Command Prompt &lt;/b&gt;kemudian keluarkan DVD instalasi Windows 7 atau flash drive, restart komputer Anda.&lt;/li&gt;
&lt;li&gt;Kembalikan pengaturan booting pada Bios ke pengaturan sebelumnya (pastikan urutan pertama booting adalah hard drive, bukan optical drive atau bootable USB flash drive).&lt;/li&gt;
&lt;li&gt;Setelah masuk ke layar login Windows 7, cari ikon kecil di bagian kiri bawah yang terlihat seperti lingkaran dengan persegi di sekitarnya kemudian klik!&lt;/li&gt;
&lt;li&gt;Sekarang &lt;b&gt;Command Prompt&lt;/b&gt; terbuka, jalankan perintah &lt;b&gt;net user&lt;/b&gt; seperti yang ditunjukkan dibawah ini, ganti &lt;b&gt;myusername&lt;/b&gt; dengan nama username komputer Anda dan &lt;b&gt;mypassword&lt;/b&gt; dengan password yang baru yang selanjutnya akan Anda gunakan untuk login ke Windows 7.&lt;/li&gt;
&lt;b&gt;&lt;ol&gt;&lt;b&gt;
&lt;/b&gt;&lt;/ol&gt;
&lt;ol&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/ol&gt;
net user myusername mypassword&amp;nbsp;&lt;/b&gt;&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
misal, username &lt;b&gt;Rizki &lt;/b&gt;dan password &lt;b&gt;newPassword&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;ol&gt;&lt;b&gt;
&lt;/b&gt;&lt;/ol&gt;
&lt;ol&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/ol&gt;
net user Rizki newPassword&lt;/b&gt;  &lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Tip: Jika nama pengguna (username) memiliki spasi, gunakan tanda kutip ganda. misalkan,&lt;/div&gt;
&lt;b&gt;net user &quot;Rizki Den&quot; newPassword&lt;/b&gt;&lt;div&gt;
&lt;/div&gt;
&lt;li&gt;Tutup &lt;b&gt;Command Prompt&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Login ke Windows 7 dengan password yang baru saja anda buat/reset&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sekarang Anda telah berhasil me-reset password dan sudah bisa kembali login ke Windows 7 Anda, saatnya untuk melakukan langkah terakhir. Meskipun langkah ini tidak harus dilakukan, tapi akan lebih bijaksana jika Anda mengembalikan system ke keadaan sebelum proses hacking diatas dilakukan. Karena jika Anda tidak melakukannya, maka Anda tidak akan memiliki hak akses ke fitur accessibility dari layar login Windows 7.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk mengembalikan perubahan yang telah dilakukan, ulangi langkah 1 sampai 8 di atas. Saat Anda memiliki akses ke &lt;b&gt;Command Prompt&lt;/b&gt; lagi, jalankan perintah berikut:&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;copy d:\utilman.exe d:\windows\system32\utilman.exe&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; Jawab pertanyaan konfirmasi dengan &lt;b&gt;Yes&lt;/b&gt;, kemudian restart komputer Anda.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Penting:&lt;/b&gt; Mengembalikan perubahan yang telah dilakukan tidak akan berdampak pada password baru yang telah Anda buat. Apapun password yang Anda tetapkan pada langkah 13 akan tetap berlaku.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/6608251069913856227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/11/cara-reset-password-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/6608251069913856227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/6608251069913856227'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/11/cara-reset-password-windows-7.html' title='Cara Reset Password Windows 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-1368595883580725602</id><published>2014-11-02T12:30:00.000+07:00</published><updated>2014-11-03T19:59:18.900+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Komputer Tips"/><title type='text'>Aktivasi Windows dan Microsoft Office dengan Windows Loader</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Windows Loader adalah program yang dikembangkan oleh Daz untuk mengaktifkan sebagian besar produk Microsoft seperti Windows 7, Windows 8 / 8.1, Office 2010, Office 2013 dan Office 365 secara gratis.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;b&gt;Peringatan: Jika Anda benar-benar menyukai produk MS, Java Zone sangat menyarankan Anda untuk membelinya secara resmi daripada menggunakan produk ini! Windows Loader dibuat dengan tujuan hanya untuk mengevaluasi software yang disebutkan di atas. Hanya untuk tujuan pendidikan saja!&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
Bagaimana cara menggunakan Windows Loader&lt;/h3&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Nonaktifkan Program Antivirus - Lebih dari 80% program antivirus mendeteksi Windows Loader sebagai &lt;a href=&quot;http://usa.kaspersky.com/internet-security-center/threats/riskware&quot; target=&quot;_blank&quot;&gt;&quot;Win32 / Hack Tool&quot;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download&amp;nbsp;&lt;a href=&quot;http://adf.ly/tewkr&quot; target=&quot;_blank&quot;&gt;Windows Loader&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Instal Windows Loader yang telah Anda download, dan pastikan Anda terhubung ke internet.&lt;/li&gt;
&lt;li&gt;Restart komputer Anda setelah proses instalasi selesai dilakukan.&lt;/li&gt;
&lt;li&gt;Selamat! Windows dan Office Anda sekarang telah di aktifkan secara permanen.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Update:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jika link download diatas bermasalah, atau Windows Loader yang telah Anda download gagal aktivasi produk Microsoft. Cobalah link dibawah ini.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 26px;&quot;&gt;&lt;a href=&quot;http://adf.ly/thgpe&quot; target=&quot;_blank&quot;&gt;Download Windows Loader 2.2.2&lt;/a&gt; - Untuk Windows 7, Vista, Office 2010, 2013.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 26px;&quot;&gt;&lt;a href=&quot;http://adf.ly/thgym&quot; target=&quot;_blank&quot;&gt;Download Windows Loader 2.3.0&lt;/a&gt; - Untuk&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 26px;&quot;&gt;Windows 8/8.1/Office 2013/365.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i&gt;sumber: download.windowsloaderdaz.com&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/1368595883580725602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/11/aktivasi-windows-dan-microsoft-office.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1368595883580725602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1368595883580725602'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/11/aktivasi-windows-dan-microsoft-office.html' title='Aktivasi Windows dan Microsoft Office dengan Windows Loader'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-8030868233289246025</id><published>2014-08-29T00:08:00.000+07:00</published><updated>2014-08-29T00:11:25.307+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Aplikasi Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><title type='text'>Cara Menonaktifkan Layar Auto-Rotation di Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Secara default, kebanyakan aplikasi Android akan mengikuti perubahan orientasi layar secara ototamis ketika pengguna memutar perangkat android mereka. Misal dari potrait ke landscape atau sebaliknya. Bagi kebanyakan aplikasi hal ini tidak terlalu mempengaruhi aplikasi tersebut, baik dari sisi kinerja maupun tampilan aplikasi. Tetapi bagaimana jika sebuah aplikasi diharuskan untuk terkunci pada salah satu orientasi layar tertentu ketika aplikasi tersebut dijalankan dan melepaskannya kembali ke pengaturan orientasi layar awal ketika pengguna keluar dari aplikasi tersebut?&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Misalkan pada sebuah game yang mengharuskan layar terkunci pada orientasi landscape yang akan membuat pengguna lebih nyaman untuk memainkan game tersebut. Dan pertanyaannya sekarang, bagaimana cara menonaktifkan layar auto-rotation pada perangkat android dengan kode program?&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Untuk mengunci layar pada orientasi tertentu secara dinamik, memilih antara potrait atau landscape pada saat runtime, anda dapat menggunakan method ini&amp;nbsp;&lt;i&gt;Activity#setRequestedOrientation()&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Dibawah ini adalah contoh method yang berguna untuk mengunci orientasi layar ke mode potrait pada saat runtime.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;pre class=&quot;brush: java&quot;&gt;protected void setOrientation() {
    int current = getRequestedOrientation();
    // only switch the orientation if not in portrait
    if ( current != ActivityInfo.SCREEN_ORIENTATION_PORTRAIT ) {
        setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT );
    }
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Untuk mengunci orientasi layar ke mode potrait pada saat sebuah Activity sedang berjalan, panggil method &lt;i&gt;setOrientation() &lt;/i&gt;melalui method &lt;i&gt;onCreate() &lt;/i&gt;dari Activity tersebut.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Dibawah ini merupakan contoh program android sederhana yang mengimplementasikan method diatas.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;MainActivity.java&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;&lt;pre class=&quot;brush: java&quot;&gt;package com.sample.disableautorotation;

//rizki-java.blogspot.com

import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;

public class MainActivity extends ActionBarActivity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);

  // invoke setOrientation() method to make this Activity locked on
  // Potrait mode
  this.setOrientation();

  setContentView(R.layout.activity_main);

  if (savedInstanceState == null) {
   getSupportFragmentManager().beginTransaction()
     .add(R.id.container, new PlaceholderFragment()).commit();
  }
 }

 /** used to lock screen orientation to be Potrait */
 protected void setOrientation() {
  int current = getRequestedOrientation();

  // only switch the orientation if not in portrait
  if (current != ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) {
   setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
  }
 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {

  // Inflate the menu; this adds items to the action bar if it is present.
  getMenuInflater().inflate(R.menu.main, menu);
  return true;
 }

 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
  // Handle action bar item clicks here. The action bar will
  // automatically handle clicks on the Home/Up button, so long
  // as you specify a parent activity in AndroidManifest.xml.
  int id = item.getItemId();
  if (id == R.id.action_settings) {
   return true;
  }
  return super.onOptionsItemSelected(item);
 }

 /**
  * A placeholder fragment containing a simple view.
  */
 public static class PlaceholderFragment extends Fragment {

  public PlaceholderFragment() {
  }

  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
    Bundle savedInstanceState) {
   View rootView = inflater.inflate(R.layout.fragment_main, container,
     false);
   return rootView;
  }
 }

}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Download: &lt;a href=&quot;http://adf.ly/rYMh2&quot; target=&quot;_blank&quot;&gt;DisableAutoRotation.zip (source code)&lt;/a&gt;, atau lihat &lt;a href=&quot;http://developer.android.com/reference/android/provider/Settings.System.html#ACCELEROMETER_ROTATION&quot; target=&quot;_blank&quot;&gt;Dokumentasi&lt;/a&gt;&amp;nbsp;lengkap.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Posting lainnya dari Java Zone:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/08/mengambil-sub-list-dari-sebuah.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Mengambil Sub List dari Sebuah ArrayList di Java&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/08/cara-memasang-iklan-google-adsense_23.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Cara memasang iklan Google Adsense dibawah judul postingan Blog&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/06/android-asynctask-dan-progress-bar.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Android AsyncTask dan ProgressBar&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/05/android-background-service-contoh.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Android Background Service, contoh penggunaan IntentService&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/download-root-checker-apk-untuk-android.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Download Root Checker Apk untuk Android&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/8030868233289246025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/08/cara-menonaktifkan-layar-auto-rotation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8030868233289246025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8030868233289246025'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/08/cara-menonaktifkan-layar-auto-rotation.html' title='Cara Menonaktifkan Layar Auto-Rotation di Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-2717194666264048930</id><published>2014-08-25T21:11:00.000+07:00</published><updated>2014-08-25T21:11:42.313+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tips"/><title type='text'>Mengambil Sub List dari sebuah ArrayList di Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Pada postingan kali ini kita akan melihat bagaimana cara mendapatkan sublist dari sebuah ArrayList menggunakan method &lt;a href=&quot;http://developer.android.com/reference/java/util/List.html#subList(int, int)&quot; target=&quot;_blank&quot;&gt;subList&lt;/a&gt;&amp;nbsp;dari Class ArrayList. Method tersebut akan mengambil sebuah list dengan porsi yang telah di tentukan pada parameter method (int start sampai dengan int end dikurangi 1) dan method tersebut akan mengembalikannya sebagai sebuah List.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public abstract List&amp;lt;E&amp;gt; subList (int start, int end);
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Parameter:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;start&lt;/i&gt;: index darimana sublist akan dimulai.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;end&lt;/i&gt;: index dimana sublist akan berakhir dikurangi 1.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Eksepsi:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;a href=&quot;http://developer.android.com/reference/java/lang/IndexOutOfBoundsException.html&quot; target=&quot;_blank&quot;&gt;&lt;i&gt;indexOutOfBoundsException&lt;/i&gt;&lt;/a&gt;: jika&amp;nbsp;&lt;i&gt;start &amp;lt; 0, start &amp;gt; end&lt;/i&gt; atau &lt;i&gt;end &amp;gt; size()&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Contoh cara mendapatkan sub-list dari sebuah ArrayList&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Dibawah ini merupakan contoh sederhana dari penggunaan method subList() untuk mendapatkan sub list dari sebuah ArrayList.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;// rizki-java.blogspot.com

import java.util.ArrayList;
import java.util.List;

public class SublistExample {

 public static void main(String a[]) {
  ArrayList&amp;lt;String&amp;gt; al = new ArrayList&amp;lt;String&amp;gt;();

  // Add some elements to ArrayList
  al.add(&quot;A&quot;);
  al.add(&quot;B&quot;);
  al.add(&quot;C&quot;);
  al.add(&quot;D&quot;);
  al.add(&quot;E&quot;);
  al.add(&quot;F&quot;);

  System.out.println(&quot;Original ArrayList Content: &quot; + al);

  // Sublist to ArrayList
  ArrayList&amp;lt;String&amp;gt; al2 = new ArrayList&amp;lt;String&amp;gt;(al.subList(1, 4));
  System.out.println(&quot;SubList stored in ArrayList: &quot; + al2);

  // Sublist to List
  List&amp;lt;String&amp;gt; list = al.subList(1, 4);
  System.out.println(&quot;SubList stored in List: &quot; + list);
 }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;source: &lt;a href=&quot;http://developer.android.com/reference/java/util/List.html#subList(int, int)&quot; target=&quot;_blank&quot;&gt;java List&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/2717194666264048930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/08/mengambil-sub-list-dari-sebuah.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2717194666264048930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2717194666264048930'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/08/mengambil-sub-list-dari-sebuah.html' title='Mengambil Sub List dari sebuah ArrayList di Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-8695875892118587669</id><published>2014-08-23T12:21:00.000+07:00</published><updated>2014-08-23T13:00:28.115+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Widgets"/><category scheme="http://www.blogger.com/atom/ns#" term="SEO"/><title type='text'>Cara Memasang Iklan Google Adsense dibawah Judul Postingan Blog</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Bagi kebanyakan Blogger menempatkan iklan Google Adsense dibawah judul postingan menjadi salah satu tempat terbaik untuk meningkatkan CTR (&lt;span style=&quot;box-sizing: border-box; line-height: 34px; text-align: justify;&quot;&gt;&lt;i&gt;Click Through Rate&lt;/i&gt;), &lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 34px; text-align: justify;&quot;&gt;sehingga penempatan iklan dibawah judul postingan dapat menjadi salah satu pilihan untuk memaksimalkan pendapatan dari sebuah blog. Bagaimana, apakah anda tertarik untuk mencobanya? Ok, daripada kebanyakan basa-basi. Langsung saja, dibawah ini merupakan tutorial untuk memasang iklan Google Adsense dibawah judul postingan blog.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 34px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaB8_hfpKpgXndeKAZd4pW1uEtBXuLKr7E4Y-IMKsArJpUXl1tQSGzC7zSOgmAAXKogJE_eHe2FTSIKvqN8DjugAGofmIns4CgtpvfVTEKopw5sao8gaT0P3Occ-TWTrrSuqE8RiSXuCfZ/s1600/adsense2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Google Adsense&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaB8_hfpKpgXndeKAZd4pW1uEtBXuLKr7E4Y-IMKsArJpUXl1tQSGzC7zSOgmAAXKogJE_eHe2FTSIKvqN8DjugAGofmIns4CgtpvfVTEKopw5sao8gaT0P3Occ-TWTrrSuqE8RiSXuCfZ/s1600/adsense2.jpg&quot; height=&quot;171&quot; title=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-family: Georgia, Times New Roman, serif; font-weight: normal; line-height: 34px; text-align: justify;&quot;&gt;Membuat Google Ad:&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Masuk ke akun &lt;a href=&quot;http://www.google.com/adsense/&quot; target=&quot;_blank&quot;&gt;Google Adsense&lt;/a&gt; anda.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Buat unit iklan baru.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Untuk hasil yang lebih baik gunakan ukuran iklan yang disarankan 300*250 persegi panjang sedang atau 336*280 persegi panjang besar.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Sesuikan warna unit iklan baru anda.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Klik tombol &lt;b&gt;Simpan dan dapatkan kode.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 34px;&quot;&gt;Pilih&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; line-height: 34px;&quot;&gt;Synchronous &lt;/strong&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 34px;&quot;&gt;pada tipe kode kemudian copy kode iklan yang baru dibuat.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Sekarang parse kode tersebut menggunakan &lt;a href=&quot;http://accessify.com/tools-and-wizards/developer-tools/quick-escape/default.php&quot; target=&quot;_blank&quot;&gt;HTML Parse Tool&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Terakhir copy kode yang sudah di parse.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; line-height: 34px;&quot;&gt;Mem&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; line-height: 34px;&quot;&gt;asang Iklan Google Adsense dibawah Judul Posting:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Masuk ke &lt;a href=&quot;http://www.blogger.com/&quot; target=&quot;_blank&quot;&gt;Blogger&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;gt; Template.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Untuk mengantisipasi jika nanti terjadi error, sebelum melakukan perubahan apapun sebaiknya anda &lt;b&gt;back up Template&lt;/b&gt; terlebih dahulu.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Klik tombol &lt;b&gt;Edit HTML.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Tekan Ctrl+F dan cari kode berikut.&lt;/span&gt;&lt;/li&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;data:post.body/&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Sekarang paste kode berikut tepat diatasnya.&lt;/span&gt;&lt;/li&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.pageType == &amp;amp;quot;item&amp;amp;quot;&#39;&amp;gt;

Paste kode iklan yang telah di parse disini

&amp;lt;/b:if&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Jangan lupa untuk mengganti &quot;Paste kode iklan yang telah di parse disini&quot; dengan kode iklan yang telah di parse. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;Terakhir simpan Template anda dan selesai.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; Berdasarkan Template yang anda gunakan, anda mungkin akan menemukan beberapa kode berikut,&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;data:post.body/&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 34px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, Times, serif; font-size: 17px;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt; Cobalah semua kode diatas sampai iklan anda muncul.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; line-height: 34px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 34px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Setelah anda menyelesaikan langkah-langkah diatas, iklan akan muncul dibawah judul postingan dan rata kiri. Jika anda ingin menampilkannya di tengah atau rata kanan, maka gunakan kode berikut.&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, Times, serif; font-size: 17px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.pageType == &amp;amp;quot;item&amp;amp;quot;&#39;&amp;gt;

&amp;lt;div align=&quot;center&quot;&amp;gt;

Paste kode iklan yang telah di parse disini

&amp;lt;/div&amp;gt;

&amp;lt;/b:if&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; Semua kode diatas di tempatkan diantara &lt;b&gt;Conditional Tags&lt;/b&gt; yang akan membuat iklan di tampilkan hanya pada halaman postingan, pada halaman beranda dan halaman label iklan tidak akan muncul. Jika anda ingin agar iklan muncul pada setiap halaman, maka anda harus menghapus conditional tags diatas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Jika anda menampilkan iklan pada setiap halaman (postingan, beranda, dan label), pada halaman beranda dan halaman label iklan akan di tampilkan di bawah setiap judul postingan yang artinya jika anda mengatur 5 postingan yang muncul pada halaman beranda blog anda, maka iklan hanya akan muncul pada 3 postingan teratas dan pada 2 postingan terakhir iklan tidak akan ditampilkan atau blank space (ini berkaitan dengan kebijakan Google Adsense, jumlah maksimal iklan yang dapat ditampilkan per halaman oleh Hosted Account seperti Blogger adalah 3 iklan saja).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Saya menyarankan pada halaman beranda dan label untuk menampilkan iklan dibawah judul postingan pertama saja, ganti Conditional Tags diatas dengan kode dibawah ini untuk menampilkan iklan hanya dibawah judul postingan pertama/teratas pada halaman beranda dan label.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;b:if cond=&#39;data:post.isFirstPost&#39;&amp;gt;

Paste kode iklan yang telah di parse disini

&amp;lt;/b:if&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Ok, sekian untuk tutorial cara menampilkan iklan Google Adsense dibawah judul postingan.. Sekarang giliran anda untuk mencobanya, semoga bermanfaat.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;source:&amp;nbsp;&lt;a href=&quot;http://www.bloggertipstricks.com/&quot; target=&quot;_blank&quot;&gt;bloggertipstricks&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/8695875892118587669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/08/cara-memasang-iklan-google-adsense_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8695875892118587669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8695875892118587669'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/08/cara-memasang-iklan-google-adsense_23.html' title='Cara Memasang Iklan Google Adsense dibawah Judul Postingan Blog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaB8_hfpKpgXndeKAZd4pW1uEtBXuLKr7E4Y-IMKsArJpUXl1tQSGzC7zSOgmAAXKogJE_eHe2FTSIKvqN8DjugAGofmIns4CgtpvfVTEKopw5sao8gaT0P3Occ-TWTrrSuqE8RiSXuCfZ/s72-c/adsense2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-4148162667448973235</id><published>2014-06-04T16:17:00.001+07:00</published><updated>2014-08-05T19:29:26.615+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android AsyncTask dan Progress bar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s1600/DroidJava1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s1600/DroidJava1.png&quot; height=&quot;156&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sekilas tentang AsyncTask&lt;/span&gt;&lt;/u&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;AsyncTask dapat digunakan pada saat sebuah aplikasi android di haruskan untuk melakukan operasi yang cukup lama (&lt;i&gt;long-running operations&lt;/i&gt;), tugas atau &lt;i&gt;task &lt;/i&gt;tersebut akan dikirimkan ke background thread untuk dieksekusi. Penggunaan AsyncTask berguna&amp;nbsp;untuk menghindari masalah pada kecepatan UI, karena operasi&amp;nbsp;tidak dijalankan di atas UI thread, melainkan pada thread terpisah (&lt;i&gt;worker thread&lt;/i&gt;). Kemudian mempublikasikan hasil dari operasi di UI thread. AsyncTask dapat menjadi alternatif dari penggunaan Threads dan / atau Handlers.&amp;nbsp;AsyncTasks sebaiknya digunakan untuk operasi yang singkat (kebanyakan hanya beberapa detik saja).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3 Parameter Generic AsyncTask:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Params&lt;/i&gt;, tipe parameter yang dikirim untuk dieksekusi di background.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Progress&lt;/i&gt;, tipe parameter yang digunakan untuk menunjukan kemajuan sebuah operasi yang terjadi di background (biasanya digunakan untuk update &lt;i&gt;ProgressBar&lt;/i&gt;).&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Result&lt;/i&gt;, tipe parameter yang akan digunakan untuk menampung hasil dari operasi yang terjadi di background.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;AsyncTask dijalankan melalui 4 langkah:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;onPreExecute ()&lt;/i&gt;, dipanggil pada UI thread sebelum sebuah tugas dijalankan. Langkah ini biasanya digunakan untuk inisialisasi tugas, misalnya menginisialisai sebuah&amp;nbsp;&lt;i&gt;ProgressBar&lt;/i&gt;&amp;nbsp;dan menampilkannya pada UI.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;doInBackground (params. ..)&lt;/i&gt;, dipanggil pada background thread setelah method &lt;i&gt;onPreExecute ()&lt;/i&gt; selesai dieksekusi. Langkah ini digunakan untuk mengeksekusi sebuah&amp;nbsp;&lt;i&gt;long-running operations&lt;/i&gt;. Parameter AsyncTask (&lt;i&gt;params&lt;/i&gt;) dilewatkan pada method ini, hasil operasi harus dikembalikan oleh method ini dan akan diteruskan kembali ke langkah terakhir (&lt;i&gt;onPostExecute(Result)&lt;/i&gt;). Jika anda menggunakan &lt;i&gt;ProgressBar &lt;/i&gt;untuk menampilkan kemajuan sebuah operasi yang terjadi di background, maka pada method ini anda dapat memanggil method &lt;i&gt;publishProgress (Progress. ..) &lt;/i&gt;yang secara otomatis akan memanggil method&amp;nbsp;&lt;i&gt;onProgressUpdate (Progress. ..) &lt;/i&gt;yang berjalan pada UI thread. Selanjutnya anda dapat meng-update &lt;i&gt;ProgressBar &lt;/i&gt;berdasarkan nilai-nilai yang diterima pada method &lt;i&gt;onProgressUpdate(Progress...)&lt;/i&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;onProgressUpdate (Progress. ..)&lt;/i&gt;, dipanggil pada UI thread setelah method &lt;i&gt;publishProgress (Progress. ..) &lt;/i&gt;selesai dieksekusi. Method ini digunakan untuk menampilkan segala bentuk kemajuan pada UI pada saat sebuah operasi masih berjalan di background.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;onPostExecute (Result)&lt;/i&gt;, dipanggil pada UI thread setelah sebuah operasi yang terjadi di background telah selesai dieksekusi, hasil dari background operations akan diteruskan ke method ini sebagai parameter.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sekilas tentang ProgressBar&lt;/span&gt;&lt;/u&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;ProgressBar digunakan sebagai Indikator visual dari kemajuan suatu operasi, menampilkan sebuah bar ke pengguna mewakili seberapa jauh operasi telah berkembang.&amp;nbsp;Untuk menambahkan progress bar pada layout, Anda dapat menggunakan elemen &lt;i&gt;&amp;lt;ProgressBar&amp;gt;&lt;/i&gt;. Jika anda ingin menunjukan kemajuan dari sebuah operasi yang telah diketahui, maka anda harus menggunakan progress bar horizontal, kemudian panggil method &lt;i&gt;incrementProgressBy ()&lt;/i&gt; atau &lt;i&gt;setProgress () &lt;/i&gt;untuk menaikan nilai dari kemajuan suatu operasi. Untuk mengatur progress bar ke bar horizontal, anda dapat menggunakan atribut&amp;nbsp;&lt;i&gt;Widget.ProgressBar.Horizontal.&amp;nbsp;&lt;/i&gt;Secara default, progress bar merupakan sebuah roda yang berputar (spinning wheel) dan bar penuh saat mencapai 100.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Implementasi AsyncTask dan ProgressBar pada Android&lt;/span&gt;&lt;/u&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dibawah ini merupakan contoh program android yang bernama &quot;AsyncTaskProgressBarSample&quot; yang mengimplementasikan AsyncTask dan ProgressBar pada android. User akan memilih sebuah file dari media penyimpanan, kemudian file tersebut akan dikirimkan ke AsyncTask untuk di baca (pembacaan file dilakukan pada background thread). Pada saat file sedang dibaca, AsyncTask akan mengirimkan kemajuan dari pembacaan file ke UI thread dan menampilkannya melalui ProgressBar. Setelah file selesai di baca atau proses pembacaan file di batalkan, secara otomatis progressbar akan menghilang, kemudian hasil dari operasi akan ditampilkan melalui TextView (lama operasi dan status operasi yang terjadi di background).&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Program AsyncTaskProgressBarSample dibangun menggunakan Eclipse, Java 1.7, dan dapat berjalan diatas Android 2.1 Eclair (API 7) - Android 4.4 KitKat (API 19).&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Note:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;AsyncTaskProgressBarSample menggunakan support library (android-support-v7-appcompat), &lt;a href=&quot;http://adf.ly/qsdZ9&quot; target=&quot;_blank&quot;&gt;lihat bagaimana cara setup support library.pada Eclipse disini&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;AsyncTaskProgressbarSample menggunakan implicit intent untuk memilih sebuah file image atau video dari Gallery built-in app secara langsung. Untuk memilih file format yang lainnya (misal, .txt, .apk, dan sebagainya), maka dibutuhkan aplikasi pihak ke-3&amp;nbsp;seperti File Manager.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Download:&amp;nbsp;&lt;a href=&quot;http://adf.ly/qsdnk&quot; target=&quot;&quot;&gt;AsyncTaskProgressbarSample.zip&lt;/a&gt; (source-code), &lt;a href=&quot;http://adf.ly/qsdzb&quot;&gt;AsyncTaskProgressbarSample.apk&lt;/a&gt; (file apk).&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;src/com.me.asynctaskprogressbarsample/MainActivity.java&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;package com.me.asynctaskprogressbarsample;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;

import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends ActionBarActivity {

 private static final int REQ_CODE = 0;
 private ReadTask tasker;

 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);

  if (savedInstanceState == null) {
   getSupportFragmentManager().beginTransaction()
     .add(R.id.container, new PlaceholderFragment()).commit();
  }
 }

 /**
  * called when &quot;Cancel button&quot; is clicked it should abort the Asynctask
  * process
  */
 public void cancelButton(View v) {

  // check is there any task that can be aborted
  if (tasker.getStatus() == AsyncTask.Status.RUNNING
    || tasker.getStatus() == AsyncTask.Status.PENDING) {

   // abort the task
   tasker.cancel(true);
  }
 }

 /** AsyncTask class used for reading a file &amp;lt;Params, Progress, Result&amp;gt; */
 private class ReadTask extends AsyncTask&amp;lt;String, Integer, String&amp;gt; {

  // private String data;
  private String time;
  private int progressStatus;
  ProgressBar bar;
  TextView barPercent;
  Button openButton;
  Button cancelButton;
  TextView tv1;
  TextView tv2;

  @Override
  protected void onPreExecute() {
   super.onPreExecute();

   // initial the Views
   bar = (ProgressBar) findViewById(R.id.progressbar);
   barPercent = (TextView) findViewById(R.id.barPercent);
   openButton = (Button) findViewById(R.id.openButton);
   cancelButton = (Button) findViewById(R.id.cancelButton);
   tv1 = (TextView) findViewById(R.id.textView1);
   tv1.setText(&quot;Elapsed: &quot;);
   tv2 = (TextView) findViewById(R.id.textView2);
   tv2.setText(&quot;Status: &quot;);

   // disable openButton
   openButton.setEnabled(false);

   // show the Views
   bar.setVisibility(View.VISIBLE);
   barPercent.setVisibility(View.VISIBLE);
   cancelButton.setVisibility(View.VISIBLE);

   progressStatus = 0;
   bar.setProgress(progressStatus);
   barPercent.setText(&quot;Reading... 0%&quot;);
  }

  @Override
  protected String doInBackground(String... params) {
   // TODO Auto-generated method stub
   File file = new File(params[0]);
   int length = (int) file.length();
   int i = 0;

   // j = 0;
   // byte[] temp = new byte[length];

   InputStream in = null;
   byte[] buffer = new byte[8192];
   try {
    in = new BufferedInputStream(new FileInputStream(file));
    long start = System.currentTimeMillis();
    while ((i = in.read(buffer)) != -1) {

     // temp[j++] = (byte) i;

     progressStatus += i;

     // update the progressbar
     publishProgress((int) ((progressStatus / (float) length) * 100));

     // Escape early if cancel() is called
     if (isCancelled())
      break;

    }
    // data = byteToString(temp).toString();
    time = ((System.currentTimeMillis() - start) + &quot;ms&quot;).toString();

   } catch (FileNotFoundException ex) {
    ex.printStackTrace();
    time = ex.getMessage();
   } catch (IOException ex) {
    // TODO Auto-generated catch block
    ex.printStackTrace();
    time = ex.getMessage();
   } finally {
    if (in != null) {
     try {
      in.close();
     } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      time = e.getMessage();
     }
    }
   }
   return time;
  }

  @Override
  protected void onProgressUpdate(Integer... progress) {
   super.onProgressUpdate(progress);

   // bar.incrementProgressBy(progress[0]);

   bar.setProgress(progress[0]);
   barPercent.setText(&quot;Reading... &quot; + progress[0] + &quot;%&quot;);
  }

  @Override
  protected void onCancelled() {
   super.onCancelled();

   // the task was cancelled
   // it&#39;s time to release resources
   results(&quot;-&quot;, &quot;Cancelled&quot;);
  }

  @Override
  protected void onPostExecute(String result) {
   super.onPostExecute(result);

   results(result, &quot;Finished&quot;);
  }

  void results(String e, String s) {

   // clean up the Tasker
   tasker = null;

   // enable the openButton
   openButton.setEnabled(true);

   // close the Views
   bar.setVisibility(View.GONE);
   barPercent.setVisibility(View.GONE);
   cancelButton.setVisibility(View.GONE);

   // update the TextView1 and TextView2
   tv1.setText(&quot;Elapsed: &quot; + e);
   tv2.setText(&quot;Status: &quot; + s);
  }

  /**
   * called to cast byte array to String private String
   * byteToString(byte[] b) { char[] c = new char[b.length]; StringBuilder
   * sb = new StringBuilder();
   * 
   * for (int i = 0; i &amp;lt; c.length; i++) { c[i] = (char) b[i];
   * sb.append(c[i]); }
   * 
   * return sb.toString(); }
   */

 }

 /**
  * check the AsyncTask status to make sure that the Tasker is ready to do
  * some task
  * 
  * @return
  */
 boolean gotStatus() {

  if (tasker == null || tasker.getStatus() == AsyncTask.Status.PENDING
    || tasker.getStatus() == AsyncTask.Status.FINISHED) {

   // initial the Tasker
   tasker = new ReadTask();

   return true;
  }
  if (tasker.getStatus() == AsyncTask.Status.RUNNING) {

   // Tasker is still running
   // so we can&#39;t give it another task at the time
   return false;
  }

  return false;
 }

 /** called when button &quot;Open a File&quot; clicked */
 public void openFile(View v) {

  // check the Tasker status
  // if true, it means Tasker ready to recieve a new task
  if (gotStatus()) {

   // we use implicit intent to get a file from the system (image,
   // video)
   // to select another file format (e.g .txt, .apk, and so on)
   // we need a third-party app such as a File Manager
   Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
   intent.setType(&quot;*/*&quot;);
   intent.addCategory(Intent.CATEGORY_OPENABLE);

   try {
    startActivityForResult(
      Intent.createChooser(intent, &quot;Select a file&quot;), REQ_CODE);
   } catch (android.content.ActivityNotFoundException ex) {
    Toast.makeText(getBaseContext(), &quot;You a need a File Manager&quot;,
      Toast.LENGTH_LONG).show();
    ex.printStackTrace();
   }
  } else {
   Toast.makeText(MainActivity.this, &quot;Task is still Running&quot;,
     Toast.LENGTH_LONG).show();
  }
 }

 @Override
 protected void onActivityResult(int reqCode, int resultCode, Intent data) {

  // check activity result base on reqCode
  // reqCode must be same as REQ_CODE
  switch (reqCode) {
  case REQ_CODE:
   if (resultCode == RESULT_OK) {

    // get Uri data from intent
    Uri uri = data.getData();

    String path = null;
    try {

     // convert Uri to file path (String)
     path = getPath(getBaseContext(), uri);

     // send the task to the AsyncTask
     tasker.execute(path);

    } catch (URISyntaxException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    }
   }
  }
 }

 private static String getPath(Context context, Uri uri)
   throws URISyntaxException {
  if (&quot;content&quot;.equalsIgnoreCase(uri.getScheme())) {
   String[] projection = { &quot;_data&quot; };
   Cursor cursor = null;

   try {
    cursor = context.getContentResolver().query(uri, projection,
      null, null, null);
    int column_index = cursor.getColumnIndexOrThrow(&quot;_data&quot;);
    if (cursor.moveToFirst()) {
     return cursor.getString(column_index);
    }
   } catch (Exception e) {
    e.printStackTrace();
   }
  } else if (&quot;file&quot;.equalsIgnoreCase(uri.getScheme())) {
   return uri.getPath();
  }

  return null;
 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {

  // Inflate the menu; this adds items to the action bar if it is present.
  getMenuInflater().inflate(R.menu.main, menu);
  return true;
 }

 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
  // Handle action bar item clicks here. The action bar will
  // automatically handle clicks on the Home/Up button, so long
  // as you specify a parent activity in AndroidManifest.xml.
  int id = item.getItemId();
  if (id == R.id.action_settings) {
   return true;
  }
  return super.onOptionsItemSelected(item);
 }

 /**
  * A placeholder fragment containing a simple view.
  */
 public static class PlaceholderFragment extends Fragment {

  public PlaceholderFragment() {
  }

  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
    Bundle savedInstanceState) {
   View rootView = inflater.inflate(R.layout.fragment_main, container,
     false);
   return rootView;
  }
 }

}

&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
res/layout/activity_main.xml&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:id=&quot;@+id/container&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    tools:context=&quot;com.me.asynctaskprogressbarsample.MainActivity&quot;
    tools:ignore=&quot;MergeRootFrame&quot; /&amp;gt;


&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;res/layout/fragment_main.xml&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;
    android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;
    tools:context=&quot;com.me.asynctaskprogressbarsample.MainActivity$PlaceholderFragment&quot; &amp;gt;

    &amp;lt;Button
        android:id=&quot;@+id/openButton&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_alignParentTop=&quot;true&quot;
        android:onClick=&quot;openFile&quot;
        android:text=&quot;Open a File&quot; /&amp;gt;

    &amp;lt;LinearLayout
        android:id=&quot;@+id/linear&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_below=&quot;@id/openButton&quot;
        android:orientation=&quot;vertical&quot; &amp;gt;

        &amp;lt;TextView
            android:id=&quot;@+id/textView1&quot;
            android:layout_width=&quot;match_parent&quot;
            android:layout_height=&quot;wrap_content&quot;
            android:layout_marginTop=&quot;10dp&quot;
            android:text=&quot;Elapsed: &quot; /&amp;gt;

        &amp;lt;TextView
            android:id=&quot;@+id/textView2&quot;
            android:layout_width=&quot;match_parent&quot;
            android:layout_height=&quot;wrap_content&quot;
            android:layout_marginTop=&quot;10dp&quot;
            android:text=&quot;Status: &quot; /&amp;gt;
    &amp;lt;/LinearLayout&amp;gt;

    &amp;lt;ProgressBar
        android:id=&quot;@+id/progressbar&quot;
        style=&quot;@android:style/Widget.ProgressBar.Horizontal&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_alignLeft=&quot;@id/linear&quot;
        android:layout_below=&quot;@id/linear&quot;
        android:visibility=&quot;invisible&quot; /&amp;gt;

    &amp;lt;TextView
        android:id=&quot;@+id/barPercent&quot;
        android:layout_width=&quot;wrap_content&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_alignLeft=&quot;@id/linear&quot;
        android:layout_below=&quot;@id/progressbar&quot;
        android:visibility=&quot;invisible&quot; /&amp;gt;

    &amp;lt;Button
        android:id=&quot;@+id/cancelButton&quot;
        android:layout_width=&quot;wrap_content&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_below=&quot;@id/barPercent&quot;
        android:layout_centerHorizontal=&quot;true&quot;
        android:onClick=&quot;cancelButton&quot;
        android:text=&quot;Cancel&quot;
        android:visibility=&quot;invisible&quot; /&amp;gt;

    &amp;lt;TextView
        android:id=&quot;@+id/attrs&quot;
        android:layout_width=&quot;wrap_content&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_alignParentBottom=&quot;true&quot;
        android:layout_alignParentRight=&quot;true&quot;
        android:layout_marginBottom=&quot;15dp&quot;
        android:text=&quot;@string/attrs&quot;
        android:textStyle=&quot;bold&quot; /&amp;gt;

&amp;lt;/RelativeLayout&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
AndroidManifest.xml&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    package=&quot;com.me.asynctaskprogressbarsample&quot;
    android:versionCode=&quot;1&quot;
    android:versionName=&quot;1.0&quot; &amp;gt;

    &amp;lt;uses-sdk
        android:minSdkVersion=&quot;7&quot;
        android:targetSdkVersion=&quot;19&quot; /&amp;gt;

    &amp;lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&amp;gt;

    &amp;lt;application
        android:allowBackup=&quot;true&quot;
        android:icon=&quot;@drawable/ic_launcher&quot;
        android:label=&quot;@string/app_name&quot;
        android:theme=&quot;@style/AppTheme&quot; &amp;gt;
        &amp;lt;activity
            android:name=&quot;com.me.asynctaskprogressbarsample.MainActivity&quot;
            android:label=&quot;@string/app_name&quot; &amp;gt;
            &amp;lt;intent-filter&amp;gt;
                &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;

                &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;
            &amp;lt;/intent-filter&amp;gt;
        &amp;lt;/activity&amp;gt;
    &amp;lt;/application&amp;gt;

&amp;lt;/manifest&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Berikut tampilan program AsyncTaskProgressbarSample pada saat dijalankan:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Tampilan utama program:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOJRRo6C3YqGk2BA4JgGYtpStJQYTa_MxPOvbrO5gzP-bRtCiA8ta1dLm-9UKrOqSysIJhwVYHDm98wBRUfJvq6llfhOry_VDhrQaaPoy61SHj7Nxt1LxCBQy7tQ57jjokCC2iMOYhKQeQ/s1600/a.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample app img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOJRRo6C3YqGk2BA4JgGYtpStJQYTa_MxPOvbrO5gzP-bRtCiA8ta1dLm-9UKrOqSysIJhwVYHDm98wBRUfJvq6llfhOry_VDhrQaaPoy61SHj7Nxt1LxCBQy7tQ57jjokCC2iMOYhKQeQ/s1600/a.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada saat button &quot;Open a File&quot; dipilih:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUPBdncnSq4Q8CTYyuM0YkPgxF9R1KOefVpiqO09uYnG1FWw_6hCYA9bVkMwWpM-PyaBGGC1_XrcvAK4MtFad8_gDm-Tb2cFiP6FBnolIojEiq05hvByBv5xN7gPEyPVyPf4P83XEiZzRd/s1600/b.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample app img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUPBdncnSq4Q8CTYyuM0YkPgxF9R1KOefVpiqO09uYnG1FWw_6hCYA9bVkMwWpM-PyaBGGC1_XrcvAK4MtFad8_gDm-Tb2cFiP6FBnolIojEiq05hvByBv5xN7gPEyPVyPf4P83XEiZzRd/s1600/b.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada saat sebuah file sedang dibaca di background:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfcxruJVAxpHI-zdaRlUqTF75gU4pQSe3HqgbSXVPtNwyhRDITEiccC5j3TA75RRkEPxGC-KHgeoAIE1lg5QsR3_fM9W7wAvdBZ6I-5PSQl_1ebuftujtx4DAKxXsxuHj4NIDI62QTpc4f/s1600/c.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample app img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfcxruJVAxpHI-zdaRlUqTF75gU4pQSe3HqgbSXVPtNwyhRDITEiccC5j3TA75RRkEPxGC-KHgeoAIE1lg5QsR3_fM9W7wAvdBZ6I-5PSQl_1ebuftujtx4DAKxXsxuHj4NIDI62QTpc4f/s1600/c.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada saat operasi telah selesai dieksekusi (Finished)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSuwqjud57mrY_dHFwM1HwhWCZlYPrxUqDcj5yox2kgWAgE6wKxtWTGqOEDGXxurqqv3GseEcflio-8EJx04z4yEYSxOiSYRyk2zoPHoGBJ6SOvGZs42DrWyX3mSs2TQqt0f4LRpm0PLMu/s1600/d.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample app img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSuwqjud57mrY_dHFwM1HwhWCZlYPrxUqDcj5yox2kgWAgE6wKxtWTGqOEDGXxurqqv3GseEcflio-8EJx04z4yEYSxOiSYRyk2zoPHoGBJ6SOvGZs42DrWyX3mSs2TQqt0f4LRpm0PLMu/s1600/d.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada saat operasi dibatalkan (Cancelled)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLegMV_LrovhIkm_WD2oULm9g_ctEWeP5DwTo34dK8nR0L-x1PAE3TucCL2DhB4W8SKGfhtp8cXO0pXnWl_U1m2byRGoR6T-MyecWIphgzfKp8u4C7brofsrjmGpB-87nPHfIXb0Fv93zd/s1600/e.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android AsyncTask ProgressBar sample app img&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLegMV_LrovhIkm_WD2oULm9g_ctEWeP5DwTo34dK8nR0L-x1PAE3TucCL2DhB4W8SKGfhtp8cXO0pXnWl_U1m2byRGoR6T-MyecWIphgzfKp8u4C7brofsrjmGpB-87nPHfIXb0Fv93zd/s1600/e.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Source: &lt;/i&gt;&lt;a href=&quot;http://adf.ly/qse8P&quot; target=&quot;_blank&quot;&gt;Android Developer (AsyncTask)&lt;/a&gt;, &lt;a href=&quot;http://adf.ly/qseBR&quot; target=&quot;_blank&quot;&gt;Android Developer (ProgressBar)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/4148162667448973235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/06/android-asynctask-dan-progress-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4148162667448973235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4148162667448973235'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/06/android-asynctask-dan-progress-bar.html' title='Android AsyncTask dan Progress bar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s72-c/DroidJava1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-3676587461441510136</id><published>2014-05-28T19:51:00.000+07:00</published><updated>2014-08-05T19:51:56.071+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Programming"/><title type='text'>Android Background Service, Contoh Penggunaan IntentService</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s1600/DroidJava1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android Platform&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s1600/DroidJava1.png&quot; height=&quot;156&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: justify;&quot;&gt;
Kebanyakan proses yang terjadi pada suatu aplikasi Android berjalan pada layer teratas (&lt;i&gt;Foreground&lt;/i&gt;), berjalan diatas spesial Thread yang disebut &lt;i&gt;UI Thread&lt;/i&gt; atau &lt;i&gt;Main Thread&lt;/i&gt;. Hal ini dapat menyebabkan masalah jika suatu aplikasi harus menjalankan proses yang lama (&lt;i&gt;long-running operations&lt;/i&gt;) pada UI Thread, karena hal tersebut dapat menganggu kecepatan UI suatu aplikasi, bahkan dapat menyebabkan &lt;i&gt;System error. &lt;/i&gt;Untuk menghindari masalah tersebut android telah menyediakan beberapa class yang dapat menjalankan suatu proses pada thread terpisah dan berjalan pada background aplikasi. Salah satu class tersebut adalah IntentService.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: justify;&quot;&gt;
Dibawah ini merupakan contoh penggunaan IntentService pada pemrograman android. Pertama sebuah Activity (&lt;i&gt;MainActivity.java&lt;/i&gt;) akan mengambil referensi terhadap file .txt dari system, kemudian Activity tersebut akan mengirimkan path absoluth sebagai String kepada sebuah IntentService (&lt;i&gt;Services.java&lt;/i&gt;). IntentService akan membaca file tersebut kemudian mengembalikan isi file sebagai String ke Activity, selanjutnya Activity akan menampilkan isi file yang diterima dari IntentService pada sebuah TextView. Berikut source code nya:&lt;/div&gt;
&lt;br /&gt;
src/com.me.intentservicesample/MainActivity.java&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;package com.me.intentservicesample;

import java.net.URISyntaxException;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v7.app.ActionBarActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends ActionBarActivity {

 private static final int REQ_CODE = 0;
 //private ResponseReciever mResponseReciever = new ResponseReciever();
 
 private BroadcastReceiver reciever = new BroadcastReceiver() {
  
  @Override
  public void onReceive(Context context, Intent intent) {
   // TODO Auto-generated method stub
   Bundle bundle = intent.getExtras();
   if (bundle != null) {
    String data = bundle.getString(Services.DATA);
    int status = bundle.getInt(Services.STATUS);
    if (status == RESULT_OK) {
     //MainActivity mainActivity = new MainActivity();
     Toast.makeText(MainActivity.this, &quot;Finished&quot;,
       Toast.LENGTH_LONG).show();
     updateTextView(data);
    }
   }
  }
 };

 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);

  setContentView(R.layout.activity_main);

  if (savedInstanceState == null) {
   getSupportFragmentManager().beginTransaction()
     .add(R.id.container, new PlaceholderFragment()).commit();
  }
 }

 @Override
 protected void onResume() {
  super.onResume();
  IntentFilter intentFilter = new IntentFilter(Services.ACTION_BROADCAST);
  //intentFilter.addDataScheme(&quot;text/plain&quot;);
  
  LocalBroadcastManager.getInstance(MainActivity.this).registerReceiver(
    reciever, intentFilter);
 }

 @Override
 protected void onPause() {
  super.onPause();
  LocalBroadcastManager.getInstance(MainActivity.this)
    .unregisterReceiver(reciever);
 }
 
 /**
 private class ResponseReciever extends BroadcastReceiver {

  @Override
  public void onReceive(Context ctx, Intent intent) {
   // TODO Auto-generated method stub
   Bundle bundle = intent.getExtras();
   if (bundle != null) {
    String data = bundle.getString(Services.DATA);
    int status = bundle.getInt(Services.STATUS);
    if (status == RESULT_OK) {
     //MainActivity mainActivity = new MainActivity();
     Toast.makeText(MainActivity.this, &quot;Finished&quot;,
       Toast.LENGTH_LONG).show();
     //mainActivity.updateTextView(data);
    }
   }

  }

 }
 */

 protected void updateTextView(String data) {
  TextView tv = (TextView) findViewById(R.id.textView);
  tv.setText(data.toString());
 }

 /** called when button &quot;Open a File&quot; clicked */
 public void openFile(View v) {

  // use implicit Intent to open a file
  Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
  intent.setType(&quot;*/.txt&quot;);
  intent.addCategory(Intent.CATEGORY_OPENABLE);

  try {
   startActivityForResult(
     Intent.createChooser(intent, &quot;Select a file txt&quot;), REQ_CODE);
  } catch (android.content.ActivityNotFoundException ex) {
   Toast.makeText(getBaseContext(), &quot;You a need a File Manager&quot;,
     Toast.LENGTH_LONG).show();
   ex.printStackTrace();
  }
 }

 @Override
 protected void onActivityResult(int reqCode, int resultCode, Intent data) {

  // check activity result base on reqCode
  // reqCode must be same as REQ_CODE
  switch (reqCode) {
  case REQ_CODE:
   if (resultCode == RESULT_OK) {

    // get Uri data from intent
    Uri uri = data.getData();

    String path = null;
    try {

     // convert Uri to file path (String)
     path = getPath(getBaseContext(), uri);

     // send the file path to Service
     this.sendToService(path);
    } catch (URISyntaxException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    }
   }
  }
 }

 /** called to start the Service */
 private void sendToService(String s) {

  // create an explicit Intent for the Service
  Intent intentService = new Intent(MainActivity.this, Services.class);
  intentService.putExtra(Services.PATH, s);
  startService(intentService);
 }

 public static String getPath(Context context, Uri uri)
   throws URISyntaxException {
  if (&quot;content&quot;.equalsIgnoreCase(uri.getScheme())) {
   String[] projection = { &quot;_data&quot; };
   Cursor cursor = null;

   try {
    cursor = context.getContentResolver().query(uri, projection,
      null, null, null);
    int column_index = cursor.getColumnIndexOrThrow(&quot;_data&quot;);
    if (cursor.moveToFirst()) {
     return cursor.getString(column_index);
    }
   } catch (Exception e) {
    e.printStackTrace();
   }
  } else if (&quot;file&quot;.equalsIgnoreCase(uri.getScheme())) {
   return uri.getPath();
  }

  return null;
 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {

  // Inflate the menu; this adds items to the action bar if it is present.
  getMenuInflater().inflate(R.menu.main, menu);
  return true;
 }

 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
  // Handle action bar item clicks here. The action bar will
  // automatically handle clicks on the Home/Up button, so long
  // as you specify a parent activity in AndroidManifest.xml.
  int id = item.getItemId();
  if (id == R.id.action_settings) {
   return true;
  }
  return super.onOptionsItemSelected(item);
 }

 /**
  * A placeholder fragment containing a simple view.
  */
 public static class PlaceholderFragment extends Fragment {

  public PlaceholderFragment() {
  }

  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
    Bundle savedInstanceState) {
   View rootView = inflater.inflate(R.layout.fragment_main, container,
     false);
   return rootView;
  }
 }

}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
src/com.me.intentservicesample/Services.java&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;package com.me.intentservicesample;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

import android.app.Activity;
import android.app.IntentService;
import android.content.Intent;
import android.support.v4.content.LocalBroadcastManager;

public class Services extends IntentService {

 private static int mStatus = Activity.RESULT_CANCELED;
 public static final String PATH = &quot;com.me.intentservicesample.PATH&quot;;
 public static final String ACTION_BROADCAST = &quot;com.me.intentservicesample.BROADCAST&quot;;
 public static final String STATUS = &quot;com.me.intentservicesample.STATUS&quot;;
 public static final String DATA = &quot;com.me.intentservicesample.DATA&quot;;

 public Services() {
  super(&quot;Services&quot;);
  // TODO Auto-generated constructor stub
 }

 @Override
 protected void onHandleIntent(Intent intent) {
  // TODO Auto-generated method stub

  // get data from incoming intent
  String filePath = intent.getStringExtra(PATH);

  String fileContent = this.readFile(filePath);
  if (fileContent != null) {

   // report the work status to registered components
   publishResult(mStatus, fileContent);

  }
 }

 private void publishResult(int status, String data) {
  Intent localIntent = new Intent(Services.ACTION_BROADCAST);
  localIntent.putExtra(Services.STATUS, status);
  localIntent.putExtra(Services.DATA, data);
  LocalBroadcastManager.getInstance(Services.this).sendBroadcast(
    localIntent);
 }

 /** read the incoming file to get the file content as String */
 private String readFile(String path) {
  File file = new File(path);
  int i, j = 0;
  byte[] data = new byte[(int) file.length()];
  String string = null;
  InputStream in = null;
  try {
   in = new BufferedInputStream(new FileInputStream(file));
   while ((i = in.read()) != -1) {
    data[j++] = (byte) i;
   }
   string = byteToString(data).toString();
   mStatus = Activity.RESULT_OK;
   return string;
  } catch (FileNotFoundException ex) {
   ex.printStackTrace();
  } catch (IOException ex) {
   // TODO Auto-generated catch block
   ex.printStackTrace();
  } finally {
   if (in != null) {
    try {
     in.close();
    } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    }
   }
  }
  return string;

 }

 /** called to cast byte array to String */
 private static String byteToString(byte[] b) {
  char[] c = new char[b.length];
  StringBuilder sb = new StringBuilder();

  for (int i = 0; i &amp;lt; c.length; i++) {
   c[i] = (char) b[i];
   sb.append(c[i]);
  }

  return sb.toString();
 }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
res/layout/activity_main.xml&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:id=&quot;@+id/container&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    tools:context=&quot;com.me.intentservicesample.MainActivity&quot;
    tools:ignore=&quot;MergeRootFrame&quot; /&amp;gt;

&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
res/layout/fragment_main.xml&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;
    android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;
    tools:context=&quot;com.me.intentservicesample.MainActivity$PlaceholderFragment&quot; &amp;gt;

    &amp;lt;Button
        android:id=&quot;@+id/button&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:layout_alignParentTop=&quot;true&quot;
        android:onClick=&quot;openFile&quot;
        android:text=&quot;Open a File&quot; /&amp;gt;

    &amp;lt;LinearLayout
        android:id=&quot;@+id/linear&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;match_parent&quot;
        android:layout_below=&quot;@id/button&quot;
        android:orientation=&quot;vertical&quot; &amp;gt;

        &amp;lt;TextView
            android:id=&quot;@+id/textView&quot;
            android:layout_width=&quot;match_parent&quot;
            android:layout_height=&quot;match_parent&quot;
            android:layout_marginTop=&quot;10dp&quot;
            android:singleLine=&quot;false&quot;
            android:text=&quot;@string/hello_world&quot; /&amp;gt;
    &amp;lt;/LinearLayout&amp;gt;

&amp;lt;/RelativeLayout&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
IntentServiceManifest.xml&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    package=&quot;com.me.intentservicesample&quot;
    android:versionCode=&quot;1&quot;
    android:versionName=&quot;1.0&quot; &amp;gt;

    &amp;lt;uses-sdk
        android:minSdkVersion=&quot;7&quot;
        android:targetSdkVersion=&quot;19&quot; /&amp;gt;

    &amp;lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&amp;gt;

    &amp;lt;application
        android:allowBackup=&quot;true&quot;
        android:icon=&quot;@drawable/ic_launcher&quot;
        android:label=&quot;@string/app_name&quot;
        android:theme=&quot;@style/AppTheme&quot; &amp;gt;
        &amp;lt;service
            android:name=&quot;com.me.intentservicesample.Services&quot;
            android:exported=&quot;false&quot; &amp;gt;
        &amp;lt;/service&amp;gt;

        &amp;lt;activity
            android:name=&quot;com.me.intentservicesample.MainActivity&quot;
            android:label=&quot;@string/app_name&quot; &amp;gt;
            &amp;lt;intent-filter&amp;gt;
                &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;

                &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;
            &amp;lt;/intent-filter&amp;gt;
        &amp;lt;/activity&amp;gt;
    &amp;lt;/application&amp;gt;

&amp;lt;/manifest&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Note: contoh aplikasi diatas membutuhkan sebuah File Manager dan sebuah file .txt yang akan dibaca oleh aplikasi.&lt;/div&gt;
&lt;br /&gt;
Dibawah ini adalah tampilan aplikasi pada saat dijalankan.&lt;br /&gt;
&lt;br /&gt;
Tampilan utama aplikasi:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7BF3-RoT9wbFvbrgmG1v0kQx4mXBTLCpB_8fPpDr3Ozc0-tbdVfBThKjKGJuKiJOYSiTeR7KV-Sk0IUoWqlofk7OG3LVDFDdQxYnexl6aUsMbvEKLEKTjPNiSmjoRiNeggTpoFxoAB12W/s1600/IntentService_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android Platform&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7BF3-RoT9wbFvbrgmG1v0kQx4mXBTLCpB_8fPpDr3Ozc0-tbdVfBThKjKGJuKiJOYSiTeR7KV-Sk0IUoWqlofk7OG3LVDFDdQxYnexl6aUsMbvEKLEKTjPNiSmjoRiNeggTpoFxoAB12W/s1600/IntentService_1.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Pada saat button &quot;Open a File&quot; di pilih:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_XS9jo1AAHsK_rTAwmBIH8FkOWmeFDG7R05W2CQd26-or3YzYf6IUySRARz9EWdU_jxQyxoWOwmZWcGaIrsBE7C0nIGcyOHUgEZQFJzpxs3cmj3gmGXGhcv6RuvEPFjvt6CT-ufoy4VZq/s1600/IntentService_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android Platform&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_XS9jo1AAHsK_rTAwmBIH8FkOWmeFDG7R05W2CQd26-or3YzYf6IUySRARz9EWdU_jxQyxoWOwmZWcGaIrsBE7C0nIGcyOHUgEZQFJzpxs3cmj3gmGXGhcv6RuvEPFjvt6CT-ufoy4VZq/s1600/IntentService_2.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Isi dari sebuah file .txt ditampilkan pada sebuah TextView:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7C283lFCtmz2GivW3atg4QIXAACFUktin0VgprFLT4gmJaNPSyyQyXCjsdDaNgxSmgyRkJOkasJ1UPV4ntSaf1O4G8nZL7O_6eOF0eJ3cwabqHpWrT_fiGW8U5oCYal_ST9jOYlRNm_13/s1600/IntentService_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Android Platform&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7C283lFCtmz2GivW3atg4QIXAACFUktin0VgprFLT4gmJaNPSyyQyXCjsdDaNgxSmgyRkJOkasJ1UPV4ntSaf1O4G8nZL7O_6eOF0eJ3cwabqHpWrT_fiGW8U5oCYal_ST9jOYlRNm_13/s1600/IntentService_3.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Download: &lt;a href=&quot;http://adf.ly/qsffF&quot; target=&quot;_blank&quot;&gt;IntentServiceSample.apk (Apk file)&lt;/a&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i&gt;Source: &lt;a href=&quot;http://adf.ly/qsfjS&quot; target=&quot;_blank&quot;&gt;Android Developer&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/3676587461441510136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/05/android-background-service-contoh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/3676587461441510136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/3676587461441510136'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/05/android-background-service-contoh.html' title='Android Background Service, Contoh Penggunaan IntentService'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9J_Y2TXRUmorxNwGOvIegkfrK97ghCMIMMMnBFncvbQqNKgEwPkoM1no0BDa0wV8KPSLNuvkAFvcD6282eobvoNP-oe8RNeIW72ery-QHVmAkVe-jFQjNItrBHRqFc9jXGmmL-90O4Ced/s72-c/DroidJava1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-2661505382243107343</id><published>2014-04-27T12:59:00.001+07:00</published><updated>2014-08-05T19:55:19.447+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplikasi Android"/><title type='text'>Download Root Checker Apk untuk Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQheNRzlhyphenhyphen_7Et3Mnenb4m2kAD31bs-TYICIeQ6cM_nKbRXIBsM3EoPjLzxrAJGJJ-STzxHtjFbqgomIlOBBA3fEU2u64vVMTaGSHNmyUZZv3_dBsAqXDRvAy_-tVmweeiawCpmTQMctcJ/s1600/burrow.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;root checker&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQheNRzlhyphenhyphen_7Et3Mnenb4m2kAD31bs-TYICIeQ6cM_nKbRXIBsM3EoPjLzxrAJGJJ-STzxHtjFbqgomIlOBBA3fEU2u64vVMTaGSHNmyUZZv3_dBsAqXDRvAy_-tVmweeiawCpmTQMctcJ/s1600/burrow.jpg&quot; height=&quot;200&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apakah ponsel android saya sudah memiliki akses root? Apa yang harus saya lakukan untuk mengetahuinya? Bagaimana caranya?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jika anda memiliki pertanyaan seperti diatas, itu artinya anda membutuhkan sesuatu yang dapat membantu anda untuk mengetahui status dari ponsel android yang anda gunakan, apakah sudah memiliki akses root atau belum.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Root Checker dari Burrows Apps merupakan salah satu aplikasi yang tersedia di Play Store, dan berguna untuk mengecek apakah sebuah &amp;nbsp;perangkat sudah memiliki akses root atau belum. Aplikasi ini menunjukan informasi yang dibutuhkan guna untuk memeriksa sebuah perangkat apakah perangkat tersebut benar-benar sudah memiliki akses root.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;Catatan: Aplikasi ini tidak melakukan root terhadap perangkat android anda.&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dibawah ini merupakan fitur-fitur dari Root Checker:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Mendeteksi apakah ponsel anda memiliki akses root&lt;/li&gt;
&lt;li&gt;Menampilkan konten berikut:&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Perangkat, versi Android, serta API Level&lt;/li&gt;
&lt;li&gt;Menampilkan versi SuperUser&lt;/li&gt;
&lt;li&gt;Menampilkan versi dari BusyBox dan Su&lt;/li&gt;
&lt;li&gt;Pengguna dan Grup Id&lt;/li&gt;
&lt;li&gt;Lokasi SuperUser&lt;/li&gt;
&lt;li&gt;Lokasi dari Su dan Sudo&lt;/li&gt;
&lt;li&gt;Environment variables&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Menampilkan arsitektur ponsel&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://adf.ly/qsfuQ&quot; target=&quot;_blank&quot;&gt;Lihat informasi lebih lanjut tentang Root Checker di Play Store&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
Bagaimana cara menggunakan Root Checker dari Burrows Apps?&lt;/h3&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Download dan instal&lt;/u&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Download dan instal Root Checker melalui &lt;a href=&quot;http://adf.ly/qsfuQ&quot; target=&quot;_blank&quot;&gt;Play Store&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Cek ponsel anda menggunakan Root Checker&lt;/u&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Setelah aplikasi Root Checker terpasang pada ponsel anda. Sekarang sentuh atau &lt;i&gt;tap &lt;/i&gt;ikon root checker untuk menjalankannya, kemudian &lt;i&gt;tap &lt;/i&gt;tombol &lt;i&gt;CHECK &lt;/i&gt;untuk mulai memeriksa ponsel anda. Dibawah ini adalah contoh penggunaan Root Checker pada ponsel android.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheZgB80hCFKPWWu2QtXrhmrepcqzR4O3447CNdxWb0-9z10bP_eQRGc0dxH7uYRaEYCK16tvYjTLA3BmKmoUSTt7TvH4vbfunVXR665Tm8O7Io_x1xbaFLaPhF-rF6q7BTaQRMTzlsfV1-/s1600/2014_04_25_12.38.43.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;root checker&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheZgB80hCFKPWWu2QtXrhmrepcqzR4O3447CNdxWb0-9z10bP_eQRGc0dxH7uYRaEYCK16tvYjTLA3BmKmoUSTt7TvH4vbfunVXR665Tm8O7Io_x1xbaFLaPhF-rF6q7BTaQRMTzlsfV1-/s1600/2014_04_25_12.38.43.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;237&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxWbXEYpcAuqDJ-wdJh_g5UCRaoAWcAKkNVrmnj6XRtVT5IM6GOsJukWXSI5oEQq-xMnUI5hLzlMEo1yO1E6HcDgEI46auYs9X0beodhW7juSfTZ5G6vBHtldeaholooK6XxGgiJ_NgxUW/s1600/2014_04_25_12.39.41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;root checker&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxWbXEYpcAuqDJ-wdJh_g5UCRaoAWcAKkNVrmnj6XRtVT5IM6GOsJukWXSI5oEQq-xMnUI5hLzlMEo1yO1E6HcDgEI46auYs9X0beodhW7juSfTZ5G6vBHtldeaholooK6XxGgiJ_NgxUW/s1600/2014_04_25_12.39.41.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixrCsnlroGgq9fYQfET60v26pkMBXz4GbV-86OGPmllhiTVP2hfjZQNwXL4baFASoi7RWc_HypxpHRU8Q6WLXaTy1HsGFgzop-6W3gk93nSFLYabWsjrcp3aNxhgmjcJ_mXZBhBuRjP1Ro/s1600/2014_04_25_12.40.04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;root checker&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixrCsnlroGgq9fYQfET60v26pkMBXz4GbV-86OGPmllhiTVP2hfjZQNwXL4baFASoi7RWc_HypxpHRU8Q6WLXaTy1HsGFgzop-6W3gk93nSFLYabWsjrcp3aNxhgmjcJ_mXZBhBuRjP1Ro/s1600/2014_04_25_12.40.04.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm7carnXWNGgbVJSnGX1wXkZ4Dg4P1LPtCbShFnNNraCXwNw3EeFXaxiaE32g5u2OlbPrMe6Ccf7umnxKMMASDYbZUR-7-YNtnTlfR3mebihC27kptY5pUXkliXfgUN-asi4AnEwhBQRzd/s1600/2014_04_25_12.40.41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;root checker&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm7carnXWNGgbVJSnGX1wXkZ4Dg4P1LPtCbShFnNNraCXwNw3EeFXaxiaE32g5u2OlbPrMe6Ccf7umnxKMMASDYbZUR-7-YNtnTlfR3mebihC27kptY5pUXkliXfgUN-asi4AnEwhBQRzd/s1600/2014_04_25_12.40.41.png&quot; height=&quot;320&quot; title=&quot;&quot; width=&quot;237&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Lihat juga artikel lainnya tentang Rooting ponsel android:&lt;/h3&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://adf.ly/qsg0A&quot; target=&quot;_blank&quot;&gt;Framaroot, Cara Mudah Root dan Unroot Android&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/2661505382243107343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/download-root-checker-apk-untuk-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2661505382243107343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2661505382243107343'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/download-root-checker-apk-untuk-android.html' title='Download Root Checker Apk untuk Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQheNRzlhyphenhyphen_7Et3Mnenb4m2kAD31bs-TYICIeQ6cM_nKbRXIBsM3EoPjLzxrAJGJJ-STzxHtjFbqgomIlOBBA3fEU2u64vVMTaGSHNmyUZZv3_dBsAqXDRvAy_-tVmweeiawCpmTQMctcJ/s72-c/burrow.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-5067303781449586166</id><published>2014-04-26T21:05:00.001+07:00</published><updated>2014-08-05T20:00:09.287+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplikasi Android"/><title type='text'>Framaroot, Cara Mudah Root dan Unroot Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit1BDFbFpnB2IfYHhmkZ1lFW0fN4jnUwFO-pGbp0zdeeBXZ5GdyMlBB9i9o6AR78VossiP_qISpM-WMXujiLLZaxYYsEyRepthB8v1gGT3RD2Dp9j6xggjs6CfjhDtD0GJlXApJnJHqTkX/s1600/framaroot.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;framaroot&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit1BDFbFpnB2IfYHhmkZ1lFW0fN4jnUwFO-pGbp0zdeeBXZ5GdyMlBB9i9o6AR78VossiP_qISpM-WMXujiLLZaxYYsEyRepthB8v1gGT3RD2Dp9j6xggjs6CfjhDtD0GJlXApJnJHqTkX/s1600/framaroot.jpg&quot; height=&quot;133&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apakah anda ingin melakukan root terhadap device android anda, tapi anda tidak mengharapkan langkah-langkah yang terbilang rumit untuk melakukannya? Seperti yang telah diketahui untuk melakukan rooting android kita harus mengikuti langkah-langkah yang terbilang rumit hanya untuk membuat device android kita memiliki root akses. Untuk sebagian orang mungkin hal tersebut bukanlah sebuah masalah, tetapi untuk yang lainnya hal itu seperti sebuah kebuntuan, ya seperti menemukan jalan buntu. Akhirnya device android mereka tidak pernah memiliki root akses, dan mungkin timbul pertanyaan seperti ini &quot;Apakah tidak ada cara yang lebih mudah untuk melakukan rooting android?&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sekarang cobalah untuk berhenti bertanya seperti itu, karena saat ini sebuah aplikasi yang dapat melakukan root terhadap beberapa device android jauh lebih mudah dari sebelumnya telah di rilis, yaitu Framaroot.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sebelum melanjutkan, lebih baik anda cek terlebih dahulu apakah device android yang ingin anda root termasuk ke dalam daftar device yang telah di dukung&lt;i&gt;&amp;nbsp;&lt;/i&gt;oleh Framaroot. Cek device anda &lt;a href=&quot;http://forum.xda-developers.com/apps/framaroot/framaroot-supported-devices-t2722980&quot; target=&quot;_blank&quot;&gt;disini&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jika device anda termasuk ke dalam device yang di dukung oleh Framaroot, selanjutnya download file apk Framaroot &lt;a href=&quot;http://adf.ly/qsgM7&quot; target=&quot;_blank&quot;&gt;disni&lt;/a&gt;&amp;nbsp;(Framaroot-1.9.1.apk merupakan versi terakhir pada saat artikel ini di publikasikan). Setelah file apk nya berhasil di download, simpan file tersebut di kartu memory external kemudian pasang (&lt;i&gt;install&lt;/i&gt;) pada device android yang ingin anda root.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
Bagaimana cara root device android menggunakan Framaroot?&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Jalankan aplikasi Framaroot&lt;/li&gt;
&lt;li&gt;Pilih Superuser atau SuperSU&lt;/li&gt;
&lt;li&gt;Klik (&lt;i&gt;tap&lt;/i&gt;)&amp;nbsp;Aragorn atau Gandalf&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUVgJYz0_J-UzxG0rJDSsm_8XEUTs9dORi0UfuJFnpPRPiCMHcKJV5kDXd38Y4VmHx3dAgmjE7y26qpPbz4EPvHyv5vyIrF02DQZwbruRbDjQ_Ng7azAxmRuatQ9alGEUnI72KSo3IE0rS/s1600/Framaroot-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Framaroot&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUVgJYz0_J-UzxG0rJDSsm_8XEUTs9dORi0UfuJFnpPRPiCMHcKJV5kDXd38Y4VmHx3dAgmjE7y26qpPbz4EPvHyv5vyIrF02DQZwbruRbDjQ_Ng7azAxmRuatQ9alGEUnI72KSo3IE0rS/s1600/Framaroot-2.jpg&quot; height=&quot;236&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kemudian tunggu hingga muncul pesan seperti ini &quot;&lt;i&gt;Superuser and su binary installed. You have to reboot your device&lt;/i&gt;&quot;. Pesan tersebut mengindikasikan bahwa device anda telah berhasil di root, sekarang reboot device untuk menyelesaikan proses rooting.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY1WkmTOyYBcAVlJPc-cNusYyCJb3Ey2Uq-vJtdjGqJRFb875AF4Cq2hqqYhsM0ItaOYVhaL1rjH-bvvtSYbrc5RYcNXV6bp-0ocoJUikhQrh3_Nsa9gkmw0WeDM_2aA1SI9UHAej9THWf/s1600/Framaroot-Work%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Framaroot&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY1WkmTOyYBcAVlJPc-cNusYyCJb3Ey2Uq-vJtdjGqJRFb875AF4Cq2hqqYhsM0ItaOYVhaL1rjH-bvvtSYbrc5RYcNXV6bp-0ocoJUikhQrh3_Nsa9gkmw0WeDM_2aA1SI9UHAej9THWf/s1600/Framaroot-Work%25281%2529.jpg&quot; height=&quot;204&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selain untuk melakukan root, Framaroot juga dapat digunakan untuk melakukan unroot device android. Untuk melakukan unroot caranya hampir sama dengan proses rooting, perbedaannya hanya terdapat pada langkah ke-2. Pada langkah ke-2 anda harus memilih unroot, bukan Superuser atau SuperSU.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276&quot; target=&quot;_blank&quot;&gt;Lihat info lebih lanjut tentang Framaroot di forum XDA Developers&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;*Note: Java Zone tidak bertanggung jawab atas segala kerusakan yang disebabkan langsung atau tidak langsung dengan melakukan metode rooting, Resiko tanggung sendiri.&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/5067303781449586166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/framaroot-cara-mudah-root-dan-unroot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/5067303781449586166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/5067303781449586166'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/framaroot-cara-mudah-root-dan-unroot.html' title='Framaroot, Cara Mudah Root dan Unroot Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit1BDFbFpnB2IfYHhmkZ1lFW0fN4jnUwFO-pGbp0zdeeBXZ5GdyMlBB9i9o6AR78VossiP_qISpM-WMXujiLLZaxYYsEyRepthB8v1gGT3RD2Dp9j6xggjs6CfjhDtD0GJlXApJnJHqTkX/s72-c/framaroot.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-1610906373726096897</id><published>2014-04-24T23:02:00.000+07:00</published><updated>2014-04-25T09:30:35.423+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aplikasi Android"/><title type='text'>Download musiXmatch v3.6.4.1 Apk</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTw073Ros7K4052tfXW0hTvd3XCI0WlijKNODKDiBvd5RJY_n55Gphu6Yqni-__IRVYGGkSI8zFMy-dqoau3R_NAWdaCcYemZTrXJp7qY-sIWhiwhqei4L9FnEe4JniJ0TAzhRdHorBhj/s1600/musicMatch.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;musicMatch image&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTw073Ros7K4052tfXW0hTvd3XCI0WlijKNODKDiBvd5RJY_n55Gphu6Yqni-__IRVYGGkSI8zFMy-dqoau3R_NAWdaCcYemZTrXJp7qY-sIWhiwhqei4L9FnEe4JniJ0TAzhRdHorBhj/s1600/musicMatch.jpg&quot; height=&quot;164&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
musiXmatch adalah aplikasi lirik musik #1 di Google Play Store dan iTunes dengan lebih dari 20.000.000 pengguna di dunia dan katalog resmi terbesar dan paling lengkap dengan lirik tersinkronisasi. Nikamati musik favorit anda dengan lirik-lirik lagu yang bergerak disinkronisasi dengan musik untuk pengalaman yang lebih baik daripada karaoke. Aplikasi ini juga menyediakan equalizer yang dapat disesuaikan untuk hasil suara yang lebih baik.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Berikut adalah pemutar media pihak ke-3 yang didukung oleh musiXmatch:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pemutar Musik bawaan Android, Spotify, Pemutar Musik Samsung, Pemutar Musik HTC, Pemutar Musik Archos, Rhapsody Android Beta, bTunes, 3 (cubed), WIMP, Zimly, Just Playlists, PowerAMP, Winamp (mengalami beberapa masalah), myTouch 4G, Google Music, Player Pro, Pemutar Musik DAAP, Folder Player, Pemutar Musik GoneMAD, Pemutar Musik MIUI&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.musixmatch.android.lyrify&quot; target=&quot;_blank&quot;&gt;Lihat info lebih lanjut tentang musiXmatch di Play Store&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;
&lt;u&gt;atau&lt;/u&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
Download musiXmatch v3.6.4.1.Apk (&lt;i&gt;source: apkgalaxy&lt;/i&gt;)&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://docs.google.com/file/d/0B0jhFeoq6wjBTDdFMDdTSnRTM28/edit&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLXp2LRNjp0Z1lZA6GJQB89g6fzQp2tRG3bNzCsi-mq9q87W2mSsaUsHxsy6msYF4WY9pFNoK5Su8rU3ZkDspRaFx5dJWYcSOR9ClE42zuvt3DXRzcs3zsQEiIb06g8w9CG1KRkeZD2ZCc/s1600/dl_icon.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/1610906373726096897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/download-musixmatch-v3641-apk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1610906373726096897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1610906373726096897'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/download-musixmatch-v3641-apk.html' title='Download musiXmatch v3.6.4.1 Apk'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTw073Ros7K4052tfXW0hTvd3XCI0WlijKNODKDiBvd5RJY_n55Gphu6Yqni-__IRVYGGkSI8zFMy-dqoau3R_NAWdaCcYemZTrXJp7qY-sIWhiwhqei4L9FnEe4JniJ0TAzhRdHorBhj/s72-c/musicMatch.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-9205189348932334701</id><published>2014-04-21T23:32:00.000+07:00</published><updated>2014-04-25T10:19:33.413+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><title type='text'>Contoh Penggunaan Array Multidimensi Pada Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-FJiSJHjSoT9qusrEDoptBi5OSynO2Y-7_pCQMFJ2EItjQLuotJr7fkhaxq2nTQ6LiBxuJERrnNzJwYfFV6U6madq7KJ-n3_ri3dsS6ZExPCtqXk-fRR4NZjS29E11UeLbD3Z03muV0TV/s1600/firat-jug.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;duke&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-FJiSJHjSoT9qusrEDoptBi5OSynO2Y-7_pCQMFJ2EItjQLuotJr7fkhaxq2nTQ6LiBxuJERrnNzJwYfFV6U6madq7KJ-n3_ri3dsS6ZExPCtqXk-fRR4NZjS29E11UeLbD3Z03muV0TV/s1600/firat-jug.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Pada posting sebelumnya telah dibahas tentang array 1 dimensi serta contoh-contoh implementasinya pada program java. Sebagai lanjutan pada posting ini akan dibahas penggunaan Array multidimensi pada java. Array multidimensi merupakan array yang terletak di dalam array, contoh deklarasi array multidimensi 3 baris x 3 kolom,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//deklarasi array multidimensi 3 baris x 3 kolom
  String[][] entry = {{&quot;Florence&quot;, &quot;735-1234&quot;, &quot;Manila&quot;},
  {&quot;Joyce&quot;, &quot;983-3333&quot;, &quot;Quezon City&quot;},
  {&quot;Becca&quot;, &quot;456-3322&quot;, &quot;Manila&quot;}};
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk mengakses elemen pada array multidimensi pada dasarnya sama dengan cara akses elemen array 1 dimensi, berikut ini merupakan contoh untuk mengakses elemen pertama dari baris pertama pada array &lt;i&gt;entry &lt;/i&gt;diatas&lt;i&gt;.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;System.out.print(entry[0][0]);
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Syntax diatas akan menampilkan String &quot;Florence&quot; pada terminal/ console, berikut ini merupakan contoh program java sederhana yang memanfaatkan penggunaan array multidimensi pada java.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//rizki-java.blogspot.com 

//class baru dengan nama ArrFour
public class ArrFour{
 public static void main(String[] args){
  //deklarasi array multidimensi
  String[][] entry = {{&quot;Florence&quot;, &quot;735-1234&quot;, &quot;Manila&quot;},
      {&quot;Joyce&quot;, &quot;983-3333&quot;, &quot;Quezon City&quot;},
      {&quot;Becca&quot;, &quot;456-3322&quot;, &quot;Manila&quot;}};
  int i,j;
  
  //mengambil nilai array kemudian menampilkannya pada console
  for(i=0; i&amp;lt;entry.length; i++){
   for(j=0; j&amp;lt;entry[i].length;){
    System.out.println(&quot;Name :&quot;+entry[i][j++]);
    System.out.println(&quot;Telp# :&quot;+entry[i][j++]);
    System.out.println(&quot;Address :&quot;+entry[i][j++]+&quot;\n&quot;);
   }
  }
 }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Lihat Posting lainnya tentang array:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java.html&quot; target=&quot;_blank&quot;&gt;Contoh Penggunaan Array Pada Java, Bagian 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7248.html&quot; target=&quot;_blank&quot;&gt;Contoh Penggunaan Array Pada Java, Bagian 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7116.html&quot; target=&quot;_blank&quot;&gt;Contoh Penggunaan Array Pada Java, Bagian 3&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/9205189348932334701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-multidimensi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/9205189348932334701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/9205189348932334701'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-multidimensi.html' title='Contoh Penggunaan Array Multidimensi Pada Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-FJiSJHjSoT9qusrEDoptBi5OSynO2Y-7_pCQMFJ2EItjQLuotJr7fkhaxq2nTQ6LiBxuJERrnNzJwYfFV6U6madq7KJ-n3_ri3dsS6ZExPCtqXk-fRR4NZjS29E11UeLbD3Z03muV0TV/s72-c/firat-jug.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-3807263438678636888</id><published>2014-04-21T22:32:00.001+07:00</published><updated>2014-04-25T10:22:44.701+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><title type='text'>Contoh Penggunaan Array Pada Java, Bagian 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;duke&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Posting kali ini merupakan lanjutan dari posting sebelumnya tentang array, dimana pada posting sebelumnya data pada variable array dimasukan dan diambil menggunakan&amp;nbsp;BufferedReader. Dimana input dan outputnya di tampilkan pada terminal/console,&amp;nbsp;&lt;/span&gt;lihat&amp;nbsp;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7248.html&quot; target=&quot;_blank&quot;&gt;Contoh Penggunaan Array Pada Java, Bagian 2&lt;/a&gt;&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Pada posting kali ini kita akan menggunakan JOptionPane sebagai media untuk input dan output program, sehingga program akan memiliki user interface yang lebih menarik dan mudah digunakan oleh user.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Algoritma program:&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1. minta user untuk memasukan angka&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2. masukan angka ke dalam array&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. parse angka menjadi tipe int&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. masukan angka ke dalam variable dengan tipe int&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;4. evaluasi angka apakah lebih besar dari nilai yang telah ditentukan&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;5. jika angka lebih besar, angka akan menjadi nilai penentu untuk angka berikutnya&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;6. jika angka lebih kecil, nilai penentu tidak akan berubah&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;7. melakukan langkah 1-6 sebanyak 5 kali berturut-turut&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;8. semua index array terisi&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;9. tampilkan nilai dari variable penentu yang merupakan nilai terbesar dari semua nilai yang user masukan&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Berikut kode programnya,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//rizki-java.blogspot.com 

//import libraries yang dibutuhkan
import javax.swing.*;

//class baru dengan nama ArrThree
public class ArrThree{
 public static void main(String[] args){
  //array 1 dimensi, length 5
  //note: index array dimulai dari 0
  String[] value = new String[5];
  int i = 0;
  int temp;
  int biggest = 0;
  
  //while loop
  while(i&amp;lt;value.length){
   //menggunakan JOptionPane untuk menerima inputan user 
   value[i] = JOptionPane.showInputDialog(&quot;Insert value for index &quot;+i);

   //parse String ke int, kemudian dimasukan ke variable temp   
   temp = Integer.parseInt(value[i]);
   
   //menggunakan ternary untuk evaluasi kondisi
   biggest = temp &amp;gt; biggest? temp:biggest;
  i++;
  }

  //menampilkan input terbesar dari user menggunakan JOptionPane
  JOptionPane.showMessageDialog(null, biggest);
 }
}&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/3807263438678636888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7116.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/3807263438678636888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/3807263438678636888'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7116.html' title='Contoh Penggunaan Array Pada Java, Bagian 3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s72-c/firat-jug.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-1441264243535346905</id><published>2014-04-21T21:24:00.000+07:00</published><updated>2014-04-25T10:24:01.569+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><title type='text'>Contoh Penggunaan Array Pada Java, Bagian 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Duke&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Pada posting sebelumnya telah dibahas apa yang dimaksud dengan array, bagaimana deklarasi array, dan mengapa menggunakan array. lihat&amp;nbsp;&lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java.html&quot; target=&quot;_blank&quot;&gt;Contoh Penggunaan Array Pada Java, Bagian 1&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Posting kali ini merupakan lanjutan dari posting sebelumnya, pada posting kali ini kita akan membuat sebuah program java yang memanfaatkan array untuk menyimpan inputan yang diberikan oleh user.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Algoritma program:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1. minta user untuk memasukan sebuah angka&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2. parse angka menjadi tipe int&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3. masukan angka ke dalam variable array&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4. melakukan langkah 1-3 sebanyak 5 kali secara berturut-turut&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
5. semua index array terisi&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
6. evaluasi nilai setiap index array&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
7. tampilkan nilai terbesar dari array&lt;/div&gt;
&lt;br /&gt;
Berikut kode programnya,&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//rizki-java.blogspot.com 

//import libraries yang dibutuhkan
import java.io.*;

//class baru dengan nama ArrTwo
public class ArrTwo{
 public static void main(String[] args){
  //array 1 dimensi, length 5
  //note: index array dimulai dari 0
  int[] value = new int[5];
  int i = 0;
  int biggest = 0;

  //menggunakan BufferedReader untuk menerima inputan user 
  BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
  
  //while loop
  while(i &amp;lt; value.length){
   try{
    System.out.print(&quot;enter value for index &quot;+i+&quot;: &quot;);
    value[i] = Integer.parseInt(buf.readLine());
    
    //menggunakan ternary untuk evaluasi kondisi
    biggest = value[i] &amp;gt; biggest? value[i]:biggest; 
   }
   catch(Exception e){}
  i++;
  }
 //menampilkan input terbesar dari user pada console
 System.out.println(&quot;\n The Biggest is: &quot;+biggest);
 }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/1441264243535346905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7248.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1441264243535346905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/1441264243535346905'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java_7248.html' title='Contoh Penggunaan Array Pada Java, Bagian 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s72-c/firat-jug.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-4094275398475572348</id><published>2014-04-21T20:31:00.000+07:00</published><updated>2014-04-25T10:25:01.465+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Programming"/><title type='text'>Contoh Penggunaan Array Pada Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Duke&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s1600/firat-jug.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Seperti yang telah diketahui, pada pemrograman java ataupun yang lainnya sebuah variable dengan tipe data tertentu (misalnya &lt;i&gt;int&lt;/i&gt;) hanya dapat menampung 1 data untuk setiap &lt;i&gt;identifier, &lt;/i&gt;contoh:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//contoh deklarasi variable angka dengan tipe data int
int angka1 = 335;
int angka2 = 229;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Berbeda dengan &lt;i&gt;array, &lt;/i&gt;sebuah variable &lt;i&gt;array &lt;/i&gt;dengan tipe data tertentu dapat menampung lebih dari 1 data untuk setiap &lt;i&gt;identifier. &lt;/i&gt;Maka dari itu jika kita bekerja dengan banyak data dengan tujuan yang sama akan lebih efektif menggunakan &lt;i&gt;array. &lt;/i&gt;System tidak perlu menginisialisai setiap variable karena semua data disimpan dalam satu variable, yaitu variable &lt;i&gt;array.&lt;/i&gt;&amp;nbsp;Sehingga akan lebih efisien dalam penggunaan memory, berikut contoh deklarasi &lt;i&gt;array&lt;/i&gt;:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: java&quot;&gt;//contoh deklarasi array
String[] hari = {&quot;senin&quot;,&quot;selasa&quot;,&quot;rabu&quot;};
&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Berikut ini adalah contoh penggunaan array pada program java,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class ArrOne{
 public static void main(String[] args){
  String[] days = {&quot;monday&quot;,&quot;tuesday&quot;,&quot;wednesday&quot;,&quot;thursday&quot;,&quot;friday&quot;,&quot;saturday&quot;,&quot;sunday&quot;};
  int i;
  
  /** for loop */
  for(i=0; i&amp;lt;days.length;i++){
   System.out.println(days[i]);
  }
 }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/4094275398475572348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4094275398475572348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/4094275398475572348'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/contoh-penggunaan-array-pada-java.html' title='Contoh Penggunaan Array Pada Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecxQOhQrfI0ScMadotg1twsDXvS47G9xd8ifogusMFlF-Q41I6rsrZyK6p3Sx29Plzw9DR3Vtc1jGafJItrgBzR4aXjUvY-20TIYjBTVdTrm5a2WJrsOwrkUZPoA-wB9nvdo52PeJn6Vl/s72-c/firat-jug.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-5961044333986066262</id><published>2014-04-21T17:32:00.000+07:00</published><updated>2014-04-25T10:28:26.151+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Widgets"/><title type='text'>Cara Membuat Menu Bar di Blog</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-VSb3DWH9BDCEXAXtGAfNOYl1og6duq1MCRsDl4-_U00Ze_oEX11dKDRaI-vlFgBBiBBt2k8JV2sr5TV08gicOhPztBUtn7Rhzj_V3ITKnS8EnfQiIniNoBm5ujJ-5tK9DbgUaRTA8_k3/s1600/blogger_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Blogger Logo&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-VSb3DWH9BDCEXAXtGAfNOYl1og6duq1MCRsDl4-_U00Ze_oEX11dKDRaI-vlFgBBiBBt2k8JV2sr5TV08gicOhPztBUtn7Rhzj_V3ITKnS8EnfQiIniNoBm5ujJ-5tK9DbgUaRTA8_k3/s1600/blogger_logo.png&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Menu Bar merupakan salah satu elemen penting dari sebuah Blog maupun website lainnya. Selain untuk mempercantik tampilan sebuah Blog, Menu bar juga sangat berguna untuk navigasi pada sebuah blog, seperti berpindah dari satu halaman (&lt;i&gt;page&lt;/i&gt;) ke halaman lainnya. Mengetahui konten apa saja yang tersedia pada blog, karena biasanya kategori dari konten selalu disisipkan pada menu bar tersebut.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Secara default Blogger sudah menyediakan menu navigasi standar yang biasanya berada dibawah header blog, tapi apakah anda sudah puas dengan menu standar tersebut? bayangkan jika ada pengunjung (&lt;i&gt;visitor&lt;/i&gt;) telah selesai membaca posting dan dia berniat untuk mengakses menu yang ada di bagian atas blog, mau tidak mau dia harus men-scroll keatas terlebih dahulu sebelum bisa mengakses menu dari blog. Terdengar sederhana memang, tapi terkadang hal seperti itu bisa membuat pengunjung enggan untuk melanjutkan, dan akhirnya dia pun meninggalkan blog anda. Benar-benar bukan hal yang anda harapkan tentunya.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pada postingan kali ini kita akan menyelesaikan masalah diatas dengan cara membuat menu bar yang melayang atau istilah kerennya &quot;sticky floating navigation menu&quot;, sehingga visitor tidak perlu men-scroll ke atas untuk dapat mengakses menu dari blog. Menu yang akan kita buat akan memiliki tampilan seperti gambar berikut:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXNSmvLIs8v7ywO6ggiHOr9CXQYwrYQHX3ESlCOQXKK4tzYW5CWau_BGRyEbyKtDuXWZoCPlTB_kW2_oTrfI84pcqs5ORr0wtDFlPAUPh27dgMAw9Q5Y9Da1aSiRtrnFrRUnzSQP2ovz07/s1600/Screenshot-16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Sticky Floating Menu&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXNSmvLIs8v7ywO6ggiHOr9CXQYwrYQHX3ESlCOQXKK4tzYW5CWau_BGRyEbyKtDuXWZoCPlTB_kW2_oTrfI84pcqs5ORr0wtDFlPAUPh27dgMAw9Q5Y9Da1aSiRtrnFrRUnzSQP2ovz07/s1600/Screenshot-16.png&quot; height=&quot;49&quot; title=&quot;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
Bagaimana cara membuat Menu Bar di Blog?&lt;/h2&gt;
&lt;div&gt;
&lt;u&gt;Langkah ke 1:&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
Masuk ke &lt;i&gt;blogger dashboard&lt;/i&gt; &amp;gt;&amp;gt; &lt;i&gt;Template&lt;/i&gt; &amp;gt;&amp;gt; &lt;i&gt;Sesuaikan&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;Langkah ke 2:&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
Pada jendela perancangan template pilih &lt;i&gt;Tingkat Lanjut&lt;/i&gt; &amp;gt;&amp;gt; &lt;i&gt;Tambahkan CSS&lt;/i&gt;. Kemudian paste kode CSS berikut pada kolom &lt;i&gt;Tambahkan CSS khusus&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot; brush: css&quot;&gt;/*-- Powered by MyBloggerLab, shared by rizki-java.blogspot.com Sticky Navigation Bar--*/
#MBL_wrapper .MBL_social_wrapper
{
margin-top: 15px;
}

#MBL_wrapper
{
width: 100%;
margin: auto;
background: #fff;
height: 50px;
border-top: 5px solid #2c2f32;
border-bottom: 1px solid #EBEBEC;
-webkit-box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
position: fixed;
z-index: 999;
}

#MBL_wrapper .topmenu.notice
{
float: left;
width: 500px;
margin-top: 15px;
color: #fff;
}

#top_menu a
{
color: #fff;
}

#top_menu
{
display: block;
float: left;
list-style: none;
margin-top: 12px;
}

#top_menu li
{
display: inline-block;
margin-right: 15px;
font-family: &#39;Patua One&#39;, &#39;Helvetica Neue&#39;, Helvetica, Arial,Verdana,sans-serif;
font-size: 14px;
text-transform: uppercase;
}

#top_menu li ul
{
display: none;
}

#boxed_wrapper
{
width: 980px;
margin: auto;
}

.MBL_standard_wrapper
{
width: 960px;
margin: auto;
}

.MBL_standard_wrapper.wide
{
width: 980px;
}

.MBL_standard_wrapper.header
{
margin-bottom: 0px;
}

.MBL_social_wrapper
{
width: auto;
float: right;
}

#menuforall .MBL_social_wrapper
{
margin-top: 15px;
}

.MBL_social_wrapper ul
{
list-style: none;
}

.MBL_social_wrapper ul li
{
float: right;
margin-left: 5px;
}

.MBL_social_wrapper ul li img
{
width: 24px;
}

#MBL_menu_wrapper
{
width: 930px;
height: 50px;
padding: 0;
margin:auto;
}

.mainmenu.notice
{
float: left;
width: 600px;
padding: 17px 0 10px 12px;
z-index: 999;
}

#MBL_menu_wrapper .nav ul, #MBL_menu_wrapper .nav
{
list-style: none;
display: block;
float: left;
margin: 0 23px 0 5px;
width: 700px;
}

#MBL_menu_wrapper .nav ul li, #MBL_menu_wrapper .nav li
{
display: block;
float :left;
margin: 0;
}

#MBL_menu_wrapper .nav ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul
{
display: none;
list-style: none;
background: #000;
position:absolute;
padding: 0;
margin-top: 51px;
width: 200px;
height: auto;
z-index: 1000;
padding-top: 5px;
border-bottom: 5px solid #000;
border-left: 0;
}

#MBL_menu_wrapper .nav ul li ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul li ul
{
margin-left: 200px;
margin-top: 5px;
}

#MBL_menu_wrapper .nav li ul li a, .nav li ul li a, #MBL_menu_wrapper .nav ul li.current_page_parent ul.sub-menu li.current_page_item a, .nav li.current-menu-parent ul.sub-menu li.current_page_item a
{
background: none;
}

.main_nav li ul li
{
width: 100%;
}

#MBL_menu_wrapper .nav li ul li a, #MBL_menu_wrapper .nav li.current-menu-item ul li a, #MBL_menu_wrapper .nav li ul li.current-menu-item a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a
{
color: #fff;
display: block;
width: 188px;
font-weight: bold;
line-height: 1em;
padding: 10px 0 10px 12px;
background: none;
}

.main_nav ul, .main_nav
{
list-style: none;
margin: auto;
width: 600px;
height: 50px;
z-index: 999;
float: left;
border-left: 1px solid #EBEBEC;
}

.main_nav ul li,  .main_nav li
{
display: block;
float :left;
margin: 0;
}

.main_nav ul li a,  .main_nav li a
{
display: block;
float :left;
margin: 0 0 0 0;
padding: 18px 15px 14px 15px;
color: #2c2f32;
font-family: &#39;Patua One&#39;;
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
border-right: 1px solid #EBEBEC;
}

.main_nav ul li ul li a,  .main_nav li ul li a
{
width: 165px;
padding: 7px 19px 7px 16px;
border: 0;
font-size: 12px;
font-weight: normal;
color: #ccc;
font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial,Verdana,sans-serif;
}

.main_nav ul li ul li:last-child a,  .main_nav li ul li:last-child a
{
border-bottom: 0;
}

.main_nav ul li a:hover,  .main_nav li a:hover, .main_nav ul li a.hover,  .main_nav li a.hover, .main_nav ul li a:active,  .main_nav li a:active, .main_nav li.current-menu-item a
{
color: #fff;
background: #1bc4de;
}

.main_nav li:last-child a:hover, .main_nav li:last-child a.hover
{
border-right: 0;
}

.main_nav li ul li a,  .main_nav li.current-menu-item ul li a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a,
{
display: block;
width: 170px;
line-height: 0.7em;
padding: 5px 0 5px 30px;
}

.main_nav li ul li a:hover,  .main_nav li.current-menu-item ul li a:hover, .main_nav li ul li a.hover,  .main_nav li.current-menu-item ul li a.hover, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a:hover, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a:hover, .main_nav li ul li:last-child a:hover, .main_nav li ul li:last-child a.hover
}

 div
{
margin:0;
padding:0;
border:0;
font-weight:inherit;
font-style:inherit;
font-size:100%;
font-family:inherit;
vertical-align:baseline;
}

a
{
color: #2C2F32;
text-decoration: none;
-webkit-transition: color .2s linear, background .1s linear;
-moz-transition: color .2s linear, background .1s linear;
-ms-transition: color .2s linear, background .1s linear;
-o-transition: color .2s linear, background .1s linear;
transition: color .2s linear, background .1s linear;
}

/* Font Face ----------------------------------------------- */
@font-face {
font-family: &#39;Patua One&#39;;
font-style: normal;
font-weight: 400;
src: local(&#39;Patua One&#39;), local(&#39;PatuaOne-Regular&#39;), url(http://themes.googleusercontent.com/static/fonts/patuaone/v3/yAXhog6uK3bd3OwBILv_SLO3LdcAZYWl9Si6vvxL-qU.woff) format(&#39;woff&#39;);
}

ul{
margin: 0;
padding: 0;
list-style: none;
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Untuk mengubah warna terhadap efek hover, cari dan ganti &lt;i&gt;#1bc4de&lt;/i&gt; yang terdapat pada kode CSS di atas dengan warna yang anda inginkan. Kemudian simpan semua perubahan, setelah semuanya tersimpan sekarang pilih &lt;i&gt;kembali ke blogger&lt;/i&gt; &amp;gt;&amp;gt; &lt;i&gt;edit HTML&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Langkah ke 3:&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cari tag &amp;lt;body pada kode sumber HTML (gunakan Ctrl-F untuk memudahkan pencarian), kemudian paste kode HTML berikut di bawah tag &amp;lt;body&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;scrollbox&quot;&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;!-- Begin Navigation --&amp;gt;
&amp;lt;div id=&#39;MBL_wrapper&#39;&amp;gt;
&amp;lt;div class=&#39;MBL_standard_wrapper&#39;&amp;gt;
&amp;lt;div class=&#39;menu-main-menu-container&#39;&amp;gt;&amp;lt;ul class=&#39;main_nav&#39; id=&#39;main_menu&#39;&amp;gt;&amp;lt;li class=&#39;menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-533&#39; id=&#39;menu-item-533&#39;&amp;gt;

&amp;lt;a href=&#39;#&#39;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39;&amp;gt;Blog&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39;&amp;gt;About Us&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39;&amp;gt;Advertise Here&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39;&amp;gt;Contact Us&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;htto://www.mybloggerlab.com&#39;&amp;gt;MyBloggerLab&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;div id=&#39;menu_border_wrapper&#39;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;div class=&#39;MBL_social_wrapper&#39;&amp;gt;
&amp;lt;ul&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkguQXAlbZpUsoezBAanxekviGKFyyXIw92oBX19CrdksA0I4xamGszb-c0lGtJPPq3Mv5B2gHypZHtcPNbv1w-dAUmmyy8yvV538qIwvn57ohB9cZP3qLUc5c-o7bccMHOaFYYMFH5c5j/s1600/facebook.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8rPUnUShhB_MKjJZdYJNfecFFoqSgfceOlueOi0ggV0APpe-9IaunzStKQ-Qh7UqFViveh3lXlH36H1apPVD7EDzHnPnFU5fHVB4xfk0JwydTKlSpWH451q5iwtpeSzngzJNy2fQ2ej-m/s1600/twitter.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Flickr&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaNpQO1rzi5pr06c5sXVZUNDrtd7wwFwVgQyHd5RKm6jcUZHLPbNUY6WfeDeW1SimZVOSkW0w7RWXTBCHamTEhRMxQzSf4WXqz3sXgHh4FFlwMYiw36AL6bCcYfADReHU1_p4B_UHB74p0/s1600/flickr.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Vimeo&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMNuY_-sfkDzc65ePOU2sjuNnP5lQAtNXcP6p_3xyg2nYwELiHNU6hjSCJE71g1goG-P5iw3WRpNtAQ1uTYsl-Rdmx6s6OH_NZgT_EdSY74eb4SgiApChV8MLE7p90y1Vdvo_sLfuFwXpt/s1600/vimeo.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Tumblr&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcW0anNNrkrZLij3v-FVmizt9BMTgbXDiY70F4DrwssBJ0gkq8Anc-nmxBrfUrOG7E5Uko8_Mz8uH51BMqqbD63YlR2-6J7gzgS4Sffaw2GVmj4TWHwt6aWjupdaeOUx8W5U9dP1la6iBh/s1600/tumblr.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Google+&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH31-dEGqsdxp8IdLbOGL45YODiZ9tEo1SO1BsXxrWpZFV8AmfqA0hOzGMP49HHQtX9qoOGHCgt_A5VHT6Hf6V4bwq2UGD9lmWu87MGiFwuV5sAhrPN220EtArCFL1_33Vzh2npoeiHH-E/s1600/google.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Dribbble&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjndlwZh7BD0YAPr1cOuOXKl9bCGvZoY2Nrw2LHfH8b3ZIoOyoxJmTcxstW7sRUSyF9rG-S7GxIkv-rQejno_uQ-Q7_9GG-lKghhgWJR2c3D02w99G5U0qDq5-4xYxyMpbQicqeY7V2g6CG/s1600/dribbble.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Digg&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtVzqF6MdYgv1jk_R1ikSywaU8TMEd0vZVbcKbUIcqPX_kFkaMC-JYyl6gfyvsNgewiezzptxtKtHeEj3izjg3Bqu4aHlet2E0eHocgv6wt-mCPebMw_y1kZ48izUes9P9Nakdc4_NwX6c/s1600/digg.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Linkedin&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivRIAbYJq1Fx0JQRw8W9cNpHSY4QOdGU3mfAwVFyuHwTU3xwvUlYrEocS2BhN2s75WwZCitt4_sH54nqxELGXOC13BEsFhNkd9tPctw0Bico9iETTmdLdH2f6LWvs08pyApSlJ__vWgBGD/s1600/linkedin.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39; title=&#39;Pinterest&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7Lr8K6Kl6RkL4KZ6DpYdptvrXOz0Org9NCaL6y4MeKS1QJP0Qg7ncQvtKcO-qstS1QR8fbuiZ532IMOwNRszWD0P6nBMd38IGD_Gor4_rkFl7M6vF_O3Yhe28WSVpM1QdH4DDqZgFC9O/s1600/pinterest.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;li&amp;gt;&amp;lt;a href=&#39;#&#39; target=&#39;_blank&#39;&amp;gt;&amp;lt;img alt=&#39;&#39; src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFQTZfG3X9Bs7tjQiBYUbyFubHjBmm_WHfLva6J-gskmnT-N1w5C4YlOZy4ZW67_js7RL9O5Lfc04HCCpflYO3EbTZJxZM0W2w5yTfEEq2bbMv-VT6hHdVktV6yVSFuDncNOslDinHIUm/s1600/rss.png&#39;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;

&amp;lt;/ul&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;!-- End Navigation --&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;u&gt;Langkah ke 4:&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sesuaikan menu dengan keinginan anda, kemudian simpan semua perubahan.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selesai, cek blog untuk melihat tampilan menu yang baru dibuat.. dan enjoy!&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;source: MyBloggerLab&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/5961044333986066262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/cara-membuat-menu-bar-di-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/5961044333986066262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/5961044333986066262'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/cara-membuat-menu-bar-di-blog.html' title='Cara Membuat Menu Bar di Blog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-VSb3DWH9BDCEXAXtGAfNOYl1og6duq1MCRsDl4-_U00Ze_oEX11dKDRaI-vlFgBBiBBt2k8JV2sr5TV08gicOhPztBUtn7Rhzj_V3ITKnS8EnfQiIniNoBm5ujJ-5tK9DbgUaRTA8_k3/s72-c/blogger_logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-8194112576746249548</id><published>2014-04-11T01:03:00.000+07:00</published><updated>2014-04-14T15:51:14.640+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android News"/><title type='text'>Project Ara: Dibalik Pengembangan Smartphone Impian Google</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvJsuGLtOtYNbE1k6vKwZ0uqxjTGOwdTB_gQwckphC66tDRgIX8eLWQ3HieCyKGNF1jPsOFuQG105wy8fl5DSXq80oeWk26V7yJt5h0dmH91D5N7AjX771nC12F0AezmOlIiMogh6wvADg/s1600/ara-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;project Ara&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvJsuGLtOtYNbE1k6vKwZ0uqxjTGOwdTB_gQwckphC66tDRgIX8eLWQ3HieCyKGNF1jPsOFuQG105wy8fl5DSXq80oeWk26V7yJt5h0dmH91D5N7AjX771nC12F0AezmOlIiMogh6wvADg/s1600/ara-1.jpg&quot; height=&quot;132&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
29 Januari Google mengumumkan telah setuju untuk menjual Motorola ke salah satu perusahaan elektronik terbesar di cina, Lenovo. Tetapi dibalik semua itu ternyata Google tidak sepenuhnya melepas Motorola. Google mempertahankan satu organisasi dalam motorola, yaitu sebuah kelompok yang disebut ATAP (&lt;i&gt;Advanced Technology and Projects&lt;/i&gt;) yang dipimpin oleh Regina Dugan, mantan direktur DARPA (&lt;i&gt;Defense Advanced Research Projects Agency&lt;/i&gt;)&amp;nbsp;AS. ATAP bertujuan untuk membawa pendekatan yang sama terhadap inovasi mobile gadget yang telah DARPA gunakan, seperti navigasi satelit dan teknologi lainnya yang dimulai dari hal-hal kecil hingga menjadi sesuatu yang sangat penting.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kelompok ATAP ini menghususkan diri terhadap ide-ide yang dinilai berani dan liar, google menyebutnya &lt;i&gt;moonshots&lt;/i&gt;. Diantara ide-ide atau inisiatif ATAP yang telah diumumkan salah satunya adalah Project Ara, project ara bertujuan untuk membangun sebuah smartphone yang dapat dipecah ke dalam modul-modul yang dapat dirakit dan disesuaikan dengan jumlah konfigurasi tak terbatas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_n3xbRpcSDAHGi6lVh6ZqOLlFISEkqkIFPOfrqujBFiGaKiyrQ2TI06FmCza3auOmlyVdXikSPXtrq5tqbsE7nf1k-92SW6VwFe-cymmn4Fu6aNNCT2P35MV1whk5yLeamLheTSCUEn1H/s1600/ara-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;project Ara&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_n3xbRpcSDAHGi6lVh6ZqOLlFISEkqkIFPOfrqujBFiGaKiyrQ2TI06FmCza3auOmlyVdXikSPXtrq5tqbsE7nf1k-92SW6VwFe-cymmn4Fu6aNNCT2P35MV1whk5yLeamLheTSCUEn1H/s1600/ara-2.png&quot; height=&quot;111&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Saat ini jika anda membeli sebuah smartphone kemungkinan besar anda hanya dapat menyesesuaikan bagian luarnya saja atau bisa kita sebut bagian dangkal dari sebuah smartphone, seperti penggantian cashing, battery, dan lain sebagainya. Tentu saja semua itu bukan merupakan fitur unik dari sebuah smartphone atau ponsel. Para pengembang project ara berharap untuk membuat smartphone yang jauh lebih menarik. Dengan kata lain project ara bertujuan untuk mengembangkan sebuah smartphone yang dapat anda bongkar dan sesuaikan pada bagian perangkat kerasnya (&lt;i&gt;hardware&lt;/i&gt;)&amp;nbsp;seperti halnya yang saat ini sudah biasa kita lakukan terhadap perangkat lunak (&lt;i&gt;software&lt;/i&gt;) dengan cara &lt;i&gt;install/uninstall&lt;/i&gt; sebuah aplikasi. Hal itulah yang saat ini sedang dikembangkan google melalui project ara.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsYLeTuSbWe7JW2HLT9ZyYjgWtNMZcTo3zzeVcNUtaXwshTNpRK1C4wEbLz6FwoYqz4qbJLHBF3vcWLvsQCBfF-yZJ6AkH1amZLK5wVbft7oO1bc91y0Ls4YhT50NW3rTmLOWoQyj_2ceU/s1600/ara-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;project Ara&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsYLeTuSbWe7JW2HLT9ZyYjgWtNMZcTo3zzeVcNUtaXwshTNpRK1C4wEbLz6FwoYqz4qbJLHBF3vcWLvsQCBfF-yZJ6AkH1amZLK5wVbft7oO1bc91y0Ls4YhT50NW3rTmLOWoQyj_2ceU/s1600/ara-3.png&quot; height=&quot;133&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Belum lama ini seperti yang kita tahu samsung telah merilis galaxy S5 dengan beberapa perbaikan utama, diantaranya fitur kamera menjadi lebih baik dibandingkan dengan generasi sebelumnya, pemindai sidik jari, dan monitor denyut jantung. Untuk mendapatkan smartphone dengan fitur-fitur tersebut tentu anda harus membeli S5 bukan? Berbeda halnya dengan ponsel modular, dalam dunia ponsel modular, anda bisa memilih salah satu atau semua fitur tersebut dan menambahkannya ke ponsel yang sudah anda miliki sebelumnya. Menarik bukan? tentunya lebih fleksibel dan juga lebih efisien dari segi budget. Dengan melihat konsep dari ponsel modular ini, tentu Project Ara yang sedang dikembangkan Google layak kita tunggu. Project Ara akan memberikan rasa yang berbeda dari sebuah ponsel.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/8194112576746249548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/project-ara-dibalik-pengembangan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8194112576746249548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/8194112576746249548'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/project-ara-dibalik-pengembangan.html' title='Project Ara: Dibalik Pengembangan Smartphone Impian Google'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvJsuGLtOtYNbE1k6vKwZ0uqxjTGOwdTB_gQwckphC66tDRgIX8eLWQ3HieCyKGNF1jPsOFuQG105wy8fl5DSXq80oeWk26V7yJt5h0dmH91D5N7AjX771nC12F0AezmOlIiMogh6wvADg/s72-c/ara-1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-2814764019539497245</id><published>2014-04-10T21:40:00.000+07:00</published><updated>2014-04-14T15:55:02.281+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android News"/><title type='text'>Twitter Akuisisi Cover Lockscreen, Aplikasi Lock Screen Populer di Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVtC8Smr8ABMjnc25E51VmlBciDXDtQR_AhOaqAAKHEG6ZWed87hE6HOd_xXslbd4ELmu0xqckk349NT33o5PHQbF4fffLOGSwGJdgebY4oYytxUpKLAy2UmoByzTZ553F0cG9aY61QjI5/s1600/140407142419402.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;twitter acquires cover image&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVtC8Smr8ABMjnc25E51VmlBciDXDtQR_AhOaqAAKHEG6ZWed87hE6HOd_xXslbd4ELmu0xqckk349NT33o5PHQbF4fffLOGSwGJdgebY4oYytxUpKLAy2UmoByzTZ553F0cG9aY61QjI5/s1600/140407142419402.png&quot; height=&quot;110&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;7 april senin kemarin Twitter secara resmi telah mengakuisisi Cover, sebuah aplikasi lockscreen android yang secara otomatis akan mengambil aplikasi yang sering digunakan pada waktu tertentu dan menampilkannya pada layar awal tergantung dimana anda berada. Lihat posting tentang &lt;a href=&quot;http://rizki-java.blogspot.com/2014/04/cover-lockscreen-aplikasi-lock-screen.html&quot; target=&quot;_blank&quot;&gt;Cover lockscreen&amp;nbsp;disini&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cover mengatakan dalam blognya &quot;Twitter dan Cover percaya pada potensi luar biasa dari android, dan mereka bersama-sama akan membuat smartphone dapat menjadi jauh lebih cerdas, kontekstual, dan lebih berguna&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Tidak jelas bagaimana tepatnya Cover akan masuk ke dalam strategi Twitter secara keseluruhan. Juru bicara Twitter pun menolak untuk mengungkapkan ketentuan kesepakatan tersebut secara detail. Akuisisi ini juga memperkuat pendekatan Twitter terhadap mobile-first. Karena lebih dari 75% pengguna Twitter mengakses layanan Twitter melalui perangkat mobile.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Seperti yang kita ketahui saat ini di market android banyak sekali aplikasi yang bersaing untuk mendapatkan perhatian para pengguna android, Keputusan Twitter untuk mengakuisisi Cover tentu saja bisa membantu Twitter untuk tetap menjaga eksistensinya dikalangan pengguna android. Cover diluncurkan pada bulan oktober 2013, sampai saat ini aplikasi Cover lockscreen telah di unduh dan di instal melalui play store oleh lebih dari 500.000 pengguna android.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
sumber: The Wall Street Journal &lt;a href=&quot;http://blogs.wsj.com/digits/2014/04/07/twitter-buys-cover-an-android-lock-screen-app/&quot; target=&quot;_blank&quot;&gt;Blog&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/2814764019539497245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/twitter-akuisisi-cover-lockscreen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2814764019539497245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/2814764019539497245'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/twitter-akuisisi-cover-lockscreen.html' title='Twitter Akuisisi Cover Lockscreen, Aplikasi Lock Screen Populer di Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVtC8Smr8ABMjnc25E51VmlBciDXDtQR_AhOaqAAKHEG6ZWed87hE6HOd_xXslbd4ELmu0xqckk349NT33o5PHQbF4fffLOGSwGJdgebY4oYytxUpKLAy2UmoByzTZ553F0cG9aY61QjI5/s72-c/140407142419402.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2707756210737942680.post-7080078035937280772</id><published>2014-04-10T19:50:00.000+07:00</published><updated>2014-04-14T15:57:01.027+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android News"/><title type='text'>Cover Lockscreen, Aplikasi Lock Screen Populer di Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqCe7ysnwrkHx690TQnhEirGYfsJV7BV8Tm3SYDobJHSsHVOZQf10lgmdpOnNZKj-0PqRo-dV5-BetD7yiNtfvW9oTyOliN9TW56T09o02y6eu8Xzg2KDUtx1rmt7Wd5lHJcJa3E-DQTSQ/s1600/cover-lockscreen.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;cover lockscreen&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqCe7ysnwrkHx690TQnhEirGYfsJV7BV8Tm3SYDobJHSsHVOZQf10lgmdpOnNZKj-0PqRo-dV5-BetD7yiNtfvW9oTyOliN9TW56T09o02y6eu8Xzg2KDUtx1rmt7Wd5lHJcJa3E-DQTSQ/s1600/cover-lockscreen.jpg&quot; height=&quot;165&quot; title=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cover lockscreen merupakan aplikasi &quot;lock screen&quot; populer di android yang di dirikan oleh mantan karyawan google. Cover lookscreen dibuat 100% hanya untuk platform android, itu artinya anda harus menggunakan android untuk dapat menikmati aplikasi &quot;lock screen&quot; ini.&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
Kelebihan apa yang Cover Lockscreen tawarkan dibandingkan dengan aplikasi &quot;lock screen&quot; lainnya?&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Seperti slogan Cover lockscreen itu sendiri yang berbunyi &quot;&lt;i&gt;The right apps at the right time&quot;, &lt;/i&gt;Cover lockscreen menyediakan aplikasi yang tepat pada waktu yang tepat.&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
Bagaimana Cover Lockscreen melakukannya?&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cover lockscreen akan&amp;nbsp;mempelajari kapan dan dimana anda menggunakan aplikasi-aplikasi yang berbeda dan kemudian menempatkan aplikasi-aplikasi tersebut pada lock screen dengan tujuan untuk kemudahan akses. Misalkan pada saat anda dalam perjalanan maka cover lockscreen akan menempatkan maps pada lock screen, saat anda bekerja documents dan calendar akan ditempatkan disana sehingga akan memudahkan pengguna mengakses aplikasi yang sering mereka gunakan pada setiap konteks, untuk berpindah dari satu aplikasi ke aplikasi lainnya juga sangat mudah dilakukan pada Cover lockscreen.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bagaimana, tertarik untuk mencoba Cover lockscreen? download cover dari website resminya&amp;nbsp;&lt;a href=&quot;https://www.coverscreen.com/&quot; target=&quot;_blank&quot;&gt;coverscreen.com&lt;/a&gt;&amp;nbsp;atau melalui&amp;nbsp;&lt;a href=&quot;https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=4&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0CDUQFjAD&amp;amp;url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.coverscreen.cover&amp;amp;ei=J4VGU8abOsvbkAWx1IC4Bg&amp;amp;usg=AFQjCNEjq8wTgFOU3SumPiT1f1lnk9JuLg&amp;amp;sig2=KG_LFxAWLPMOqnRv3JceSg&amp;amp;bvm=bv.64507335,d.dGI&quot; target=&quot;_blank&quot;&gt;Google Play Store&lt;/a&gt;. enjoy...&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rizki-java.blogspot.com/feeds/7080078035937280772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rizki-java.blogspot.com/2014/04/cover-lockscreen-aplikasi-lock-screen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/7080078035937280772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2707756210737942680/posts/default/7080078035937280772'/><link rel='alternate' type='text/html' href='http://rizki-java.blogspot.com/2014/04/cover-lockscreen-aplikasi-lock-screen.html' title='Cover Lockscreen, Aplikasi Lock Screen Populer di Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqCe7ysnwrkHx690TQnhEirGYfsJV7BV8Tm3SYDobJHSsHVOZQf10lgmdpOnNZKj-0PqRo-dV5-BetD7yiNtfvW9oTyOliN9TW56T09o02y6eu8Xzg2KDUtx1rmt7Wd5lHJcJa3E-DQTSQ/s72-c/cover-lockscreen.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>