ganeshMalliga / tibar

Automatically exported from code.google.com/p/tibar
0 stars 0 forks source link

Information about the recognised symbology / code in callback parameter missing #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The success callback is called with the 'barcode' parameter which includes the 
plain number/text of the recognized barcode.

missing 'symbology' parameter, which informs about the coding:
-EAN
-ISBN
-CODE128
-QR-Code

and so on.

Original issue reported on code.google.com by las...@googlemail.com on 14 Aug 2010 at 10:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
var TiBar = Titanium.TiBar;

    TiBar.scan({
        success:function(data){
            if(data && data.barcode && data.symbology){
                Ti.API.debug("Barcode: " + data.barcode + " Symbology:"+data.symbology);
            }
        }
    });

Original comment by las...@googlemail.com on 9 Sep 2010 at 4:49

GoogleCodeExporter commented 8 years ago
fixed in v0.2

Original comment by las...@googlemail.com on 9 Sep 2010 at 4:50

GoogleCodeExporter commented 8 years ago
Hi,

I've download the module and used it to create a demo for a client, it is very 
impressive, I cannot see another way of contacting you but I would like to 
offer my help with the project in whatever way I can?

Original comment by ploun...@me.com on 12 Sep 2010 at 7:33

GoogleCodeExporter commented 8 years ago
hi there
i can only agree. please let me know if i can somehow help you. btw: do you 
have any idea why the zbar-help.html is not loaded correctly when tapping the 
(i) button?
thanks a bunch for all this effort!
best,
l

Original comment by luis.ack...@gmail.com on 12 Sep 2010 at 7:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
hi luis,
the problem with (i) symbol was solved by a titanium community member already 
and the solution was posted in the tibar thread in q&a area at appcelerator 
page. here an excerpt: "I also found that putting a custom zbar-help.html file 
in the Resources folder now works. Touching the i now shows my help file." We 
tested that and can confirm that this works ;)

Thank you all for the interest in contributing, we appreciate that. Feel free 
to express any feature wishes refering the tibar module by opening a "New 
issue" here.
We planed to commit the tibar module source code here as well. So, expect the 
complete xcode project here soon.

Thank you and best regards,
Martin.

Original comment by las...@googlemail.com on 12 Sep 2010 at 8:15

GoogleCodeExporter commented 8 years ago
hi m
thanks for the fast answer. i have, of course, already searched for a solution 
and found the mentioned one. but apparently it doesn't work this way (putting 
"zbar-help.html" in "Ressources") - have you personally tried this yet? as i 
told you, let me know if i can somehow join and help the project.. : )
best  

Original comment by luis.ack...@gmail.com on 12 Sep 2010 at 8:25

GoogleCodeExporter commented 8 years ago
hi luis,
please be careful with the case and typo of the folder. you should place your 
help file to:
[YOUR-APP-DIRECTORY]/Resources/zbar-help.html
It should then be on the same level where your app.js file is located.
We tested this and this work.

Best regards,
Martin.

Original comment by las...@googlemail.com on 12 Sep 2010 at 9:00

GoogleCodeExporter commented 8 years ago
thanks for the help martin. but unfortunately this is not true any longer.
i guess you changed it in v0.2 because now i see references to tibar-help.html 
in your source code..
all the best,
l

Original comment by luis.ack...@gmail.com on 13 Sep 2010 at 9:14

GoogleCodeExporter commented 8 years ago
yeah you're right its tibar-help.html ;)
sry

Original comment by las...@googlemail.com on 13 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago
in 0.3 version you have to use zbar-help.html, see TiBar Reader App
Cheers, Lukasz

Original comment by lukasz.r...@gmail.com on 14 Sep 2010 at 2:36