Java – How do we manage SMS and which language is the best way to handle it?

How do we manage SMS and which language is the best way to handle it?… here is a solution to the problem.

How do we manage SMS and which language is the best way to handle it?

I know a lot of people have been asking how to create an SMS server, but since some people only ask about C# or PHP solutions, the knowledge is fragmented. My situation is different:

I need to develop 2 different services:

  1. Receiving text messages with key jobs such as “football fixtures” and searching in certain databases to send information like “12/12 NY X” back to the sender’s mobile phone Los Angeles 14:00h\n 13/12 DC X TX 21:00h”;

  2. A customer came to my website and paid for 1000 text messages “Merry Christmas girls!” Depending on the type of person he/she wants to notify, enter a number or randomly select a group in our own database.

For this I can use:

    Delphi or Java for

  1. desktop/web or Java for Android or PHP for web;
  2. MySQL or Firebird
  3. personal servers or Internet 3rd party servers;
  4. SMS

  5. API service on the Internet or personal phones with unlimited SMS sending packages.

So, there are many options. I can use Android apps in my phone or other types of apps on a PC connected to my phone via USB. I can also use a Nokia netbook with a 3G slot and manage it through my app.

I’ve never written a program to handle any cellular service.

What I want to learn from the infinite StackOverflow user intelligence is:

  1. Which options are best for practice when it comes to SMS resources available for these technologies?
  2. Are there any completed community projects that contain these arguments that I can contribute to or import any code/knowledge into my project?
  3. Are there APIs that include both services?

I try to avoid signing up with a cellular network provider to provide the service. The cost will make it impossible. We do not intend to make a good profit, just to provide such services in my area.

Thank you all!

Solution

There are a large number of Web-to-SMS gateways available globally.

Usually they provide an HTTP interface for incoming and outgoing text messages.

Therefore, the easiest solution is to find an affordable gateway provider and set up any type of web server to listen for HTTP requests from the gateway provider for incoming messages.
This can be done in any environment you are familiar with.

For outgoing messages, you only need to call the gateway provider’s URL, for example
http://examplegateway.com/send?msisdn=23443&message=Merry+Christmas+to+you+Girls&secret=somesecrethash

This is easier than programming directly on your phone, and often cheaper as well. At least in Europe.

There are as many contracts with gateway vendors as there are suppliers. Prepaid, postpaid, bulk priced, monthly, pay-as-you-go, whatever you want.

Related Problems and Solutions