Simulating an incoming call is almost the same as simulating an SMS text messsage in Android. This is particularly useful especially when developing mobile applications that integrates calling activities in its function.
To simulate incoming calls, just follow the steps below. Makes sure that you have your AVD up and running and that the Airplane mode is OFF.
If you are using linux / ubuntu, just follow the steps below:
1. Bring up the Terminal window
2. In the Terminal window type: telnet
3. Then type: o localhost 5554
4. If successful you should get the message: Connected to localhost.
5. Then type: gsm call 654321
6. You should get a notification on your AVD when this sms text has been received.
Note: If you are using Windows, the steps you should be similar to that above.
Source : htmlpress[dot]net
0 comments:
Post a Comment