Read the zipcode database from a server

Same as the previous example, except that the zipcode database zipcode.sqlite is downloaded from the server oit2.scps.nyu.edu when the app is launched. The files xa0, xa1, xa2 no longer exist.

Source code in Zipcode.zip

  1. ZipcodeActivity.java
  2. Helper.java: the getCursor method contains the new code.
  3. list_item.xml
  4. AndroidManifestist_item.xml contains the element uses-permission android.permission.INTERNET.