Hi,

Yes thats what am using. I am using port number as phone number. I
launch one emulator from eclipse whose port number is 5554 and the
application gets launched in this emulator. I start other emulator
from terminal by issuing a command emulator whose port number is 5556.

I insert this number i.e. 5556 as phone number to which sms should go.
When I press button the message does not come in the emulator i,e in
5556.

One more thing if I try to call directly without any code from 5554 to
5556 then I am not able to do even that. The call gets ended. Is it
emulator problem or something else.

I will try to run the same code in some other pc with android sdk
installed. But if theres any other way out then please let me know.

Regards
Sunil

On Dec 31 2008, 11:12 pm, Xavier Ducrohet <x...@google.com> wrote:
> What phone number are you using?
>
> You should be using the emulator port number (it's in the emulator
> window title bar or in the output of 'adb devices').
> You could try to call the 2nd emulator from the first one to see if
> you are using the proper phone number.
>
> Xav
>
> On Wed, Dec 31, 2008 at 3:57 AM, javame_android <su...@saltriver.com> wrote:
>
> > Hi,
>
> > I have written a simple application which just sends a SMS but there
> > is no error shown and the sms is not able to be seen in the message
> > box of another emulator instance.
>
> > I have opened one emulator from eclipse and another from terminal. I
> > am trying to send the message in try block it goes into the try block
> > and sends the message but the other emulator instance is not able to
> > receive it.
>
> > I have set the permission to SEND_SMS and WRITE_SMS. Whenever emulator
> > starts it prompts and says com.android.phone not responding.
>
> > One more thing I have tried to just dial the number of another
> > emulator but call also ends.
>
> > Is there a problem with the emulator or something else?
>
> > Hope to get a reply soon.
>
> > Thanks & Regards
> > Sunil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to