Closed
Bug 726335
Opened 12 years ago
Closed 11 years ago
Use NDEF Push with NFC (Android Beam | API level 14) for transferring currently focused tab
Categories
(Firefox for Android Graveyard :: General, enhancement)
Tracking
(relnote-firefox 24+, blocking-fennec1.0 -, fennec-)
RESOLVED
FIXED
Firefox 24
People
(Reporter: aaronmt, Assigned: kats)
References
Details
(Keywords: feature, Whiteboard: [NFC])
Attachments
(3 files, 2 obsolete files)
2.88 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
4.47 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
3.39 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Make use of the available NFDEF Push with NFC (Android Beam, API level 14) to transfer the currently focused tab from phone to phone. * http://developer.android.com/sdk/android-4.0.html * http://developer.android.com/reference/android/nfc/NdefMessage.html * http://developer.android.com/resources/samples/AndroidBeamDemo/src/com/example/android/beam/Beam.html * http://developer.android.com/guide/topics/nfc/nfc.html
Updated•12 years ago
|
tracking-fennec: --- → -
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #720761 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 3•11 years ago
|
||
We probably want to defer this until we do a permission batch upgrade.
Attachment #720762 -
Flags: review?(mark.finkle)
Updated•11 years ago
|
Attachment #720761 -
Flags: review?(mark.finkle) → review+
Comment 4•11 years ago
|
||
Comment on attachment 720762 [details] [diff] [review] Receive URIs over NFC >+ <action android:name="android.nfc.action.NDEF_DISCOVERED"/> >+ <category android:name="android.intent.category.DEFAULT" /> >+ <data android:scheme="http" /> >+ <data android:scheme="https" /> I suppose we don't need to worry about ftp or any other protocols >- } else if (Intent.ACTION_VIEW.equals(action)) { >+ } else if (Intent.ACTION_VIEW.equals(action) >+ || (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD_MR1 >+ && NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action))) { I cringe a little at the increased complexity of the "if" test. I'd almost be OK with treating it as a separate condition, even though the 2 lines of code would be duped. As it stands right now, we'll need to comment this out when it hits Beta. There is a wiki page for managing that process: https://wiki.mozilla.org/Release_Management/Merge_Documentation
Attachment #720762 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Actually, should most of this onNewIntent stuff be moved to BrowserApp.java instead? I assume we don't want to be doing this in web apps, right?
Comment 6•11 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #5) > Actually, should most of this onNewIntent stuff be moved to BrowserApp.java > instead? I assume we don't want to be doing this in web apps, right? That's a better idea.
Assignee | ||
Comment 7•11 years ago
|
||
Ah, the intents don't get triggered on web apps anyway because the manifest entries are in the "App" activity, so it's not technically a problem, but I moved it over anyway for less confusion.
Assignee | ||
Comment 8•11 years ago
|
||
Updated, carrying r+
Attachment #720762 -
Attachment is obsolete: true
Attachment #721132 -
Flags: review+
Assignee | ||
Comment 9•11 years ago
|
||
Updated to use "10" instead of the version code name to be consistent with the rest of BrowserApp.
Assignee: nobody → bugmail.mozilla
Attachment #721132 -
Attachment is obsolete: true
Attachment #721152 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #721154 -
Flags: review?(mark.finkle)
Updated•11 years ago
|
Attachment #721154 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b9fa7600200f https://hg.mozilla.org/integration/mozilla-inbound/rev/a38ff8b11dc0 https://hg.mozilla.org/integration/mozilla-inbound/rev/9d6d7796e284 I filed bug 847898 for the disable/backout and updated the wiki page at https://wiki.mozilla.org/Release_Management/Merge_Documentation#Known_Backouts_for_Version with the bug number. Not sure if anything else needs to be done here right now.
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b9fa7600200f https://hg.mozilla.org/mozilla-central/rev/a38ff8b11dc0 https://hg.mozilla.org/mozilla-central/rev/9d6d7796e284
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
There have been some very interesting flaws shown at security conferences regarding NFC, marking this for sec-review after the fact.
Flags: sec-review?
Updated•11 years ago
|
Flags: sec-review? → sec-review?(mgoodwin)
Updated•11 years ago
|
relnote-firefox:
--- → ?
Comment 14•11 years ago
|
||
We won't note given bug 847898. We'll note once the feature is more ready for release.
Updated•11 years ago
|
Whiteboard: [NFC]
Updated•11 years ago
|
Target Milestone: Firefox 22 → Firefox 24
Updated•11 years ago
|
Comment 15•11 years ago
|
||
Adding the feature keyword to be included in the new Release Tracking page.
Keywords: feature
Updated•8 years ago
|
Flags: sec-review?(mgoodwin)
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•