History log of /packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
116871653662979554a7326991ba4fd599ac44ff 20-Jan-2012 Nick Pelly <npelly@google.com> Some quick cleanup of Tag.apk using new NDEF APIs

Change-Id: Ib3825f7abb27f7552ad0c0a93ce5ceb3af18d262
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
a6855221fb6e5c6c19d31283a18ced44cccdf442 28-Oct-2010 Jason parks <jparks@google.com> Simplify snippet generation.

Made ParsedNdefMessage a concrete class and moved
the getSnippet() method to ParsedNdefRecord. There
was no need for another set of classes that knew
how to generate a snippet.

ParsedNdefMessage now contains the logic for which
record to pick for the snippet.
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
40d9a0cd0a37d184ee737b2d7138a39e4292ce3e 26-Oct-2010 Jason parks <jparks@google.com> Switch to a simpler storage model.

Going back to the previous storage model of where we only store the messages.
We reference records by appending the offset of the record to the end of the
uri.

When a tag is discovered we start the service to save it. A PendingIntent
is created that will resolve to the currently running activity.

Change-Id: I32d1dd70960fdf67129d1707399d667de030ebe5
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
f34e4d5ec99fd7883bbfcdc0f644d9d6e4df6c97 22-Oct-2010 Jeff Hamilton <jham@android.com> Changes towards getting the app compiled using the SDK.

There are only a few things left in the NFC code
that aren't using public APIs.

Change-Id: I5c1686319d5dac6313ea732105f5eeb36a9562c0
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
3da1ea5658992857304ecc0bda0d079327580f02 19-Oct-2010 Jeff Hamilton <jham@android.com> Stop using the private VCARD implementation.

Rip out the URI view creation to a utilty class
so it can be reused by other record classes.

Change-Id: I1362f16c87dbbddb342439546c239047574e4773
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
24147eeedccccc552ba116c74384a8ea22da9dcb 20-Oct-2010 Nick Kralevich <nnk@google.com> remove getRecordType(), other cleanup.

Change-Id: I6c7922b22d0bef57ebfd2a6dee059364ca43a859
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
081de56bfdd18f47025ef7af85b45592db244233 19-Oct-2010 Nick Kralevich <nnk@google.com> Tweak around with ImageRecords / MimeRecords

This CL does a little bit more work up front to determine
if the blob we're dealing with is an actual image, as
well as factoring out the code dealing with images from
other mime types.

IMHO, it's a slightly cleaner design.

Change-Id: If3b1ff2ddd06088e711bfda00a26729e274e1c36
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
8dd68417526785dd82f054bcf3f4763e19d35142 19-Oct-2010 Jeff Hamilton <jham@android.com> Display MIME images inline.

Change-Id: I41c5473faf2aece5ffac8903904ac9b495ebe5f0
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java
46793e91497af04df8c3cf0536b33ed1d5db0da2 19-Oct-2010 Nick Kralevich <nnk@google.com> initial support for MIME ndef objects.

This is preliminary work for vcard support.

Change-Id: I54f90436c0b4eaa0ec0e69817a3715a070436b9b
/packages/apps/Tag/src/com/android/apps/tag/record/MimeRecord.java