![]() |
Re: mbarcode
No, there seems to be some problem with the way hildonmime works atm.
In the GTK+ version of mBarcode I called abook functions directly to add the vCard, but getting the abook header to work in a C++ program was throwing up errors. I therefore decided to write the vCard to a vcf file and open it using the mime handlers (which works in the filemanager for example), however, if I try to call uri_open directly it just does nothing, and if I use the QDesktopServices::openURL() function then it just opens the vCard in the browser as text (even though the implementation and docs look as though it should open the file with the correct handler app). Any help/ideas gratefully accepted. P.S. As long as mbarcode is left open, the .vcf file will be left in ~/.mbarcode/temp/ |
Re: mbarcode
Quote:
No not particulary scanning books, but I was trying out the app and there were some books to hand which I tried, which were successful Its either one of 2 things that I can think of, 1 is because I am in the UK and choosing poor products to test on, or 2 im selecting the wrong urls for checking |
Re: mbarcode
Morning chaps.
I've just pushed a new version of mBarcode + the plugins. Now the plugins should depend on mBarcode, and the QRcode plugin should add vCards... Fingers crossed those work and I've not broken something else while fiddling! ;) Edit: not all the plugins, the 1D plugin refuses to build and I've no clue why - missing a header which should be pulled in by one of the deps. I'll try to fix that this evening, but in any case not a big problem as there were no changes there other than to the control file. |
Re: mbarcode
Wow! There has been a lot of posts since I last checked this thread. I'll try to get in here with some comments on the different topics now ;)
Quote:
Quote:
Quote:
And please share your plugin if you haven't done so already :) I've been looking at Amazon lookups myself, but I haven't got the time to make a plugin for it. Quote:
Quote:
Quote:
And finally, a question from my side: When we'll do the renaming of MainWindow into MaemoBarcodeWindow (or something similar), should we at the same time rename "SinkPlugin" into "PluginAction"? I think SinkPlugin might be a bit hard to understand the use for, while all it really does is to add a button with an action applied to it to the list. Thereby the name PluginAction. What do you guys think? |
Re: mbarcode
Quote:
I suggest we try to move to the Qt Mobility Contacts API for the vCards then. This also means that we have a lot easier access to GPS positioning and Messaging services, giving us a few more nice features to play with :) |
Re: mbarcode
Quote:
At least, none of the current plugins require anything from the MainWindow class... |
Re: mbarcode
Quote:
How would you go about and do the connection without passing down a MainWindow class pointer? Is it enough with the QWidget* to do that? |
Re: mbarcode
Quote:
|
Re: mbarcode
Quote:
However, I don't see the great benefit of switching to QWidget* other than having one class less to depend on (i.e. one less #include), or am I missing something? To me it seems to be only a question of how one likes to structure the relationships between the plugins and the main app. |
Re: mbarcode
thanks, vcard works now!
|
| All times are GMT. The time now is 08:47. |
vBulletin® Version 3.8.8