Simulate incoming device connection on usb (adb shell Android)

0

I would like to know how to simulate receiving a call (receive a call) with the device connected via usb in Android adb shell .

I need to run some tests on the physical device, but can not be through the emulator .

It can not be by the emulator, because the development machine is very limited. I can not connect to the device because it has no number, the test chip is only 3g.

    
asked by anonymous 19.02.2014 / 14:53

2 answers

0

Simulated links can not be made to an actual device. For this, unfortunately you will need to use the emulator.

    
20.02.2014 / 02:56
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 device A.
  • On device B I made a connection to device A.

But the test was only to see how the app behaves when there is a connection. Now I do not know if in your case it's the same, or your app is to work directly with the call, how to record, pick up number of who's calling etc.

    
19.02.2014 / 15:12