Hi Juan,

Start the second instance and run the command

  adb -d 2 install ANDROID_SDK_PATH/samples/ApiDemos/bin/ApiDemos.apk


Note that you only need the "-d 2" argument if you start the "first"
emulator first.

Regards,
Marcos Hack.


On Mar 25, 7:50 pm, jtaylor <[EMAIL PROTECTED]> wrote:
> How do I get the APIDemos on the other emulator?
>
> - Juan
>
> On Mar 25, 6:28 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > Sorry, I posted from another thread and my response ended up on this
> > thread. I don't have APIDemos running on the second instance.
>
> > - Juan
>
> > On Mar 25, 6:14 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > > Hello Megha,
>
> > > That doesn't work for me. The only thing I can think of is addition to
> > > the buddy list.
>
> > > I created 2 gmail accounts. I put them into the separate emulator
> > > instances. I put the second account (aligned with the second emulator)
> > > into the first account by way of putting the email address into the
> > > email field of one of the Contacts. I even saved this contact as a
> > > favorite. Both emulator instances have a check mark for XMPP in the
> > > menu. I go to the first emulator instance and go to the sample app. I
> > > put in the email attached to the other emulator instance (same one as
> > > in contacts in this instance) and press enter as the button is
> > > enabled. Alas, nothing happens on the other emulator.
>
> > > - Juan
>
> > > On Feb 19, 9:33 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > Please follow the steps below to send a message using
> > > > GTalkDataMessageReceiver demo :
>
> > > > 1) Start two emulator instances.
> > > > 2) In Eclipse > DDMS perspective > Devices , check that both the 
> > > > emulator
> > > > devices are online.
> > > > 3) Sign into the Dev Tools>Development Settings> XMPP Settings of the 
> > > > first
> > > > emulator with your gmail id (say [EMAIL PROTECTED]).
> > > > 4) Sign into the second emulator with a second separate gmail id (say
> > > > [EMAIL PROTECTED]) ([EMAIL PROTECTED] should be in [EMAIL PROTECTED]'s 
> > > > buddy list).
> > > > 5) In the first emulator go to ApiDemos>Apps>Service>GTalk Data Message
> > > > Sender and type in [EMAIL PROTECTED]
> > > > 6) A message window appears in the second emulator as it receives 
> > > > message
> > > > from step 4 above.
>
> > > > Let us know if you face any issues.
>
> > > > Thanks,
> > > > Megha
>
> > > > On Feb 18, 2008 6:36 AM, Nitin <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi ,
>
> > > > > I am unable to get the GTalkDataMessageReceiver and
> > > > > GTalkDataMessageSender demo working in lates SDK release!! If anybody
> > > > > has been able to get that working please reply!! Before testing these
> > > > > demo applications I have already successfully registered my gmail
> > > > > account in the XMPP settings.I am trying to send the message to my own
> > > > > gmail id. It gives this error:
>
> > > > >  " sendDataMessage: can't find the full JID for [EMAIL PROTECTED],
> > > > > failed to send message!"
>
> > > > > If you have been able to successfully execute these demos please list
> > > > > the steps to do so!!
>
> > > > > Thanks in Advance!!
>
> > > > > -nitin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to