I'm not actually trying to receive them yet, like I wrote in my post.
I just tried sending messages using the usual GTalk desktop client to
Android, which should show the incoming messages.

Hielko wrote:
> Receiving GTalk chat messages is not yet fully supported in the
> emulator as far as I know. If you want to send data between phones
> with GTalk use the sendDataMessage() function, that is working.
>
> On Apr 12, 6:13�pm, thrusty <[EMAIL PROTECTED]> wrote:
> > Interesting -- how are you testing this? �I mean, how are you sending
> > messages from your desktop PC to your android client, and how are you
> > receiving and handling these messages in your android client?
> >
> > Are you simply using the ApiDemo classes?
> >
> > On Apr 11, 6:41 am, NTR <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > When I try to send aGTalkmessage from theGTalkclient in my
> > > computer to the emulator client, the following exception is thrown:
> >
> > > ERROR/Checkin(520): Error reporting crash:
> > > java.lang.NullPointerException
> > > ERROR/Notification(6349): This constructor doesn't work correctly
> > > anymore
> > > ERROR/Notification(6349): java.lang.RuntimeException
> > > ERROR/Notification(6349): � � at
> > > android.app.Notification.<init>(Notification.java:172)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.service.StatusBarNotifier.notify(StatusBarN�otifier.java:
> > > 138)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.service.StatusBarNotifier.notifyNewMessage(�StatusBarNotifier.java:
> > > 101)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatMgr.notifyNewMessage(ChatMgr.java:
> > > 611)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatSession.notifyNewMessage(ChatSession.ja�va:
> > > 688)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatSession.onReceiveMessage(ChatSession.ja�va:
> > > 295)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatMgr.processIncomingMessage(ChatMgr.java�:
> > > 532)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatMgr.doProcessPacket(ChatMgr.java:
> > > 318)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatMgr.access$000(ChatMgr.java:54)
> > > ERROR/Notification(6349): � � at
> > > com.google.android.gtalkservice.ChatMgr
> > > $ProcessPacketCallback.run(ChatMgr.java:486)
> > > ERROR/Notification(6349): � � at
> > > android.os.Handler.handleCallback(Handler.java:455)
> > > ERROR/Notification(6349): � � at
> > > android.os.Handler.dispatchMessage(Handler.java:78)
> > > ERROR/Notification(6349): � � at android.os.Looper.loop(Looper.java:
> > > 91)
> > > ERROR/Notification(6349): � � at
> > > android.app.ActivityThread.main(ActivityThread.java:3052)
> > > ERROR/Notification(6349): � � at
> > > java.lang.reflect.Method.invokeNative(Native Method)
> > > ERROR/Notification(6349): � � at
> > > java.lang.reflect.Method.invoke(Method.java:356)
> > > ERROR/Notification(6349): � � at android.os.ZygoteInit
> > > $MethodAndArgsCaller.run(ZygoteInit.java:1547)
> > > ERROR/Notification(6349): � � at
> > > android.os.ZygoteInit.main(ZygoteInit.java:1445)
> > > ERROR/Notification(6349): � � at
> > > android.dalvik.NativeStart.main(Native Method)
> >
> > > I have no chat message listeners registered.- Hide quoted text -
> >
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to