Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can you use to get an application to be able to receive SMS message?

Tags:

java

sms

  • Do you need to use some kind of provider?
  • Can you setup your own SMS server?
  • Does any open source solutions exist?

I am an SMS newbie so any insight on how this is accomplished would be great. I am partial to Java but any language is fine.

like image 456
delux247 Avatar asked Sep 17 '08 15:09

delux247


People also ask

How do I enable an app to receive SMS?

In some versions of Android, this permission is turned on by default. In other versions, this permission is turned off by default. To set the app's permission on a device or emulator instance, choose Settings > Apps > SMS Messaging > Permissions, and turn on the SMS permission for the app.

Why can't I receive SMS messages on my phone?

If you're not receiving Android notifications, check to see if Do Not Disturb or Airplane Mode are turned on, and turn them off. Make sure system notifications and app notifications are turned on in your settings. Your power or data settings could also be preventing apps from retrieving notification alerts.


1 Answers

This is easy. Yes, you need a "sms gateway" provider. There are a lot out there. These companies provide APIs for you to send/receive SMS.

e.g. the German company Mobilant provides an easy API. If you want to receive a SMS just program a simple PHP / JSP / s.th.else dynamic web page and let Mobilant call it.

e.g.

  • Mobilant receives a SMS for you
  • Mobilant calls your web page http://yourpage.com/receive.php?message=...
  • You do what you need to do

You really don't want to setup your own SMS Server or Center ;-) This is really expensive, takes months to setup and costs some nice ferraris.

Use a provider and pay per SMS. It's the cheapest and fastest way.

like image 162
Marcel Avatar answered Sep 21 '22 12:09

Marcel