Is there way to debug and ddms enabled at the same time? For example: add breakpoint to sms receiver, send sms with ddms and stop at the breakpoint.
You can't use the the DDMS to send an SMS and debug it as the only way to do it is to disable the ADB integration within android studio and it needs this to debug.
Instead use the terminal window within Android Studio to telnet into the emulator console with:
telnet localhost <port number>
and send an SMS using the command:
sms send <senderPhoneNumber> <textmessage>
more details can be found at http://developer.android.com/tools/devices/emulator.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With