you can try this...
I've just made a test. This Midlet can encode a text and show the 2D Code.
This Midlet can also decode a 2D Code.
2D Codes in Matrix format are also known as QR Codes.
Try to decode only real 2D codes. The amount of time required to decode is proportional to the complexity of the image. If you try to decode a friend's picture your phone will take few MINUTES to decode.
Regular 2D Codes will last few seconds to decode.
If you are interested, the algorithms were taken from this projects:
encoder
http://swetake.com/qr/
decoder
http://sourceforge.jp/projects/qrcode important
If you want to save a file with the encoded or decoded 2D code you need to hack the phone.
here is how:
Edit the file
\mmc\mmca1\.system\java\DownloadApps\MIDletXXXX\registry.txt
or
\.system\java\DownloadApps\MIDletXXXX\registry.txt
depending on how you are accessing your phone.
XXXX is a number and can be any number.
It will have a content similar to this:
Code:
Jar-Path: /mmc/mmca1/.system/java/DownloadApps/MIDlet20133/Files/QRCode.jar
Jad-Path: /mmc/mmca1/.system/java/DownloadApps/MIDlet20133/Files/QRCode.jad
Perm-Path: /mmc/mmca1/.system/java/DownloadApps/MIDlet20133/permfile.txt
Suite-Icon:
DRM-Mode: Forbidden
Is-Trusted: 0
Jar-URL: QRCode.jar
Description:
Domain: Untrusted
Signer-Name:
Mot-JavaVM-Heapsize: 0
Delete-Notify:
Num-MIDlets: 1
MIDlet-1: QRCode, , QRCodeMidlet
If it does not contain the line:
MIDlet-1: QRCode, , QRCodeMidlet
then you are in a wrong file. Try another Midlet directory.
Once in the rigth file change
Domain: Untrusted
to
Domain: Manufacturer
After that, go to the phone aplication menu, long-tap the QRCode icon to open the popup menu.
select Manage
select Permissions
Verify that the permissions are all "Never Ask"
Select OK