Bitcoin Forum
December 08, 2016, 02:44:47 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Barcode automation for mobile payments  (Read 1430 times)
jago25_98
Hero Member
*****
Offline Offline

Activity: 871


http://moneybutnofixedabode.blogspot.com


View Profile WWW
January 16, 2011, 06:39:07 PM
 #1


 Problem:

You wish to pay a friend with Bitcoin.
 
You have saved your password for MyBitcoin.com except for the last 3 letters into your mobile phone memory to save time,

 but the Bitcoin address is still very long to type in.

How can this be better?

 Barcodes.

There are 2 sections to this problem:

1) Generate a barcode for a bitcoin address.

2) Read a barcode using a mobile phone camera.

There are apps that can read barcodes (http://scan.jsharkey.org/) but what I'm looking for is one that runs in the background and types in the barcode number into the webbrowser. I haven't found that yet. Here's a starter on how you might make that:

You don't need an Android phone to make an Android app. See this article:
http://news.softpedia.com/news/How-to-Run-Android-Applications-on-Ubuntu-115152.shtml

You can run an emulator on your linux or Windows box straight away, including using a PC connected webcam (see http://scan.jsharkey.org/ )

Somebodies already on the barcode scan API:
http://code.google.com/p/zxing/

It should be a simple feat to use that for copy the results from zxing into the copy/paste buffer for easy copying into the web browser.

2) Making your own Bitcoin address barcode.

Here's the list of barcode types useable with zxing:
    * UPC-A and UPC-E
    * EAN-8 and EAN-13
    * Code 39
    * Code 93
    * Code 128
    * QR Code
    * ITF
    * Codabar
    * RSS-14 (all variants)
    * Data Matrix
    * PDF 417 ('alpha' quality)
    * Aztec ('alpha' quality)

I'm now looking up how to make these....
1481208287
Hero Member
*
Offline Offline

Posts: 1481208287

View Profile Personal Message (Offline)

Ignore
1481208287
Reply with quote  #2

1481208287
Report to moderator
1481208287
Hero Member
*
Offline Offline

Posts: 1481208287

View Profile Personal Message (Offline)

Ignore
1481208287
Reply with quote  #2

1481208287
Report to moderator
1481208287
Hero Member
*
Offline Offline

Posts: 1481208287

View Profile Personal Message (Offline)

Ignore
1481208287
Reply with quote  #2

1481208287
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
tcatm
Sr. Member
****
qt
Offline Offline

Activity: 337


View Profile
January 16, 2011, 06:44:27 PM
 #2

Have you seen my js-remote ( http://tcatm.github.com/bitcoin-js-remote/ )? It supports QR codes.
jago25_98
Hero Member
*****
Offline Offline

Activity: 871


http://moneybutnofixedabode.blogspot.com


View Profile WWW
January 16, 2011, 07:17:20 PM
 #3

http://www.mattcutts.com/blog/android-barcode-scanner/
^ This cuts down the barcode scanning to Python. The only thing missing is the copy to copy buffer command at the end.

Just reading that link tcatm.... oh my goodness! No I didn't know about that, that's fantastic, great work, couple of coins on the way to that

Looks like no.2 is solved then.
davux
Sr. Member
****
Offline Offline

Activity: 289


Firstbits.com/1davux


View Profile WWW
January 16, 2011, 08:24:44 PM
 #4

You might also be interested in python-bitcoin's qrCode() method on Address objects.

Example code:

Code: (Python)
from bitcoin.address import Address
from bitcoin.controller import Controller
Controller('myuser', 'mypassword')
Address('17E9BE8HwnPbV1JDFPnUvVWCQo9pBWjdAY').qrCode().save('/tmp/code.png')

Please read the method's documentation to see all the possibilities of the Address object, and of the qrCode() method in particular.

1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2
México (Oaxaca) – France - Leeds
cindy313
Newbie
*
Offline Offline

Activity: 14


View Profile
April 02, 2014, 02:45:26 AM
 #5


 Problem:

You wish to pay a friend with Bitcoin.
 
You have saved your password for MyBitcoin.com except for the last 3 letters into your mobile phone memory to save time,

 but the Bitcoin address is still very long to type in.

How can this be better?

 Barcodes.

There are 2 sections to this problem:

1) Generate a barcode for a bitcoin address.

2) Read a barcode using a mobile phone camera.

There are apps that can read barcodes (http://scan.jsharkey.org/) but what I'm looking for is one that runs in the background and types in the barcode number into the webbrowser. I haven't found that yet. Here's a starter on how you might make that:

You don't need an Android phone to make an Android app. See this article:
http://news.softpedia.com/news/How-to-Run-Android-Applications-on-Ubuntu-115152.shtml

You can run an emulator on your linux or Windows box straight away, including using a PC connected webcam (see http://scan.jsharkey.org/ )

Somebodies already on the barcode scan API:
http://code.google.com/p/zxing/

It should be a simple feat to use that for copy the results from zxing into the copy/paste buffer for easy copying into the web browser.

2) Making your own Bitcoin address barcode.

Here's the list of barcode types useable with zxing:
    * UPC-A and UPC-E
    * EAN-8 and EAN-13
    * Code 39
    * Code 93
    * Code 128
    * QR Code
    * ITF
    * Codabar
    * RSS-14 (all variants)
    * Data Matrix
    * PDF 417 ('alpha' quality)
    * Aztec ('alpha' quality)

I'm now looking up how to make these....
there seems many barcode scanning app for phone , which one to choose is the best way  to do such a thing ?
enriquez
Newbie
*
Offline Offline

Activity: 28


View Profile
April 02, 2014, 06:27:51 AM
 #6

I made a QR Code scanner for iOS that does what you describe (along with an HTML5 wallet). It works by using custom url schemes.

Demo: http://youtu.be/D0NmeVEz70c

The above video shows tapping the Scan Code button to launch the scanner app with a callback url. After it scans, it launches the callback url with the QR Code data that the web app can use to populate text boxes.

I posted more details about the wallet and scanner here: https://bitcointalk.org/index.php?topic=551986.msg6008008#msg6008008
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!