View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#103
It's also possible to "embed" MicroB directly into your app, like how Conversations and "Get started" does (which also, incidentally, just plays a SWF) through the EAL.

Unfortunately, it's arguable on whether adding it would be worth it:
  • It's GObject-based (no complaint from me, but as this is a Qt app [not complaining; I rather love the awesome-looking interfaces and functionalities of your Qt apps])
  • I think it's using DBus-GLib, not sure
  • It's heavily undocumented - the only examples I found were in the SVN and a post by timeless somewhere on -developers showing a bit of how "Get started" works. For the rest, I had to open /usr/bin/rtcomm-messaging-ui.launch and the Get Started application in IDA Pro. And this was just to get a minimal example...
  • The -dev packages cannot be found in the SDK repo! This is odd, as older versions can be checked out from https://garage.maemo.org/plugins/scm.../?root=browser. Rather odd, considering how the full source is available... I'd file a bug, but I'm already bugging Marcell for libmlocknice-dev and I don't want to be more whorish

Benefits:
  • You can get notifications of when the page has loaded etc. through GObject signals
  • The way it works is that you "embed" an XID into a window of your app. The function that does this returns an XID. In GTK+, you'd put it in a GTKSocket - I'm sure Qt has something similar

Anyway, sorry for this random ranting. Just throwing an idea out there. Thanks for the app!

Last edited by qwerty12; 2010-05-19 at 10:07.
 

The Following User Says Thank You to qwerty12 For This Useful Post: