Ringing myself using android emulator

后端 未结 4 1085
日久生厌
日久生厌 2020-12-29 07:40

I am developing a small application on Google\'s android emulator. I am trying to figure out how I can simulate a phone call from one instance of an emulator to another (bot

相关标签:
4条回答
  • 2020-12-29 08:02

    Alternatively to the solution provided by Kami, you can use DDMS or just the android console (in Linux and assuming emulator port is 5554):

    $ telnet localhost 5554 <<!
    > gsm call 12345678
    > !
    
    0 讨论(0)
  • 2020-12-29 08:08

    In order for calling the port number to work, both emulator instances must be started from the same android AVD manager process. Two separate 'android' processes launching different emulators will not be able to call each other.

    0 讨论(0)
  • 2020-12-29 08:13
    • Launch the dialer application on the first emulator. As the number to dial, enter the console port number of the second emulator you'd like to simulate a call on.
    • You can see the port number of the instance in the windows title of the emulator. alt text http://www.freeimagehosting.net/uploads/6c15bc13f1.png
    • Press "Dial". A new inbound call appears in the second emulator instance.
    0 讨论(0)
  • 2020-12-29 08:18

    simply open the DDMS from the eclipse and choose emulator control and you'll find a tel bar just type the phone number you want the emulator to receive and hit call

    0 讨论(0)
提交回复
热议问题