Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we simulate calls and SMS in Android?

Tags:

java

android

Can we simulate calls and SMS in android programmtically? Like in Windows mobile we can simulate calls and SMS.

like image 413
Waseem Avatar asked Jul 13 '10 06:07

Waseem


People also ask

How do I simulate my Android phone?

Emulator for native development with Android StudioIn the Android Studio toolbar, select your app from the run configurations drop-down menu. From the target device drop-down menu, select the device that you want to run your app on. Select Run ▷. This will launch the Android Emulator.

How do you simulate a call?

Android Emulator Simulate call To simulate a phone call, press the 'Extended controls' button indicated by three dots, choose 'Phone' and select 'Call'. You can also optionally change the phone number.

Can Android emulator make calls?

This is simple to do in the phone UI - just press the phone icon, type in the number and call. For this we can also use Android emulator UI.

Can Android emulator send SMS?

Run your app. Enter a phone number (or the emulator port number if using emulators), and enter the message to send. Tap the messaging icon to send the message. After running the app, choose Settings > Apps > SMS Messaging > Permissions and turn off SMS permission for the app.


1 Answers

The Eclipse Android SDK allows you to simulate receiving SMS messages and incoming phone calls (as well as fake GPS positions and the like.) See here.

I'm pretty sure adb can do it too if you're not using Eclipse.

like image 100
Dave Avatar answered Oct 04 '22 01:10

Dave