History log of /packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.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/UriRecord.java
7d7438754bd995dcd0d9e4fd4810d3f2bb20605f 21-Jul-2011 Jeff Hamilton <jham@android.com> Gut the Tags app.

Bug: 5048185
Change-Id: I6f3ecd6d89b1146cf6b82733a56da7ce37fcf9b2
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
8722731539a5dad00bb5db54df17b6db11f751e7 11-Jun-2011 Nick Kralevich <nnk@google.com> more checking for malformed ndef records.

Change-Id: I0a788405b668ef76368fb746ca46d71da387beea
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
58fbc09c19d87b6463bb68f74eefc43af1c13dbf 27-Jan-2011 Jeff Hamilton <jham@android.com> Don't crash when not selecting a contact.
Fix some more UI stuff. Add text type.

Bug: 3379320
Change-Id: I07c7f14a54552ba5ce24a252d9d650c2b21f50c9
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
cb41da2817175996179cc34e50e5e284d043d3cc 14-Jan-2011 Ben Komalo <benkomalo@google.com> Large simplification to My tags functionality.

- removed image record editing
- removed mandatory text in all My tags
- made the My tags fixed number of records
the ability to add/remove records
- also fixes unparcelling bugs

Change-Id: Iab6da6eb309ee8ba43cabaa45be1c9442c229a47
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.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/UriRecord.java
8833d906e3c2d0d4e1b339d6c8fdd87cc23640c8 28-Oct-2010 Ben Komalo <benkomalo@google.com> Restore tag records when re-starting MyTag activity.
TODO vcard support (not sure how to do this yet...)
TODO storing the tag in a db instead of just relying on the
local message so that contents can be restored even
if the checkbox is off

Change-Id: I27574d25ecd9d814db7c73189ac30bd060aa7e1e
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
b6f6bcee808e8437dd2cdd40fb4726fc11602275 28-Oct-2010 Ben Komalo <benkomalo@google.com> Add support for sharing URL's via My Tag.

Change-Id: I39af6516ec2287e1af0c9dc46ca946cbb65cec22
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.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/UriRecord.java
ad9a9c83630d87328c8439ac8b8b9a2c800dbd57 26-Oct-2010 Ben Komalo <benkomalo@google.com> Wire up delete icon for each record.
This introduces an explicit callbacks interface
for the host activity.

Change-Id: I381c59176daea4c97daa7f8d392eb30fc181e2a9
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
4f8d90eaec475cba80a01a6f3aaa024781591451 22-Oct-2010 Ben Komalo <benkomalo@google.com> Add support for editing exiting records that require
external pick activities.
The editor just rebuilds all views all the time for now,
since that will need to happen when restoring state.

Change-Id: I77adea84ffa98d5bd500386538602f059f9e08c3
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.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/UriRecord.java
9a984e566c353ce6fd9887b2e03ab1e99ad07b5a 21-Oct-2010 Ben Komalo <benkomalo@google.com> Change RecordEditInfo to return an NdefRecord instead of
a ParsedNdefRecord as the current value being held.
Also made the Activity store the list to the NFC stack.

ImageRecord's are not quite saved properly, since we need
serialization code for that.

Change-Id: I721d63243ed89b79b50449fae70ce848fcb0bbf5
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
0c2e44c08ba39fe69b28830137726fa99de017d9 21-Oct-2010 Nick Kralevich <nnk@google.com> Move toUriRecord() to a more findable place.

Change-Id: I6f5383ca14aa11e30561f88383d2558d4e16f1bf
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
871419825f5318836faa4926824d03a2ad8912e6 21-Oct-2010 Ben Komalo <benkomalo@google.com> Flesh out tag editor some more:
- the editor now has a list of RecordEditInfo
- the EditInfo is responsible for building an edit View,
and reading the current value from that View

Change-Id: I8db83ca6e565f295a599e6c902f56dfb934b1dfc
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.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/UriRecord.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/UriRecord.java
ac96dc5c05432068a61a9638b42884fc3bc53860 19-Oct-2010 Jeff Hamilton <jham@android.com> Fix comments from review.

Change-Id: Ib95c6b2b12ce1312204b615e42a738fffb819d92
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
c6acde24bc12c39c8d952b3ac20639c27c15d504 19-Oct-2010 Jeff Hamilton <jham@android.com> Tweak some layouts & add parsing for absolute URIs

Change-Id: I6bea148bd55d8fabd712c8578f934621272a76d4
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
fc8fc43fded621674d99952dcdf95c8a4ded5391 19-Oct-2010 Nick Kralevich <nnk@google.com> get unittests working again.

Change-Id: I6d488035572c4d39ff3b91f65fd5335f662b2d30
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
3f68a15cb124e5d37fbf81c57537722b5f29e9af 18-Oct-2010 Jeff Hamilton <jham@android.com> Be defensive when launching actions for URIs.

Also, in the no handler case try to pretty
print the URI.

Change-Id: I630aff86d141e101b9a300105105b3a852dbe894
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java
7949534630e1b14cf73a6ad3c0606ec5be2c480c 18-Oct-2010 Jeff Hamilton <jham@android.com> Import the NFC tag app.

It came from development/apps/Tag at
f8580cf67655e5b4dcf14b2520a8897e97053608

The APK name has changed to Tag.apk.

Change-Id: I4976c4d5b656544676fdd01f64be838e4aafd30f
/packages/apps/Tag/src/com/android/apps/tag/record/UriRecord.java