I don't know why it is, but I think you should introduce the JID at
the end of the email address. Just like this:


                mGTalkBilliardSession.sendDataMessage(dest+"/
androidwCxwXphYj3JM", intent);

This JID is the same for every acount, so just put it at the end, and
the error will disappear.

I hope this helps!

On 19 jul, 06:34, Kevin Tan <[EMAIL PROTECTED]> wrote:
> Just to follow up on this.
>
> I still don't understand why my new gmail account cannot send message
> to itself via the gtalk data message sender sample while my old
> account can. Thinking of borrowing a friend's gmail account if i can't
> find the answer tonight.
>
> But, I was able to run two emulators and at least get both to send
> message to my old account.
> I started both emulators using command line.
>
> While in the below scenario, I started an emulator from eclipse in
> debug mode and one from the command line. The command line emulator
> just doesn't work quite right for some reason.
>
> On Jul 18, 3:22 pm, Kevin Tan <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > I want setup two emulators communicating with each other on the same
> > Windows Vista machine. So I setup a new gmail account
> > [EMAIL PROTECTED]
> > yesterday and put both as contacts to each other.
>
> > I was able to send a message to myself  with my old gmail account
> > in the same emulator.
>
> > But when I use the new account to send message to myself, log cat
> > shows this:
>
> > "sendDataMessage: can't find the full JID for [EMAIL PROTECTED],
> > failed to send message"
>
> > Does anyone knows what is the deal here?
>
> > A seperate question, in vista, do I need to setup my second emulator
> > differently
> > to communicate with the first emulator? I just copied the
> > userdata.img
> > file in androidhome\tools\lib and rename it to newdata.img. then use
> > "emulator -data newdata.img" to start the second emulator. I could
> > not
> > even send a message to myself with my old gmail account.
>
> > I followed the instructions 
> > here.http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > I have some  server-client code that i would like to test with two
> > emulators on the same vista laptop (which is the only machine I have
> > right now). Any help will be greatly appreciated.
>
> > Regards,
> > ky
--~--~---------~--~----~------------~-------~--~----~
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 Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to