Android Beam (NFC) support in Fennec



All timestamps are based on your local time of:

Posted by: stak
Tags: mozilla
Posted on: 2013-03-13 19:16:54

Last week I landed bug 726335 which adds support for sharing the currently visible tab URL via Android Beam in Fennec. I also had two follow-up patches because I forgot to check the API levels in which the relevant APIs where added... doh! But anyway, if you have two Android NFC-enabled devices running ICS or higher, and Nightly (FF 22) running on one or both of them, you can hold the devices back-to-back until the Android Beam UI shows up, and then tap the screen to share the current tab's URL.

We should be Beam-compatible with the stock browser, so if the device you're sending the URL to doesn't have Fennec installed they can still open the URL in the stock browser, and you should be able to receive URLs sent from the stock browser in Fennec. Note also that if you are currently on a private browsing tab, this feature is disabled.

While sharing the current tab's URL is an obvious starting point, there are probably other things that could be shared over NFC. What else would you like to be able to share from Fennec?

Posted by Robert O'Callahan at 2013-03-13 20:10:24
can we have this for FirefoxOS too?
[ Reply to this ]
Posted by Mark Finkle at 2013-03-13 23:57:48
Might be waiting for WebNFC? https://bugzilla.mozilla.org/show_bug.cgi?id=674741
[ Reply to this ]
Posted by Caspy7 at 2013-03-15 10:18:43
> What else would you like to be able to share from Fennec?

Can we do pictures?

Also, instead of disabling the feature while in a private tab, can't we just open in a new tab?
[ Reply to this ]
Posted by stak at 2013-03-15 11:38:21
> Can we do pictures?

Do you mean images from web content? We could probably share arbitrary pieces of a web page, yes.

> Also, instead of disabling the feature while in a private tab, can't we just open in a new tab?

Sorry, to clarify: you can *receive* URLs while in a private tab (and they will open in a new tab) but you can't *send* the URL of a private tab.
[ Reply to this ]
Posted by stak at 2013-03-28 23:34:12
Filed as bug 855961.
[ Reply to this ]
Posted by Justin Wood (Callek) at 2013-03-15 19:04:56
Can we use this to migrate profile/setup Sync/etc. Ths would be useful when I as a consumer get a new phone! And wish to migrate my Fennec settings to my new phone.
[ Reply to this ]
Posted by stak at 2013-03-28 23:42:57
Filed as bug 855962.
[ Reply to this ]

[ Add a new comment ]

 
 
(c) Kartikaya Gupta, 2004-2014. User comments owned by their respective posters. All rights reserved.
You are accessing this website via IPv4. Consider upgrading to IPv6!