ManojNimbalkar / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
0 stars 0 forks source link

NFC [&c.] Support #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NFC and other close-range wireless technologies have the potential to make 
person-to-person Bitcoin transactions very convenient. NFC support should be 
added if possible. Use of other close-range wireless technologies should also 
be considered.

Original issue reported on code.google.com by Flamsmark on 12 Jul 2011 at 3:48

GoogleCodeExporter commented 9 years ago
I would implement this immediately. Unfortunately, I've got no NFC capable 
phone. I'd also need a writable NFC tag or a second phone to test )-:

Can someone borrow a phone to me (you would get it back after a few days)?

Original comment by andreas....@gmail.com on 12 Jul 2011 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 14 Jul 2011 at 1:18

GoogleCodeExporter commented 9 years ago
Ok, for those with NFC phones who would like to help, here are some challenges:

1) Discover how a Bitcoin URI has to be formatted and written to a writable NFC 
tag, in order to be read by a generic NFC reader app and the wallet send dialog 
opened. SendCoinsActivity already has got an appropriate Intent Filter (for QR 
codes), so probably there is no coding involved at all.

2) Enhance the Send Coins dialog so that it activates NFC in the background, 
reading exactly the tag from 1). If a tag could be read, fill the form fields 
with values from the tag.

3) Enhance the Request Coins dialog so that it activates NFC in the background, 
and somehow emulates the tag from 1). This means the request dialog can 
interoperate with both the enhanced send dialog from 2) and the generic NFC 
reading app from 1).

4) Implement sending of a signed transaction from the sender to the receiver 
directly via NFC (in addition to broadcasting to the network via its peers). 
This would probably involve BitCoinJ enhancements.

Original comment by andreas....@gmail.com on 15 Jul 2011 at 2:46

GoogleCodeExporter commented 9 years ago
I want to help, but I still have to learn a lot about NFC and making android 
apps.

I have an Android phone with NFC capability (the Nexus S). Do you think it is 
useful for me to also buy an ACR122 reader?

I think we have to agree how to use NFC. I am thinking about communication 
between a POS terminal and a smart phone, so 'dumb tags' are not useful. But 
there are other options, e.g. have tags integrated in products, have the 
customer scan them, and have detection ports to detect unpaid products.

PS. reply to cornwarecjp@lavabit.com, and not to my gmail address!

Original comment by cornware...@gmail.com on 18 Jul 2011 at 2:32

GoogleCodeExporter commented 9 years ago
I implemented 1, 2 and 3. It is already live in the Market versions.

Original comment by andreas....@gmail.com on 19 Jul 2011 at 10:19

GoogleCodeExporter commented 9 years ago
Shouldn't this ticket be closed?

Original comment by arcusiul...@gmail.com on 20 Aug 2011 at 12:04

GoogleCodeExporter commented 9 years ago
I originally left this ticket open because of 4 is not implemented yet. But 
thinking about it, it will take a while. So I'm closing this for now and 
perhaps will open another ticket just for sending tx via NFC.

Original comment by andreas....@gmail.com on 20 Aug 2011 at 12:56