Simulate receiving device connection on usb (adb shell Android)

Asked

Viewed 470 times

0

I would like to know how to simulate receiving a call (Receive a call) with the device connected via usb on adb shell android.

I need to perform some tests on the physical apparatus, but cannot be through the emulator.

It can’t be the emulator, because the development machine is very limited.
I can not call the device , because there is no number, the test chip is only 3g.

  • Simulate a call? you say "call" your phone? for what purpose?

  • Because it can’t be through the emulator?

  • It wouldn’t be enough to call him from a landline?

  • I forgot to mention one more detail, the device only has a 3g chip.

2 answers

1

When I needed to test a call on a physical device I just made a call to it. Example:

  • The application is installed and "debugging" on the device A.
  • On device B I made a connection to device A.

But the tests were just to see how the app behaves when there is a connection. Now do not know if in your case is the same, or your app is to work directly with the call, how to record, pick number of who is calling etc.

  • I forgot to mention one more detail, the device only has a 3g chip. unfortunately the scenario is this.

0


It is not possible to make simulated connections to a real device. For this, unfortunately you will need to use the emulator.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.