0

I want to send SMS using LWUIT. what class should i be looking at? Does LWUIT have a class for sending SMS?

Nikhil
  • 1,279
  • 2
  • 23
  • 43

1 Answers1

4

You don't need LWUIT to send sms. You can design UI using LWUIT and use MessageConnection class to send sms. You can have a look at this and this thread.

Abdullah Md. Zubair
  • 3,312
  • 2
  • 30
  • 39
  • I hve already had a look at those pages. But suppose I write that code, will it work for android and black berry? or is it only for J2me? I want something generic that will work for all the devices – Nikhil Jun 18 '12 at 05:16
  • 1
    MessageConnection class is available in J2ME and BlackBerry, but not available in Android. You have to write different code for android. You can follow this tutorial: http://mobiforge.com/developing/story/sms-messaging-android for android. – Abdullah Md. Zubair Jun 18 '12 at 06:03
  • exactly!.. i just wanted to know if i can use lwuit for it..so that i don't need to make changes to my code :) – Nikhil Jun 18 '12 at 06:35