• 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

Can a J2ME app send an SMS from a java-enabled phone?

 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was wondering if was possible to send (and recieve) SMS messages from a J2ME Midlet for a game. The idea is to play a peer-2-peer game where the program uses SMS messages to communicate.
Thanks,
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, use the J2ME Wireless Messaging API (WMA). You will soon be able to send/receive MMS messages with the WMA v2.0.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At first, we cannot use J2ME API to deal with SMS... But as Mr.Yuan said, we can later do things on SMS using WMA v2.0... We need to use proprietry APIs from different vendors to do things with SMS on their specific cellphones like Nokia, Siemens and so on...
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WMA v1.0 (SMS) is supported on many phones including most Nokia models in the last year.
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to both of you.
I'll get investigating right away.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
How can we send SMS from a JSP to a J2ME application on a phone?
thanks in advance.
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you can send SMS from a J2EE server to a J2ME phone. You need one of those server side SMS toolkits or simply send email to the carrier's proxy email address via JavaMail. I talked about this topic in the book. But it was not a focus of the book.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Michael Yuan:
Yes you can send SMS from a J2EE server to a J2ME phone. You need one of those server side SMS toolkits or simply send email to the carrier's proxy email address via JavaMail. I talked about this topic in the book. But it was not a focus of the book.


So ur book discuss about using JavaMail to send SMS to J2ME phone, as just for a taste? Or does ur book discuss about email service in J2ME phone as well?
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can send SMS via your phone or via the SMS center (the box at the operator's network used to forward the sms's and save them in case the phone is switeched off...)
TO send trough the sms Center, u need to make a deal with the operator, or witha 3.rd party that has such a deal..
www.clickatell.com has deals with operators worldwide, and provide many APIs to help you send SMS from diffrent apps..
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FYI, There's a sample program bundled with the J2ME Wireless Toolkit: sends and receieves SMS
 
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic