{"id":1365,"date":"2012-06-17T12:27:26","date_gmt":"2012-06-17T09:27:26","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=1365"},"modified":"2022-01-19T08:34:42","modified_gmt":"2022-01-19T06:34:42","slug":"hacker-countdown-android-app","status":"publish","type":"post","link":"http:\/\/9v.lt\/blog\/hacker-countdown-android-app\/","title":{"rendered":"Hacker countdown &#8211; Android app"},"content":{"rendered":"<p>Well maybe not very elite as I would like it to be, but this is my second android app I developed and it turned out awesome :D<br \/>\nMy first app can be found <a href=\"http:\/\/9v.lt\/blog\/android-hostname-resolver\/\" title=\"HostnameResolver for Android\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>So, about this app &#8211; like it was discussed <a href=\"http:\/\/evilzone.org\/projects-and-discussion\/hacker-movie-like-app-for-android\/\" target=\"_blank\" rel=\"noopener\">here<\/a>, I thought I&#8217;ll make my own version for android that looks like that one. Though I&#8217;m not sure if I violate some copyrights or anything&#8230;<br \/>\nI tried to replicate the app as much as I could and I think I succeeded, but I changed few things.<br \/>\n<!--more--><br \/>\nWhat I changed is:<\/p>\n<ul>\n<li>Random code scrolling up &#8211; of course I couldn&#8217;t replicate the exact text like in the movie, but the text I use is no less random :D The text is actually made of some hex values, some reversed stuxnet C code, lots of Ubuntu system logs (grabbed from a copy running in my VBox hehe) and other gibberish&#8230;<\/li>\n<li>Time counting down &#8211; I didn&#8217;t want to count the boring 5 hours like in the movie, so I made it calculate time left until December 21st (the doomsday?) showing in a format Days:Hours:Minutes:Seconds:Milliseconds (0:00:00:00:000). It will do so regardless of the year, so it will count down to that date every year!<br \/>\nThough what will the phone actually do when the counter hits all 0&#8217;s, I have no idea&#8230; &#8211; it might explode, or divide by zero&#8230;<\/li>\n<li>My version runs in fullscreen and keeps the screen awake until it is running<\/li>\n<li>Code text is a bit bigger<\/li>\n<\/ul>\n<p><strong>Technical details:<\/strong><br \/>\nAt start it loads a text file with 4k+ lines of garbage into an array. Random time interval is generated after each text output, so it outputs text at random times between 100 and 500 milliseconds. Text is picked randomly by 1 line.<br \/>\nIf you press the <em>HOME<\/em> key, application will <em>minimize<\/em> to the background. If you press the <em>BACK<\/em> key, application will <em>terminate<\/em>.<br \/>\nOf course how accurate the time is calculated, depends on your phone&#8217;s settings.<\/p>\n<p>Ok I think I said everything&#8230; you can explain it to your friends like this:<\/p>\n<blockquote><p>It connects to the underground network through GSM signal operated hacker stations and pulls information in real time!<\/p><\/blockquote>\n<p><img decoding=\"async\" style=\"float:right\" src=\"http:\/\/9v.lt\/projects\/android\/HackerCountdown\/screenshot.png\" alt=\"1\" \/><\/p>\n<p>Download the APK here: <a href=\"http:\/\/9v.lt\/projects\/android\/HackerCountdown\/HackerCountdown.apk\" target=\"_blank\" rel=\"noopener\">HackerCountdown.apk<\/a><br \/>\nDownload the full code as Eclipse project: <a href=\"http:\/\/9v.lt\/projects\/android\/HackerCountdown\/HackerCountdown.zip\" target=\"_blank\" rel=\"noopener\">HackerCountdown.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well maybe not very elite as I would like it to be, but this is<\/p>\n","protected":false},"author":2,"featured_media":1665,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[820,135,816,815,819,817,818,316],"class_list":["post-1365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-21-december","tag-android","tag-count","tag-countdown","tag-doomsday","tag-down","tag-hacker","tag-movie"],"_links":{"self":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/1365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":0,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/1365\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1665"}],"wp:attachment":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=1365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=1365"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}