Home » Archived » Eclipse Communications Framework (ECF) » Integrating Skype based presence / chat / voice chat into my RCP app
Integrating Skype based presence / chat / voice chat into my RCP app [message #619763] |
Wed, 24 October 2007 16:14 |
Lance Messages: 2 Registered: July 2010 Location: Dayton ohio |
Junior Member |
|
|
Hi all.
I want to integrate Skype based presence / chat / voice chat into my RCP app.
I'm having some difficulty pulling together all the different bits of
documentation and trawling through the many ECF plugins to find out how it all
works. I need some help.
For the first part, I'd be happy to integrate something like the
MultiRosterView into my app, showing my list of buddies. I don't want to
launch it from the 'Connect to Provider' button that you get from the usual
ECF plugin install - I simply want the view to be there pre-configured to use
Skype.
I currently have the view in place in my perspective. Can anyone either direct
me to an example which does this kind of thing or tell me, as an utter ECF
newbie, how to configure the view. I'm guessing that it's something to do with
the addContainer() method on the view, but how do I get an appropriately
configured IContainer. Almost certainly by using one of the
ContainerFactory.getDefault().createContainer() methods, but what is the
'name' (specifically for Skype), etc. How do I configure the ContainerFactory
so that it knows to give me the appropriate kind of IContainer for my needs,
etc.
If you can do this without using a single ellipsis at critical points, I would
be eternally grateful.
Regards,
Lance Walton
Lance Wellspring
|
|
|
Re: Integrating Skype based presence / chat / voice chat into my RCP app [message #619771 is a reply to message #619763] |
Sun, 28 October 2007 00:53 |
Eclipse User |
|
|
|
Originally posted by: remy.suen.gmail.com
On Wed, 24 Oct 2007 16:14:17 +0000, Lance wrote:
> I'm guessing that it's something to do with
> the addContainer() method on the view, but how do I get an appropriately
> configured IContainer. Almost certainly by using one of the
> ContainerFactory.getDefault().createContainer() methods, but what is the
> 'name' (specifically for Skype), etc.
ContainerFactory.getDefault().createContainer("ecf.call.skype ");
The name is from the org.eclipse.ecf.provider.skype plug-in's plugin.xml
file.
> How do I configure the ContainerFactory
> so that it knows to give me the appropriate kind of IContainer for my needs,
> etc.
Assuming the plug-in is there to be loaded / can be read by the extension
registry, things should be fine.
Regards,
Rem
|
|
|
Re: Integrating Skype based presence / chat / voice chat into my RCP app [message #619773 is a reply to message #619771] |
Sun, 28 October 2007 19:17 |
Lance Walton Messages: 3 Registered: July 2009 |
Junior Member |
|
|
Remy Chi Jian Suen wrote:
> On Wed, 24 Oct 2007 16:14:17 +0000, Lance wrote:
>> I'm guessing that it's something to do with
>> the addContainer() method on the view, but how do I get an appropriately
>> configured IContainer. Almost certainly by using one of the
>> ContainerFactory.getDefault().createContainer() methods, but what is the
>> 'name' (specifically for Skype), etc.
>
> ContainerFactory.getDefault().createContainer("ecf.call.skype ");
>
Many thanks for the reply - this get's me a bit further. However, when I do
this, my app just hangs at the above line. More precisely, that call
eventually results in a call to WindowsConnector.connect(int) and at line 311
we have:
OS.SendMessage(HWND_BROADCAST, DISCOVER_MESSAGE_ID, windowHandle, 0);
which is where the hanging really seems to happen. I believe the plugin is
trying to get hold of the username from Skype (I do have Skype running
locally).
Any ideas?
Regards,
Lance
--
Lance Walton
http://www.casualmiracles.com/
|
|
|
Re: Integrating Skype based presence / chat / voice chat into my RCP app [message #619776 is a reply to message #619773] |
Mon, 29 October 2007 02:00 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
Hi Lance,
Lance Walton wrote:
> Remy Chi Jian Suen wrote:
>> On Wed, 24 Oct 2007 16:14:17 +0000, Lance wrote:
>>> I'm guessing that it's something to do with
>>> the addContainer() method on the view, but how do I get an appropriately
>>> configured IContainer. Almost certainly by using one of the
>>> ContainerFactory.getDefault().createContainer() methods, but what is the
>>> 'name' (specifically for Skype), etc.
>> ContainerFactory.getDefault().createContainer("ecf.call.skype ");
>>
>
> Many thanks for the reply - this get's me a bit further. However, when I do
> this, my app just hangs at the above line. More precisely, that call
> eventually results in a call to WindowsConnector.connect(int) and at line 311
> we have:
>
> OS.SendMessage(HWND_BROADCAST, DISCOVER_MESSAGE_ID, windowHandle, 0);
>
> which is where the hanging really seems to happen. I believe the plugin is
> trying to get hold of the username from Skype (I do have Skype running
> locally).
What version of skype? And what version of window?
We have not seen any of such problems in testing 3.5.0.239 (at least) on
windows XP.
Scott
|
|
| | | | |
|
|
Goto Forum:
Current Time: Thu Sep 26 21:27:55 GMT 2024
Powered by FUDForum. Page generated in 0.06766 seconds
|