History log of /packages/apps/Tag/src/com/android/apps/tag/TagViewer.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/TagViewer.java
59395354a8a09752dae68f2fef44d6ad011c38db 28-Jul-2011 Jeff Hamilton <jham@android.com> Update the Tags app to the holo theme and fix some bugs.

Change-Id: I217cf3f5b2e228df50ff1bed050448bf72140a3b
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.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/TagViewer.java
42d7414fd42591c16a12525c08993c263ca13784 01-Feb-2011 Nick Pelly <npelly@google.com> Update Tag.apk for final GB MR changes.

Change-Id: I598ba6429113242882b4ad532a527734b873461d
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
5f8ccf9e9e87a24b7b898cfa67dc84dbb7ee7349 23-Jan-2011 Jeff Hamilton <jham@android.com> Improved tag writing support.

Now you go to an activity that prompts
you to scan a tag to write to it and
prints out the status when a tag is
scanned.

Still hidden on user builds since the
UI is really rough and has a lot of
known issues.

Change-Id: I56edccb80b3ab599c849e23f4ec5897a0cc97090
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
42aa0294878b9f98ef5357c31e942b9e0996b6f8 21-Jan-2011 Jeff Hamilton <jham@android.com> Update to the new NFC APIs.

Change-Id: I62ba9b0d030cd1ee608695d73f0e478294498295
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
17b15946791544436f24027c906e5a22c3bf72dd 10-Jan-2011 Nick Pelly <npelly@google.com> Update Tag application for getTechnology API change.

Change-Id: Iabb00848b97ce262e8a0c146197d7d6bcd4adb07
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
c27e0b7e8c87db872bf3fd7ceda169ad725be33c 23-Dec-2010 Ben Komalo <benkomalo@google.com> Fix notification sound for tag discovery.
The create() convenience function calls
prepare(), which disallows further modification
to the MediaPlayer.

Note: the system (instead of the app)
may play the notification in the future,
depending on changes we make to the workflow

Change-Id: Ia0430930ccba30d21e79b510c449b63dcb01fe0e
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
a6f38c798841248a57276f19711076f152eecd49 17-Dec-2010 Jeff Hamilton <jham@android.com> Hack in tag writing support for non-user builds.

The UX is horrible, but it does let you do
basic tag writing. To use it go to My Tag
create a tag you want to write the select
"Write to next tag scanned" from the context
menu of the tag you want to write.

The next time any tag is scanned it will try
to write that message and will show a toast
with the result of the write attempt.

Regardless of success the write request will
be erased at the scan.

Change-Id: Ib4eb4762979bf178bfdb588b7d8a6788b02631d2
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
80e02347d3417389fc8b18d06b7172023f0d203e 04-Dec-2010 Jeff Hamilton <jham@android.com> First pass at advanced NFC tag dispatching APIs and other cleanup.

Change-Id: I288a13cea9967c2f852200e8bd1a802b7d96655d
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
7cce65525f7f781c6be793a3c116874f46911524 04-Nov-2010 Jason parks <jparks@google.com> Release the MediaPlayer object after it is finished playing.

Change-Id: Ic20bfbff611bbee04b01cb5adf667d722f9d47ec
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
39523c7c2e4df38d674a33c4c4631ed908ad3c9e 04-Nov-2010 Jeff Hamilton <jham@android.com> Don't show the tag scanned activity over the lockscreen.

Bug: 3163663
Change-Id: I5ad704030b1d0ecdcf49551831d9bcc2af646aa1
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
52d880daa43a4f587107a6b8a0197afd3092200a 03-Nov-2010 Jeff Hamilton <jham@android.com> Really fix the build.

Change-Id: I94da628bfb25ac2fd4de2ee39df0c91f6cdd6e97
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
e2f5675cc5bd371e1afdd36463d743123d4e4154 03-Nov-2010 Jeff Hamilton <jham@android.com> Fix the build

Change-Id: I686e55e8148c7774d1d5be2ab0891b9108d8fa2b
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
cea07d0d7a82a3e2dc93c7a8e71d10546e72250d 03-Nov-2010 Jeff Hamilton <jham@android.com> Use STREAM_NOTIFICATION for tag scanned beeps.

Change-Id: Ia8399a7b5a280c8dcfd55abaa25cbabd0bb93e27
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
f38cc72626f196d664607011b3a66a6e07379929 03-Nov-2010 Jason parks <jparks@google.com> Fix NPE when receiving a NDEF message of 0 length.

Change-Id: I44661f453f7819b7847bb892f868cb05bdd66aaa
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
c2bab52a78004bc5f4e952f4c6a2d35bd59242ba 02-Nov-2010 Jason parks <jparks@google.com> Keep the screen on a little longer after scanning a tag.

Added a wakelock with a timeout to keep the screen
on. Added a broadcast receiver for screen off to
finish the tag scanning activity. This will prevent
the activity from showing up the next time the
screen on.
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
383e6d1118bc04b2ccedd3276f04e09ef1c8d3ff 29-Oct-2010 Jeff Hamilton <jham@android.com> Grab a wake lock when you scan a tag.

This prevents the screen from immediately going
to sleep when the TagViewer is hiding the lock
screen.

The wake lock is acquired with a timeout to ensure
it doesn't keep the device awake forever.

Bug: 3146598
Change-Id: Ib97b42cba3ad7ded1cb165769a35c36d922e4cd0
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
9299bbc8f5b2b26b4684f832f0360779ea5c5d77 01-Nov-2010 Ben Komalo <benkomalo@google.com> Show toast when tag is deleted.

Change-Id: I45914e2701dd646be205ba540c4fb9dce35d1e46
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
81e7cece03b7dc5fd926f860495d068a32856e77 01-Nov-2010 Ben Komalo <benkomalo@google.com> Minor cleanup work - merge title/text in My tag and don't show
the date on newly collected tag popups

Change-Id: I5222ba61c02894370750295f559312979c152dda
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
4a9765f25e654a2bd8e7c5082767a34307053497 29-Oct-2010 Jason parks <jparks@google.com> Polish.

* When scanning a tag it keeps the title that says
the tag was scanned.
* For vcard message it now displays the display
name of the contact rather than text/v-Card.
* Changed the import action on vcards to display
the display name.

Change-Id: I16f70f2e69a1b891ae2f452959c00b03f3e80281
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
a29dc1ba19e86ae23f8789bbb8fce6b57130c561 29-Oct-2010 Jeff Hamilton <jham@android.com> Update to the new APIs.

Change-Id: I8aed612159d369dd9360ba3bc4aa7ee9c008c718
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.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/TagViewer.java
52baa667d419c122860e5436bf7f66dc169aaaca 22-Oct-2010 Jeff Hamilton <jham@android.com> Implement starring of tags.

Change-Id: I8217c599fa97a3a22a3c5c3896300dfc790ac2eb
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.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/TagViewer.java
2163875b6f227a079894d2205353b9eda60e913e 22-Oct-2010 Jason parks <jparks@google.com> Store the entire tag in the database.

Two new tables, ndef_tags and ndef_records, have
been added. The ndef_tags table is not currently
used but is there for furture proofing.

Change-Id: Ifd8f3bd0b4055a9d9cd0d456ea460406b4711cb0
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
760fe581f6750edd81df4d86cead28a5b9070620 20-Oct-2010 Ben Komalo <benkomalo@google.com> Beginnings of support for adding new records to a tag
when editing. Currently only supports ImageRecords.

TODO: support other types
TODO: support editing/removing records that were just added

Change-Id: I4da95084b474f68353ba9e82751bab6316975f11
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
9330d7c4ca64eb6b317f194f5c23ed33f077a944 19-Oct-2010 Ben Komalo <benkomalo@google.com> Play notification on tag discovery.

Change-Id: Ica160bbe1ffc87bad88b92f36bb61bdc623d32d3
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
f979f1c99083f73175f00e8c8cb0c08c88f2a7b8 19-Oct-2010 Jeff Hamilton <jham@android.com> Add the date in the title bar when viewing an exsiting tag.

Change-Id: I3c943c1d8057958b958f8825db0d4aab3fad4760
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.java
0215c98773bad1b532c97b1f875aa2f0ef201bf8 19-Oct-2010 Jeff Hamilton <jham@android.com> Update the UI to match the latest spec.

The TagViewer now loads tags from the database
instead of taking them as arguments in intents.

It should also now properly handle scanning a
new tag while viewing one, but I can't test that.

Change-Id: Ib0325d9838ce14cb50e04cade6f467be2dbe1694
/packages/apps/Tag/src/com/android/apps/tag/TagViewer.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/TagViewer.java