• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sending and Recieving SMS from a java application

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Sirs et Madames,
Happy new year to all. I am thinking about creating java database application which can receive SMS's (the text will be a barcode) from mobile phone users and also be able to send an automated reply (details of the product whose barcode was sent as SMS) from the database. I am at a loss as to where to start, my research led me to try SMSLib (an SMS API), but the documentation and available material is so obscure that I have not been able to get anything running, it also required me to download the Java Communications API which unfortunately is incompatible with a 64-bit OS. Forgetting all I have just said (so I can get a clean start without biasing your answers to match what I have been attempting, as I may have been doing stuff wrong) I would greatly appreciate some completely fresh advice and pointers on how I can get going on such a project. My hardware is:

Machine: Windows 7 x64
Modem: EC168C

Thanking you in advance
 
Rancher
Posts: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first step might be to select a network provider through which you can send and receive SMS. This will cost you money, since such services are not free to use. Once you have done that you'll have access to the provider's documentation on how to integrate your software with their network.
 
Tumaini Kilimba
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ulf, thanks for the quick response. What are the questions I need to ask of them (the network providers)? Also, is it not possible to create a prototype without having to go through the network provider? Are there no workarounds to that? Because if one uses AT commands, one can get their gsm modem to send or receive messages without involving the service provider (after all, they still get their money as each text message is still charged the standard rate), so in similar fashion, can one not create a prototype application of that sort without going to the service provider. If not, what would I need from the service provider when I go see them, what should I ask from them?

Thanks alot, and sorry for the many questions
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if using a local phone that way works for you, so much the better. Obviously, the server would have to run on that same machine, but I'm sure you've thought of that.

The list of questions to take to the provider would essentially be your list of SMS-related requirements.
 
Tumaini Kilimba
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok thanks... so where do I start, how does one create a Java application that sends and receives SMS messages?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please install sun WTK, and find folder apps/WMADemo
in this folder you will find simple sms sender and sms receiver
BR.
reply
    Bookmark Topic Watch Topic
  • New Topic