Sending SMS using application on mobile itself not via PC

Posted on 2006-03-21
Last Modified: 2013-12-09
I have the following senario :-

Mobile Application that will installed on mobile devices that support (Symbian , Pocket PC, or Java2) this mobile application will list some services  , upon choosing service by mobile user the details of service will be sent using mobile messaging service to chosen destination.

Now my problem as following:-

1. the application should be installed on mobile itself.
2. sending the message should not be using PC (should be as we compose a message from mobile itself)
3. no internet connections (HTTP)

in general i need the application to the SMS using mobile services itself.
Is this possible?
if yes how can I achieve this?

If more information is needed please inform me.

Question by:raed_hasan
    LVL 13

    Expert Comment

    The key is to find the Serial Port of the Internal GSM Engine. Once you have found it (Using Java or C++) then you can use simple AT commands(On that port)  to send/receive SMS....
    A simple AT commandset that will send an SMS is shown below.....

    AT+CMGF=1 <CR><LF>                          'This will set the modem to Test Mode
    AT+CMGS="xxxxxxxxxx" <CR><LF>          'Where xxxxxxxxxxx is the no. you want the SMS to be send.
    > Here is my Message <Ctrl-Z>                '> will appear automatically. Now you only need to type the message and press Ctrl-Z or chracter 26.....

    This is it.... Your message will ne send to the desired no. All you will need is to find the Serial Port and then learn basic Serial Port interfacing.

    As far as difference between Symbian and Pocket PC is concerned, In PPC you can develop your application with VB.NET, C#.NET or even eVC++ 4.0 alongside J2ME and C++ etc. .....
    While in Symbian you will need to develop in Java or Symbian C++ and no support for .NET.....

    LVL 2

    Author Comment

    thanks for reply for more information can I use J2ME to the application that run in all platforms.
    using one code base.
    LVL 2

    Author Comment

    about the proposed solution, Does it work for major mobile devices, while taking care that the mobile device does not connect to any PC?
    LVL 13

    Accepted Solution

    by: lists some of the devices that use J2ME....

    >>can I use J2ME to the application that run in all platforms. using one code base.

    I am not sure.... IMHO you cant. Thats why mobile software manufacturers usually develop a different software for each device (at least class of devices)..... Pocket PC's are usually a standard.... So if you develop an application for one PPC thn it should work on all devices.... While this is not true for Symbian devices. You have to develop for either UIQ (Sony Ericsson P800,P900,P910) or for Series 60 as well as taking into consideration the OS version like Symbian 7.0 or later etc.

    to be honest I have no experience what so ever with J2ME.... I have developed applications for devices which have Windows CE or PPC as their OS using .NET


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    This is not just another Android bug that needs patching, rather this is a major hole in one component of the the current android system, namely StageFright.
    Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
    This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now