Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking to implement membership card functionality inside a mobile application for a local coffee shop. The idea is to make payments at the point of sale, and deduct the amount from the client's prepaid account.

I was looking into NFC functionality, but only a few devices support them (and most are not available in Montreal yet).

The other idea is to use the Bump API, which would work great for iOS and Android.

The last resort would be to use Bluetooth somehow.

Any thoughts on any of these approaches, or for those who have tried this, any pros and cons for these ideas.

share|improve this question
up vote 1 down vote accepted

Have you considered using a plain old bar-code? It's immune to 'sniffing', people understand how it works (at least much more than NFC or Bump), and it works on pretty much every device. It would also make it very easy to code the app (and also make it not even require a phone, you could just use a key-chain or wallet card). My local supermarkets both just use bar-code based membership cards, and each have an app with the ability to store those cards on the phone.

The benefit for bar-code based membership cards would be also the ability to scan/store the bar-codes in the app of the user's choosing, as there are some "membership card storage" apps already on the market, and you wouldn't have to duplicate functionality for users of said applications, they could store the cards and display the bar-code as they choose. Until NFC becomes ubiquitous (if ever), I'd just go with a bar-code.

share|improve this answer
I agree entirely. That kind of card already exists, but the powers that be would like to integrate this functionality into the application being developed for the cafe. In short, it's what the client wants that pays the bills. – Mike D Jan 12 '12 at 19:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.