aspose file tools*
The moose likes Java Micro Edition and the fly likes Reg::java Examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Reg::java Examples" Watch "Reg::java Examples" New topic
Author

Reg::java Examples

suresh senapathi
Greenhorn

Joined: Jan 14, 2009
Posts: 13
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.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19552
    
  16

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
suresh senapathi
Greenhorn

Joined: Jan 14, 2009
Posts: 13
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.
Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

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.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36563
    
  16
Not a "beginning" question. Moving.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15657
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reg::java Examples
 
Similar Threads
Synchronize the create method?
SCJP 1.5 � failed miserably
How to create password protected file
What java methods to use?
Example, MS Access Java Application