0

How could I send an SMS from one app to another (on a different phone), hiding* it from other apps ?

*: because its content would be irrelevant for other apps or the user

user3856210
  • 270
  • 2
  • 12
  • Sorry for the lack of clarity. Hope my edits will help. – user3856210 May 27 '15 at 19:21
  • Ah. Easy answer: [data sms](http://stackoverflow.com/questions/3757229/how-to-send-and-receive-data-sms-messages). These aren't handled by the Provider, so they won't show in any other SMS app, including the native app. Though, the recipient would need to have an app on their device with the appropriate Receiver. – Mike M. May 27 '15 at 19:25
  • But don't data sms require a data link (Edge, 3G, 4G) ? Can they be as fast as SMS ? – user3856210 May 27 '15 at 19:39
  • "But don't data sms require a data link (Edge, 3G, 4G) ?" - No. "Can they be as fast as SMS ?" - Yes. – Mike M. May 27 '15 at 19:41
  • Are you sure that data sms are not sent through data link ? http://android.stackexchange.com/questions/9108/what-is-a-data-sms – user3856210 May 28 '15 at 09:10
  • 1
    "Are you sure that data sms are not sent through data link ?" - Yep. FWIW, it's an easy test. Just send yourself a data SMS with your mobile data connection turned off. – Mike M. May 28 '15 at 10:02
  • 1
    You are right, it works :) ! – user3856210 May 28 '15 at 13:57

1 Answers1

0

Thanks to Mike M for the answer:

Using data SMS is the solution. They are sent just like normal SMS, but are not broadcasted. An excellent tutorial can be found here: http://codetheory.in/android-sms/

Community
  • 1
  • 1
user3856210
  • 270
  • 2
  • 12