QR Code
http://www.copperykeenclaws.com/how-to-create-qr-codes-in-java/
https://github.com/mdpendergrass/qrcode
Problems in QR code land:
Matt's identity, in xml, is 883 chars long, all types of chars.
In json I got it down to 806.
We need it to be at 669 or lower to work with QR code readers in smart phones. Abadandon QR?
Details on QR code length: http://www.qrstuff.com/blog/2011/11/23/qr-code-minimum-size
Possible solution:
- Separate QR codes for an identity and a destination? That would shorten the files to a workable length.
I think separate QR codes for the identity and destination is the best way to go. I also don't think they need to be imported at the same time.
The other option is to import a url to the file containing the identity and destination. A url would centralize the list of identities which may cause a problem.
These are your identity (blue) and destination (green) QR codes:

As long as we don't add meta data to the destination, we are good. The identity still has a bit of room, which is why everything is bigger in it.
You can convert them to text with a QR Code reader. They come as smartphone apps and uses your phone's camera.
It works! I will have to create a way of importing the identity and destination as separate tags.
I will implement this on the public groups (Find Masques tab) section of the website. I think we should accept text and offer the user either text or qr codes to download when they find a group they want to connect with?
Text ecoding.
Our options are:
- UTF-8
- Shift_JIS
- ISO-8859-1
You should decide probably based on the Java library or Clojure library. The Java one looks pretty great.
- http://code.google.com/p/zxing/
- https://github.com/mdpendergrass/qrcode
In any event, I will be using PHP, and can easily produce the three encoding options above. Let me know which one to use.
I need to do more research here. I am on it. Will post back.
For the record, if we can, I would like to keep everything UTF-8.
Yes, UTF-8 should work fine and is my suggestion. However, I haven't checked out any of the libraries.