{"id":4157,"date":"2014-03-30T08:45:42","date_gmt":"2014-03-30T08:45:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/android-gtfs-app-collection-of-common-programming-errors\/"},"modified":"2014-03-30T08:45:42","modified_gmt":"2014-03-30T08:45:42","slug":"android-gtfs-app-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/android-gtfs-app-collection-of-common-programming-errors\/","title":{"rendered":"Android GTFS app-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m trying to work on an app which uses GTFS. This may seems like a stupid question but I couldn&#8217;t find any answer to it.<\/p>\n<p>The GTFS for Israel, a rather small country with not so many buses infrastructure, is around 120 MB zipped file. Right now the only possible way I could think of for getting it working is to download the file, but downloading 120 MB using the phone could take quite a long time. Sure you can do this only once and save it in a database on the phone, but it still requires downloading 120 MB.<\/p>\n<p>Since it is zipped, I can&#8217;t unzip it over the server and than just get the txt files..<\/p>\n<p>So basically I&#8217;m asking, How can I get the information to the phone, without downloading the zipped file?<\/p>\n<p>I&#8217;ve seen and used apps which uses that same GTFS file, and they load up really fast, even on the first load..<\/p>\n<p>I hope you understand my issue, not sure how to explain it better.<\/p>\n<p>Thanks!<\/p>\n<p>P.s I would make an iPhone app too, and it&#8217;s the same issue, hence the iPhone tag<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to work on an app which uses GTFS. This may seems like a stupid question but I couldn&#8217;t find any answer to it. The GTFS for Israel, a rather small country with not so many buses infrastructure, is around 120 MB zipped file. Right now the only possible way I could think of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4157","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4157"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4157\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}