Merge "Update OBB sample to revised API" into gingerbread
diff --git a/apps/Tag/src/com/android/apps/tag/TagDBHelper.java b/apps/Tag/src/com/android/apps/tag/TagDBHelper.java
index 36ae7a0..7857141 100644
--- a/apps/Tag/src/com/android/apps/tag/TagDBHelper.java
+++ b/apps/Tag/src/com/android/apps/tag/TagDBHelper.java
@@ -37,7 +37,7 @@
 
     private static final String NDEF_MSG = "create table NdefMessage ("
             + "_id INTEGER NOT NULL, "
-            + "bytes TEXT NOT NULL, "  // TODO: This should be a blob
+            + "bytes BLOB NOT NULL, "
             + "date TEXT NOT NULL, "
             + "PRIMARY KEY(_id)"
             + ")";
@@ -137,6 +137,7 @@
         stmt.bindString(1, new String(msg.toByteArray())); // TODO: This should be a blob
         stmt.bindString(2, new Date().toString());
         stmt.executeInsert();
+        stmt.close();
     }
 
     @Override