maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   mbarcode (https://talk.maemo.org/showthread.php?t=34996)

samualwalters 2010-06-29 18:01

Re: mbarcode
 
Quote:

Originally Posted by lardman (Post 727407)
Along the same lines, we should give the user the option of saving any barcode that cannot be decoded so they can send it in and we can look at the problem. Not sure how to do this - perhaps present a dialog after scanning for X seconds, or use a button to "Save Frame" during scanning. Will have to think about it.

Yes, that would be very useful! Even for non-barcoded items.

Some use cases:

* You've just tasted a very good wine or beer. But because you're liquored up, and you know you won't remember the label, and you can't be bothered to transcribe it into text or graffiti. So you take a snapshot of the label.

* Or you've just experienced a great restaurant, and they don't have business cards, or you just don't want to bother because their business card is the size of a flyer (yes, sometimes that's the case).. it would be useful to take a snapshot of the menu or oversized business card.

The NIT does not seem to have an app for snapshots. It's not surprising considering the poor quality of the ccd, but it's good enough for capturing drink labels.

This could go further, and the product images could be cataloged with product ratings.. eg, a tapable scale of 1 to 10.. perhaps notes as well.

Also useful, a Midgard plugin or the like, to transfer the product catalog to a desktop PC.

More needs:

* GPS tagging, so you can later recall where you saw or consumed the product.

* An onscreen 0-9 keypad to record the shelf price, in case you want to do price comparisons later.

samualwalters 2010-06-29 18:06

Re: mbarcode
 
Also, consider the earning potential. If you were to have a feature that gave users the option to anonymously upload barcode, gps location, and price to your centralized server, you would have quite a valuable database of shelf prices that don't tend to appear online.

You would have so much potential with this. Users could get instant feedback of not just online prices, but other local brick and mortar prices. And you could perhaps devote a part of the screen to ads that are similar to the scanned product (ad revenue could compensate mbarcode developers).

Tinnet 2010-06-30 12:11

Re: mbarcode
 
Would it be possible to use this in conjunction with google docs? Say spreadsheet?
I have like 5000-10000 units to register with serial number, company/internal serial number and model so it would be really nice to be able to automate this process!

dragly 2010-06-30 13:02

Re: mbarcode
 
Quote:

Originally Posted by Tinnet (Post 735336)
Would it be possible to use this in conjunction with google docs? Say spreadsheet?
I have like 5000-10000 units to register with serial number, company/internal serial number and model so it would be really nice to be able to automate this process!

This sounds like an interesting idea. Because the Google Docs API seems fairly easy to work with it should be possible to create a plugin for this purpose.

I guess it would be very generic, however, just adding a new record for each scanned barcode to a table of your choice (with the possibility to add some text as well).

lardman is also working on an itemdb plugin which I guess could be expanded to have some kind of CSV export functionality. I guess this would in the long term be a more neat solution to register large amounts of data.

I'll have a look at a Google Docs plugin if I get the time (no promises, though).

chemist 2010-06-30 13:08

Re: mbarcode
 
I noticed that the current testing version does not properly handle 2D QR-vcards, the new contact is just empty for me and the shown info in mbarcode is missing lines. The devel version does extract an 1D code from the same 2D QR-vcard, and each time I scan another code shows. Open jpg or png does not show an unable to open error in devel but it does not open it just like the testing version.

Tinnet 2010-06-30 13:09

Re: mbarcode
 
Cool!
Thanks for the info and I hope it's as easy as it seems (the google api that is) :)
Also if it works out i'll be forever greatful

Quote:

Originally Posted by dragly (Post 735373)
This sounds like an interesting idea. Because the Google Docs API seems fairly easy to work with it should be possible to create a plugin for this purpose.

I guess it would be very generic, however, just adding a new record for each scanned barcode to a table of your choice (with the possibility to add some text as well).

lardman is also working on an itemdb plugin which I guess could be expanded to have some kind of CSV export functionality. I guess this would in the long term be a more neat solution to register large amounts of data.

I'll have a look at a Google Docs plugin if I get the time (no promises, though).


dragly 2010-06-30 13:22

Re: mbarcode
 
Quote:

Originally Posted by chemist (Post 735380)
I noticed that the current testing version does not properly handle 2D QR-vcards, the new contact is just empty for me and the shown info in mbarcode is missing lines. The devel version does extract an 1D code from the same 2D QR-vcard, and each time I scan another code shows. Open jpg or png does not show an unable to open error in devel but it does not open it just like the testing version.

2D QR-vcards are not yet fully implemented nor working. What kind of QR code vcard are you testing (there are different standards out there).

Could you provide a link to the vcard you are having trouble scanning? Even though they are not yet usable, those vcards I scan are at least properly interpreted as 2D codes.

Open Image is also not yet implemented.

chemist 2010-06-30 13:56

Re: mbarcode
 
ok I don't know what happened! I took an 1D barcode and after that I got just a 1D number by scanning a 2D code... I just retested with newly generated codes to determine which error correction lvl I used and it worked... I cannot reproduce it by now tried several times to scan 1D first then 2D and the code is read properly anytime. (weird)

website for generator is

http://keremerkan.net/qr-code-and-2d-code-generator/

lardman 2010-07-01 09:06

Re: mbarcode
 
Looks like I need to check whether all the functionality of the GTK+ version got pulled across into the QR code decoder in the current version.

lardman 2010-07-01 09:22

Re: mbarcode
 
Hmm, ok so the vCard code is in the plugin but commented out. This is probably because we didn't get round to making the glib code work with Qt.

Does anyone know of any example code for manipulating the addressbook/contacts list using purely Qt? If so I'd prefer to move to that directly, otherwise I guess it's possible to pull in glib headers, I'll soon find out!


All times are GMT. The time now is 08:47.

vBulletin® Version 3.8.8