Notices


Reply
Thread Tools
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#11
works on N900 and N8X0, with limitations (as I'm out of the country atm)

http://people.bath.ac.uk/enpsgp/nokia770/mbarcode/

no installable package yet, place mbarcode somewhere and install libdmtx0.

webscraping is disabled (doesn't work consistently, so best disabled to avoid segfaults), opening web links in dmtx or qrcodes is broken (I broke it just before I left), but it still displays the url on the screen. database stuff is probably also broken/only partly working so far.

but the good news: decodes 1d, qr code and datamatrix barcodes and displays the data.

code is under the maemo-barcode garage project under branches/simon_wip/maemo-barcode (iirc, can't check here).

will get back to fixing things up once I'm back from the summit, patches and ideas welcome of course.
 

The Following 2 Users Say Thank You to lardman For This Useful Post:
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#12
oh yes, not managed to work out focus and led control on the n900 yet, but was told we should hear about this at the summit, so expect support shortly after.
 
Posts: 76 | Thanked: 41 times | Joined on Nov 2008 @ Germany
#13
Originally Posted by lardman View Post
opening web links in dmtx or qrcodes is broken (I broke it just before I left),
can be fixed with

Code:
Index: web.c
===================================================================
--- web.c	(revision 98)
+++ web.c	(working copy)
@@ -1750,7 +1750,7 @@
     switch (response) {
     case GTK_RESPONSE_YES:
         osso_context = osso_initialize ("com.lardman.mbarcode", "0.0.1", FALSE, NULL);
-        osso_rpc_async_run(osso_context, "com.nokia.osso_browser", "/com/nokia/osso_browser", "com.nokia.osso_browser", "open_new_window", osso_retval,  DBUS_TYPE_STRING, open, DBUS_TYPE_INVALID);
+        osso_rpc_async_run(osso_context, "com.nokia.osso_browser", "/com/nokia/osso_browser", "com.nokia.osso_browser", "open_new_window", osso_retval,  NULL, DBUS_TYPE_STRING, open, DBUS_TYPE_INVALID);
         //osso_rpc_run_with_defaults(osso_context, "osso_browser", "open_new_window", NULL,  DBUS_TYPE_STRING, open, DBUS_TYPE_INVALID);
         osso_deinitialize(osso_context);
         break;
 

The Following User Says Thank You to MrWeasel For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#14
lardman was demonstrating QR code reading at the summit.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 2 Users Say Thank You to Jaffa For This Useful Post:
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#15
And he promises to get the auto-focus and LED lighting working on the N900 asap (as well as sorting out some webscraping on all the devices, using at least Amazon, and fixing the url opening using MrWeasel's pointer).

Webscraping patches (or any other for that matter) welcome of course.

I'm also planning to add support for QR codes containing vCards, anything else specific anyone knows of that should be added in? iCal perhaps?
 

The Following 2 Users Say Thank You to lardman For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#16
Originally Posted by lardman View Post
And he promises to get the auto-focus and LED lighting working on the N900 asap (as well as sorting out some webscraping on all the devices, using at least Amazon, and fixing the url opening using MrWeasel's pointer).

Webscraping patches (or any other for that matter) welcome of course.

I'm also planning to add support for QR codes containing vCards, anything else specific anyone knows of that should be added in? iCal perhaps?
http:// mailto: and iCalendar.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#17
Http should again be working soon, but if anyone has a pointer to code for opening an email and adding calendar events please do post and I'll stick that into the app for some testing.
 

The Following User Says Thank You to lardman For This Useful Post:
Posts: 15 | Thanked: 4 times | Joined on Jun 2009
#18
I can't get the libdmtx0 to install on mine - it shows an error even when both files are in the same directory.

Any ideas?
 
Posts: 76 | Thanked: 41 times | Joined on Nov 2008 @ Germany
#19
export LD_LIBRARY_PATH=/path/where/lib/is
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#20
I can't get the libdmtx0 to install on mine - it shows an error even when both files are in the same directory.

Any ideas?
What's the error?

You've presumably done "sudo gainroot" to become root, then "dpkg -i libdmtx0a_0.7.0-1_armel.deb".

I've uploaded libdmtx to extras-devel too, though you shouldn't enable that really unless you know what you're doing.

Also note that you'll probably need to make the mbarcode binary executable like so "chmod a+x mbarcode", then run it like so "./mbarcode"

Last edited by lardman; 2009-10-18 at 14:37. Reason: Added correct library name rather than ......
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:09.