{"id":508535,"date":"2010-04-03T09:00:18","date_gmt":"2010-04-03T13:00:18","guid":{"rendered":"http:\/\/www.androidguys.com\/?p=14380"},"modified":"2010-04-03T09:00:18","modified_gmt":"2010-04-03T13:00:18","slug":"%e2%80%9csloof-lirpa%e2%80%9d-source-code-released","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/508535","title":{"rendered":"\u201cSloof Lirpa\u201d Source Code Released"},"content":{"rendered":"<div class=\"KonaBody\"><!-- AdSense Now! V1.83 --><br \/>\n<!-- Post[count: 2] --><\/p>\n<div class=\"adsense adsense-leadin\" style=\"text-align:center;margin: 12px;\"><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-8523547931208430\";\n\/* 468x60-agweekly *\/\ngoogle_ad_slot = \"8012175393\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div>\n<div class=\"tweetmeme_button\" style=\"float: right; margin-left: 10px;\">\n\t\t\t<a href=\"http:\/\/api.tweetmeme.com\/share?url=http%3A%2F%2Fwww.androidguys.com%2F2010%2F04%2F03%2Fsloof-lirpa-source-code-released%2F\"><br \/>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/api.tweetmeme.com\/imagebutton.gif?url=http%3A%2F%2Fwww.androidguys.com%2F2010%2F04%2F03%2Fsloof-lirpa-source-code-released%2F&amp;source=AndroidGuys&amp;style=normal&amp;service=bit.ly\" height=\"61\" width=\"50\" \/><br \/>\n\t\t\t<\/a>\n\t\t<\/div>\n<p class=\"first-child \"><a rel=\"attachment wp-att-14381\" href=\"http:\/\/www.androidguys.com\/2010\/04\/03\/sloof-lirpa-source-code-released\/button\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-14381\" src=\"http:\/\/www.androidguys.com\/wp-content\/uploads\/2010\/04\/button.png\" alt=\"\" width=\"205\" height=\"211\" \/><\/a><\/p>\n<p>On April Fool&#8217;s Day we released an app on the Android Market that  claimed to be a World War 2 First Person Shooter which ended up actually  being a humorous self-destruct button. While it was a dirty mean trick  we have released the source code of our April Fool&#8217;s Day app after we  got questions from aspiring developers asking if they could see the  inner workings of such a simple app. It is not a tutorial but rather a  chance for new developers to see some important features of Android in  action. The source code is available in our Downloads section on the <a href=\"http:\/\/sites.google.com\/site\/androidguysprojects\/downloads\">AndroidGuys Projects Website<\/a> in the  form of a zip file. While the app has now been taken off the Android  Market now seeing as April Fool&#8217;s is now over, it is still available for  download as in our <a href=\"http:\/\/sites.google.com\/site\/androidguysprojects\/downloads\">Downloads section<\/a>. The key features that developers  can look out for in the well-commented code are as follows:<\/p>\n<ul>\n<li>Use  of SoundFX using the Android SoundPool Class.<\/li>\n<li>Use of threads to  make a timer.<\/li>\n<li>Simple Animation using XML animation files.<\/li>\n<li>Use  of a device&#8217;s Vibrator<\/li>\n<li>and many other simple things such as  intent, OnClickListener interfaces, and runnables.<\/li>\n<\/ul>\n<p>As I am  still a fairly new developer, some of the code you see may not be  &#8220;best-practice&#8221;,\u00a0 but in the end I always come out with an app that  works exactly as I had originally imagined. I hope the source code is  helpful to many new and aspiring developers as my personal source of  education has primarily been from examining other developers code.<\/p>\n<p>Thanks  and Happy Coding!<\/p>\n<\/div>\n<h3  class=\"related_post_title\">Might We Suggest&#8230;<\/h3>\n<ul class=\"related_post\">\n<li><a href=\"http:\/\/www.androidguys.com\/2010\/01\/07\/android-book-review-android-wireless-application-development\/\" title=\"Android Book Review: Android Wireless Application Development\">Android Book Review: Android Wireless Application Development<\/a><br \/><small>\n<p>While in Indigo Book Store the other day I took a stroll through the Wireless Application Development for Dummies section. Surprisingly this is a growing section with many books on all of the diff&#8230;<\/small><\/li>\n<\/ul>\n<p><a href=\"http:\/\/feedads.g.doubleclick.net\/~a\/EINr1HM9Qaem_J2-MIFBLzV1yVA\/0\/da\"><img decoding=\"async\" src=\"http:\/\/feedads.g.doubleclick.net\/~a\/EINr1HM9Qaem_J2-MIFBLzV1yVA\/0\/di\" border=\"0\" ismap=\"true\"><\/img><\/a><br \/>\n<a href=\"http:\/\/feedads.g.doubleclick.net\/~a\/EINr1HM9Qaem_J2-MIFBLzV1yVA\/1\/da\"><img decoding=\"async\" src=\"http:\/\/feedads.g.doubleclick.net\/~a\/EINr1HM9Qaem_J2-MIFBLzV1yVA\/1\/di\" border=\"0\" ismap=\"true\"><\/img><\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?a=HzpFsOnifGs:Vkgj3Y7mWr8:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?i=HzpFsOnifGs:Vkgj3Y7mWr8:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?a=HzpFsOnifGs:Vkgj3Y7mWr8:gIN9vFwOqvQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?i=HzpFsOnifGs:Vkgj3Y7mWr8:gIN9vFwOqvQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?a=HzpFsOnifGs:Vkgj3Y7mWr8:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?a=HzpFsOnifGs:Vkgj3Y7mWr8:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?a=HzpFsOnifGs:Vkgj3Y7mWr8:6swKnRFnXgo\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/androidguyscom?i=HzpFsOnifGs:Vkgj3Y7mWr8:6swKnRFnXgo\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/androidguyscom\/~4\/HzpFsOnifGs\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On April Fool&#8217;s Day we released an app on the Android Market that claimed to be a World War 2 First Person Shooter which ended up actually being a humorous self-destruct button. While it was a dirty mean trick we have released the source code of our April Fool&#8217;s Day app after we got questions [&hellip;]<\/p>\n","protected":false},"author":829,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-508535","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/508535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/829"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=508535"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/508535\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=508535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=508535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=508535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}