Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Reg::java Examples

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I need java example to send text sms to mobile from pc.

I tried through many sites but all are depend on other 3rd party thing.

Any one help me for freewares like demo thing.

Thanks in advance.

 
Sheriff
Posts: 22649
126
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't do this without a 3rd party, unless your PC has a SIM card built in. And you simply aren't going to find a completely free party for this, since sending SMS messages costs money. I don't think anyone is willing to give away money like that. Perhaps you don't have to pay but you still end up "paying" by looking at a lot and a lot of ads, and probably also ads inside the SMS messages.

And please use a meaningful subject line.. "Reg::java Examples" isn't really saying anything. You can edit your post to change it.
 
suresh senapathi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

Thanks for the reply.
I am not asking complete freware.
we are sending sms through some sites right?
Like that for testing purose i asking.

Thanks again.
 
Ranch Hand
Posts: 174
Java ME Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can simply connect some mobile phone to your pc via bluetooth and then execute AT commands on that mobile phone to send SMS.

Here's example that i've copied from google:


Note that such AT commands may differ on different mobile phones and other ones may not support sending sms via AT commands at all.
 
Marshal
Posts: 75707
354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a "beginning" question. Moving.
 
Saloon Keeper
Posts: 25473
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most SMS services can be addressed via a "magic email address", which usually is something like "15550003321@phoneco.com". Just send a 1-line email of 140 characters or less to that address from the PC. Works great.

The hard part is making it general-purpose. Since the email address varies depending on the receiver's phone service provider, you have either know what that provider's email address conventions are or go through a generic gateway service that can find out and route it for you.

There's a fairly comprehensive list of the email address forms on the Wikipedia, including providers in both the US and in India.
 
I am displeased. You are no longer allowed to read this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic