This is not done from a test so it's not automated. I'm looking for a
way to write an instrumentation test that runs as part of my test
suite and will simulate an incoming call.

Doing it manually via DDMS or telnet requires manual testing.

I am looking for a repeatable way to do this in code so I can write a
test to verify that my app behaves correctly without clicking through
all the steps manually (because that's labor-intensive, error-prone,
and costly).

Larry



On Wed, Jun 5, 2013 at 3:00 AM, amro alfares <[email protected]> wrote:
> Hello
> from eclipse choose window >> open perspective >> and choose DDMS .
> the DDMS perspective open
> now again choose window >> show view >> and choose Devices
> the Devices window will open
> with alist of all the emulators that are open .
> click on the emulator that you want to test the call in .
> now again  now again choose window >> show view >> and Emulator control
>
> now there is a section for "Telephony Actions "
> there you enter the Incoming number
> then you choose if you want it as a voice (call) or as SMS
> and there is a buttons for both call and hang for the call
> and send for the SMS
>
> Hope that helps
> Regards
>
> Amro alfares
> [email protected]
>
>
>
> On Tuesday, June 4, 2013 1:20:44 AM UTC+3, Larry Meadors wrote:
>>
>> I have a service that reacts to incoming calls that I'm trying to test.
>>
>> Is there a way to simulate an incoming call from an instrumentation test?
>>
>> Larry

-- 
-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to