2

I am developing an android application. One function I want to achieve is to send SMS message to the phone itself. I thought about two ways to do it:

  1. Get the phone number of this phone and send a message to itself. This should be easy.
  2. If there is a internal representation of the phone itself that does not need a SIM card and real phone number, it would be more convenient.

Does anyone know any information on the second method?

user3565267
  • 23
  • 1
  • 3

1 Answers1

3

You can fake the intent that signals the phone it received a message. It's been asked before, see here: can I send "SMS received intent"?

The answer on that question in turn links here (example).

Community
  • 1
  • 1
Janis F
  • 2,637
  • 1
  • 25
  • 36