• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

[newbies ] : sending sms with WMA API  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to develop a midlet application that should be able to send sms to a server. ( i know it would be better to use http protocol, but the request was to build application that send data via sms -__- to a special 4-digit phone number e.g. 8888 or 7799 ).
I've read the java.sun and the nokia forum, but i had one thing that confused me.
Do you really need to connect to an SMSC in order to send that kind of sms?
or is it enough just to write this piece of code( taken from "Extend J2ME to Wireless Messaging", IBM Forum):
clientConn = (MessageConnection)Connector.open("sms://+8888");
TextMessage tmsg =
(TextMessage)clientConn.newMessage (MessageConnection.TEXT_MESSAGE);
if you do need to contact an smsc, then how do you set/retrieve the smsc number?
fyi, this application should run on Nokia series 60 phone ( if i'm not mistaken, they have supported WMA API).
thanks beforehand ^__^ , and i hope you forgive my lousy english.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!