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 12:14  |
Eclipse User |
|
|
|
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
|
|
| |
Re: Integrating Skype based presence / chat / voice chat into my RCP app [message #619773 is a reply to message #619771] |
Sun, 28 October 2007 15:17   |
Eclipse User |
|
|
|
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] |
Sun, 28 October 2007 22:00   |
Eclipse User |
|
|
|
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: Fri May 23 05:34:01 EDT 2025
Powered by FUDForum. Page generated in 0.08901 seconds
|