How to simulate incoming phone call

1,050 views
Skip to first unread message

AndroidFan

unread,
Apr 11, 2012, 11:14:19 AM4/11/12
to Robotium Developers
I'm trying to simulate an incoming call, which could affect my
application greatly.
Problem is, I can do it manually via ddms but can't figure out how to
do it in my robotium tests.

Any clue?

Thank you!

Renas Reda

unread,
Apr 12, 2012, 4:59:52 AM4/12/12
to robotium-...@googlegroups.com
Hi,

There is no functionality in Robotium to simulate an incoming call. I dont think it can be done directly from instrumentation tests. Please let us know if you find a way.

/Renas 

Yahor Paulavets

unread,
Apr 12, 2012, 7:33:09 AM4/12/12
to robotium-...@googlegroups.com
Hello,

Calls, sms and GPS locations could be simulated via telnet for emulator, I believe.

Happy simulating! (:

Best regards,
Yahor

--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotium-developers/-/nLOiKOCkhecJ.

To post to this group, send email to robotium-...@googlegroups.com.
To unsubscribe from this group, send email to robotium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotium-developers?hl=en.

AndroidFan

unread,
Apr 14, 2012, 12:00:17 PM4/14/12
to Robotium Developers
Thanks Yonor, how do you automate this via Robotium/Instrumentation?

Cheers!

On Apr 12, 12:33 pm, Yahor Paulavets <ypaulav...@agilefusion.com>
wrote:
> Hello,
>
> Calls, sms and GPS locations could be simulated via telnet for emulator, I
> believe.http://softteco.blogspot.com/2011/08/android-creating-mock-geo-locati...http://developer.android.com/guide/developing/devices/emulator.html#c...

Yahor Paulavets

unread,
Apr 16, 2012, 3:24:13 AM4/16/12
to robotium-...@googlegroups.com
Hello,

You have misspelled my name, so I will not help you :-P

-Yahor

AndroidFan

unread,
Apr 18, 2012, 7:12:20 AM4/18/12
to Robotium Developers
Erm, sorry Yahor, if you had any info to share that would be
wonderful. So far I've only found one company that allows for
regression testing of incoming call, they cost 8K minimum and won't
explain how they do it (I suspect they use real devices).



On Apr 16, 8:24 am, Yahor Paulavets <ypaulav...@agilefusion.com>
wrote:
> Hello,
>
> You have misspelled my name, so I will not help you :-P
>
> -Yahor
>
>
>
>
>
>
>
> On Sat, Apr 14, 2012 at 7:00 PM, AndroidFan <stephan.t...@gmail.com> wrote:
> > Thanks Yonor, how do you automate this via Robotium/Instrumentation?
>
> > Cheers!
>
> > On Apr 12, 12:33 pm, Yahor Paulavets <ypaulav...@agilefusion.com>
> > wrote:
> > > Hello,
>
> > > Calls, sms and GPS locations could be simulated via telnet for emulator,
> > I
> > > believe.
> >http://softteco.blogspot.com/2011/08/android-creating-mock-geo-locati....
> > ..

Sergey Tolkachov

unread,
Apr 18, 2012, 1:22:41 PM4/18/12
to robotium-...@googlegroups.com
Create simple server on machine with device attached.
Server will create session to telenet, like "o localhost 5554"
Create simple client at your device.
Connect to server from client. Ask server to evaluate on telnet command like "gsm call phonenumber"
Send ack to client.
Do whatever you need on android test
Profit!
Reply all
Reply to author
Forward
0 new messages