Active Topics

 



Notices


Reply
Thread Tools
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#201
Originally Posted by daemonforce View Post
I hate to sound like a downer(cow?) but I've been trying to hack up the code in mbarcode for a little while due to a launch problem I have with the downloaded package. I'm using camera 3.5 and mbarcode 0.0.8-0 with fair process but I have to manually launch mbarcode via cmdline. Why is it so difficult to make an application shortcut in hildon? I've tried forcing to start with @prefix@/usr/bin/mbarcode and I still can't get anywhere with it.

Program works just fine but the launcher is broken.
You are running an outdated version of mbarcode, so I would suggest that you upgrade to the newest version if your device is an N900. If you are running mbarcode on an earlier Nokia tablet I think you'll have to wait until someone (maybe lardman) ports it back first. I don't have any other tablet myself, so I'm unable to do it myself.
 
Posts: 46 | Thanked: 34 times | Joined on May 2010
#202
Originally Posted by dragly View Post
I experienced the same bug too and was hoping noone used that version before I got to fix it :-p It is the default search providers that have been overwritten with an URL containing the first barcode you searched for.

To fix this you just have to update to the newest version of the plugin and remove the config file by running this command in terminal:
Code:
rm /home/user/.config/mbarcode/webrequest-plugin.conf
The next time you run the application everything should be as it is supposed to.
And it is, indeed, working flawlessly now!
Thanks a bunch, and do well on your exams (I'm sorry I might have kept you away from your books.)
 

The Following User Says Thank You to edbanger For This Useful Post:
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#203
Originally Posted by edbanger View Post
And it is, indeed, working flawlessly now!
Thanks a bunch, and do well on your exams (I'm sorry I might have kept you away from your books.)
Thanks! And no worries; it is just fun to do something programming when you get tired of reading - especially when it turns out right
 
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#204
I got an idea to call refocus on a time interval instead of only when the "Refocus" button is clicked. I have updated the newest version of mbarcode with this, and would really like to hear if this works as expected for everybody If it does, I believe we could remove the 'Refocus' button completely.
 

The Following 2 Users Say Thank You to dragly For This Useful Post:
Posts: 46 | Thanked: 34 times | Joined on May 2010
#205
Originally Posted by dragly View Post
I got an idea to call refocus on a time interval instead of only when the "Refocus" button is clicked. I have updated the newest version of mbarcode with this, and would really like to hear if this works as expected for everybody If it does, I believe we could remove the 'Refocus' button completely.
Working perfectly for me here, interval is also well chosen.
For me it doesn't seem I'll need to use the manual refocus again.

Another nice, and user-friendly addition to the app. Thanks Dragly
 

The Following User Says Thank You to edbanger For This Useful Post:
Posts: 22 | Thanked: 17 times | Joined on Apr 2010
#206
Hi,

Couple of questions about this wonderful app:

* Is there any Python script/plugin integration yet? (from what I could make out by reading this topic, there isn't?)

* If I wanted to integrate a Python script with this program at this moment, what are my options? (someone mentioned DBUS?)

* If there isn't any easy integration yet: wouldn't it be a good idea to provide a simple 'Execute program/script' plugin that just lets you configure (multiple) programs/scripts to be run, with the result of the scan as command line parameter(s)? Each configured program/script would be run when you click on it's button that is show on the 'Results from scan' screen.
This would allow integration with practically anything, no?

* Regarding the latest improvement about refocus: I just installed mbarecode from extras-devel, but the auto refocus feature isn't there. Or is this just uploaded to the garage page, but not the repo?

Hopla
 

The Following User Says Thank You to hopla For This Useful Post:
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#207
Originally Posted by hopla View Post
* Is there any Python script/plugin integration yet? (from what I could make out by reading this topic, there isn't?)
* If I wanted to integrate a Python script with this program at this moment, what are my options? (someone mentioned DBUS?)
It is not ready yet, but we are looking into PythonQt. It seems to be a bit more work than expected to integrate this, but we'll give it a try. For the moment I'm afraid there are no ways to interact with mbarcode other than through C++ Qt plugins.
Originally Posted by hopla View Post
* If there isn't any easy integration yet: wouldn't it be a good idea to provide a simple 'Execute program/script' plugin that just lets you configure (multiple) programs/scripts to be run, with the result of the scan as command line parameter(s)? Each configured program/script would be run when you click on it's button that is show on the 'Results from scan' screen.
This would allow integration with practically anything, no?
This sounds like a really good idea. It should be a simple case of making a plugin similar to the webrequest plugin, and just change the URLs to commands and have the commands run in terminal or something instead of opening the browser. However, I think I'll focus on integrating Python completely first, but a script launcher is a decent alternative.
Originally Posted by hopla View Post
* Regarding the latest improvement about refocus: I just installed mbarecode from extras-devel, but the auto refocus feature isn't there. Or is this just uploaded to the garage page, but not the repo?
There are no new buttons indicating auto focus other than that you will see the image refocusing and the refocus button becoming disabled every 1.5 seconds. The package should be in extras-devel. If it doesn't work you should try to update the package using App Manager and check that the version is 0.1.9. You can check the version of the package if you look at the number next to mbarcode in the uninstall menu in App Manager.
 
Posts: 22 | Thanked: 17 times | Joined on Apr 2010
#208
Allright, thanks!

The auto refocus feature is working as well now, I didn't have an updated package db when I first installed mbarcode It works pretty good, allthough I wouldn't let an epileptic person look at it
 

The Following User Says Thank You to hopla For This Useful Post:
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#209
Originally Posted by hopla View Post
Allright, thanks!

The auto refocus feature is working as well now, I didn't have an updated package db when I first installed mbarcode It works pretty good, allthough I wouldn't let an epileptic person look at it
No, I wouldn't recommend to do that I have no idea why the flickering occurs, nor why it is so intense. Maybe it has something to do with the underlying camera libraries? If someone has an idea about how to fix that, please speak up
 
Posts: 24 | Thanked: 12 times | Joined on Dec 2009
#210
dragly, I'm replying to your post from my thread about the GUI for mBarcode (http://talk.maemo.org/showthread.php?t=48151). I don't have any formal graphic design expertise, but I've been doing web development and advertising on the side for a long time. I threw together my vision for mBarcode, although its not my app so feel free to tear it apart (because I added some extra buttons you don't have in your current design). Thoughts?

 

The Following 5 Users Say Thank You to Spyder For This Useful Post:
Reply

Tags
barcode, camera, mbarcode


 
Forum Jump


All times are GMT. The time now is 19:06.