{ "id": "61007", "key": "TIMOB-375", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:28:16.000+0000", "created": "2011-04-15T02:28:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "barcode", "camera" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:16:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Google have open source libraries to do this (QR Codes), would\nbe nice to see this accessible in Titanium

{html}", "attachment": [], "flagged": false, "summary": "Access to camera as a barcode reader", "creator": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123186", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i have a working prototype around this using QR codes. I'll\nbring this in just as soon as 1.0 is out.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:13.000+0000", "updated": "2011-04-15T02:28:13.000+0000" }, { "id": "123187", "author": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi jhaynie, i'm trying to make zxwing work on my project. If I\nhave correctly understood, you already did it. So, can you help me\nplease?
\nI'm able to access the camera and get the picture, and i've\nincluded zxwing library on my project. I just need a couple of code\nlines to
\nunderstand how to call the object-c function that decodes images.\nThanks a lot, Flavio

{html}", "updateAuthor": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:14.000+0000", "updated": "2011-04-15T02:28:14.000+0000" }, { "id": "123188", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

if you can send me your sample project, maybe we can\ncollaborate?

\n

are you willing to contribute your work to titanium as open\nsource?

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:14.000+0000", "updated": "2011-04-15T02:28:14.000+0000" }, { "id": "123189", "author": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi jhaynie, of course I'm willing to contribute my work as open\nsource!
\nI was able to make zxwing work in a native obkect c project... I\nmodified the source
\nand added a \"take a picture\" button. After that, the app decodes\nthe qr code and give
\nme the result. Now I would like to paste it in a titanium\nproject... I get no error
\nat compile time after insert the library on modules folder, but I\ncan't figure out how
\nto call the function from javascript... I'm on it in this moment,\nif I get some
\nresult i'll post you. Thanks a lot, Flavio

{html}", "updateAuthor": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:14.000+0000", "updated": "2011-04-15T02:28:14.000+0000" }, { "id": "123190", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i haven't had a chance to create a better sample project - i\nwill do that
\nbefore monday with the new documentation that will launch on\nmonday. It's
\nrather easy. To call from JS - you just need to define a function\nin
\nobjective-c module like this:

\n

-(id)functionName:(id)args { return resultObject; }

\n

This would map to JS:

\n

var result = Ti.ModuleName.functionName(args);

\n

To invoke a property accessor in JS:

\n

-(id)propertyName { return result; }

\n

To invoke a property setter in JS:

\n

-(void)propertyName:(id)value {

\n

}

\n

Titanium generally will do the rest. If you need to fire events,\nthe sample
\nmodule project created when you create a module will show you an\nexample.

\n

If you'd like, you can share your project with me and I can wire\nit up for
\nyou and send it back to you.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:14.000+0000", "updated": "2011-04-15T02:28:14.000+0000" }, { "id": "123191", "author": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thank you jhaynie. I believe that my problem is to pass an image\nas parameter. I take a picture from camera and I want to use it as\nparameter for an object-c function (I've already make a module and\ntitanium seems to compile it). I made a project in object-c that\ntakes a shoot and decodes the qr code and it works. Now I'm tryng\nto call the function from titanium but my app freezes and gives me\nan error. In Xcode I do something like this:

\n

[self.decoder decodeImage:image cropRect:cropRect];

\n

If you give me your email address I will send you my working\nxcode project (I'm a web programmer, my obcject-c sucks :-D )
\nThanks a lot, Flavio

{html}", "updateAuthor": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:14.000+0000", "updated": "2011-04-15T02:28:14.000+0000" }, { "id": "123192", "author": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

jhaynie, did you get a chance to include your sample project in\nthe documentation for 1.0?

\n

Regards,

\n

mutasim

{html}", "updateAuthor": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:15.000+0000", "updated": "2011-04-15T02:28:15.000+0000" }, { "id": "123193", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'm working on porting the doc and they should be done and\npublished before
\nmonday.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:15.000+0000", "updated": "2011-04-15T02:28:15.000+0000" }, { "id": "123194", "author": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi jhaynie! Any news on porting?
\nThanks a lot, Flavio

{html}", "updateAuthor": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:15.000+0000", "updated": "2011-04-15T02:28:15.000+0000" }, { "id": "123195", "author": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any updates matey?

{html}", "updateAuthor": { "name": "mutasim", "key": "mutasim", "displayName": "mutasim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:15.000+0000", "updated": "2011-04-15T02:28:15.000+0000" }, { "id": "123196", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

The module sdk docs are updated here:

\n

http://developer.appcelerator.com/doc/mobile/iphone/module_sdk

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:15.000+0000", "updated": "2011-04-15T02:28:15.000+0000" }, { "id": "123197", "author": { "name": "yamaha_erg121", "key": "yamaha_erg121", "displayName": "Yamaha_ERG121", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi,

\n

I am very curious if one of you ever got it working... (Since\nthe last message on this already came from april). I am working on\na similar project, A native qr-code reader in a mobile titanium\napplication.

\n

Do you guys know if anyone succeeded in realising this? I am not\na programmer ( i am exacly a visual designer) so it's hard for me\njust to start somewhere. I am able to make a program in titanium,\nbut i don't know really how to embedd a qr-reader/decoder in it\nwhich you can use the phone camera to \"read\" the code and a part of\nthe application to decode it.

\n

If anyone can help me any further with this, or wants to share\nhis knowledge of this it really would help me a lot.

{html}", "updateAuthor": { "name": "yamaha_erg121", "key": "yamaha_erg121", "displayName": "Yamaha_ERG121", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:16.000+0000", "updated": "2011-04-15T02:28:16.000+0000" }, { "id": "123198", "author": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi, I'm working on it since February.
\nI'm not able yet to get zxing to work... but right now I just fix\nthe barcode decoding problem by using this: http://zxing.org/w/decode.jspx.
\nYou take a picture with the camera, resize it and then upload it to\nthat website... You will get the decoded string...
\nIt's not an optimal solution, but jhaynie told us he is working on\n\"marketplace app\" wich will include some kind of api to decode\nbarcodes.
\nHope to be helpful,
\nFlavio

{html}", "updateAuthor": { "name": "flaz83", "key": "flaz83", "displayName": "flaz83", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:16.000+0000", "updated": "2011-04-15T02:28:16.000+0000" }, { "id": "123199", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

I have completed the initial version of this module for the\nupcoming marketplace.

\n

I can provide a preview of the module to anyone that would like\nto test it ahead of its official release.

\n

If interested, please send me email at jhaynie@appcelerator.com and\nreference the Barcode reader module.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:16.000+0000", "updated": "2011-04-15T02:28:16.000+0000" }, { "id": "123200", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this will not be in titanium itself but in the upcoming Module\nMarketplace to launch very soon. please stay tuned to developer\nblog.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:16.000+0000", "updated": "2011-04-15T02:28:16.000+0000" }, { "id": "123201", "author": { "name": "jhill", "key": "jhill", "displayName": "JHill", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Awesome. My prototype that I need to complete for angel funding\nin 2 weeks just got moved from \"any day now\" to \"soon\". I have an\nAndroid module using zxing, but the \"Titanium Module SDK for\niPhone/iPad\" fails all over the place with the latest xcode. If a\nmodule for iPhone exists today, let's talk $$$ please!!

{html}", "updateAuthor": { "name": "jhill", "key": "jhill", "displayName": "JHill", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:17.000+0000", "updated": "2011-04-15T02:28:17.000+0000" }, { "id": "123202", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

@JHill - email me and i can provide more details.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:17.000+0000", "updated": "2011-04-15T02:28:17.000+0000" }, { "id": "123203", "author": { "name": "jhill", "key": "jhill", "displayName": "JHill", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thank you Jeff. Incoming... :)

{html}", "updateAuthor": { "name": "jhill", "key": "jhill", "displayName": "JHill", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:17.000+0000", "updated": "2011-04-15T02:28:17.000+0000" }, { "id": "123204", "author": { "name": "maurobraggio", "key": "maurobraggio", "displayName": "Mauro Braggio", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is an interesting project

\n

http://code.google.com/p/tibar/

\n

Please integrate it on your main source.

\n

Thanks

{html}", "updateAuthor": { "name": "maurobraggio", "key": "maurobraggio", "displayName": "Mauro Braggio", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:17.000+0000", "updated": "2011-04-15T02:28:17.000+0000" }, { "id": "123205", "author": { "name": "volker67", "key": "volker67", "displayName": "volker67", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Do you have considered that:

\n

\nhttp://blog.mwaysolutions.com/2010/09/24/barcode-module-for-appcele...

{html}", "updateAuthor": { "name": "volker67", "key": "volker67", "displayName": "volker67", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:17.000+0000", "updated": "2011-04-15T02:28:17.000+0000" }, { "id": "410524", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:16:19.000+0000", "updated": "2017-03-09T21:16:19.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }