[android-developers] Re: addRemoteChatListener in IGTalkSession

2008-04-03 Thread Bård Magnus

Same as Lev. I haven't been able to successfully register
IChatListener either.
Anyone out there have any insight or code samples to share on this?

On 2 Apr, 22:47, Lev <[EMAIL PROTECTED]> wrote:
> I haven't quite understood what to implement into the asBinder method.
>
> Could you help me out? Thanks a lot.
>
> On Mar 11, 4:22 am, Ed <[EMAIL PROTECTED]> wrote:
>
>
>
> > The methods you declared should be methods on a new
> > IChatListener.Stub(), not a IChatListener.  So if your
> > IChatListener.Stub is called mChatListenStub you would then do this:
>
> >     mChatListen =
> > IChatListener.Stub.asInterface(mChatListenStub.asBinder());
> >     mSession.addRemoteChatListener(mChatListen);
>
> > Ed
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: addRemoteChatListener in IGTalkSession

2008-04-02 Thread Lev

I haven't quite understood what to implement into the asBinder method.

Could you help me out? Thanks a lot.

On Mar 11, 4:22 am, Ed <[EMAIL PROTECTED]> wrote:
> The methods you declared should be methods on a new
> IChatListener.Stub(), not a IChatListener.  So if your
> IChatListener.Stub is called mChatListenStub you would then do this:
>
>     mChatListen =
> IChatListener.Stub.asInterface(mChatListenStub.asBinder());
>     mSession.addRemoteChatListener(mChatListen);
>
> Ed
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---