SMS via GPRS

Does anyone know how to make a MIDLET that can send sms through GPRS?
Can i use HTTPConnection to do that and how....
Please Help...

Dear printisor,
Based on your reply, does it means that i should send parameters through gprs to my php script, then php script process parameters sent by j2me, then sends it through sms gateway??? Does the process runs like this???
i'm able to send parameters via gprs to php, but i dont know how to send sms via php... :-D

Similar Messages

  • Video calling in x6 via gprs internet

    sir,can u tell me how can i do video calling via gprs internet like lumia 710 skype video calling,you can tell me about the software like skype which can do video calling in nokia x6 or email the link.

    Hi jpbk,
    Welcome to the Nokia discussion boards!
    You can actually download Skype here from the Nokia store and installing either through Nokia Suite, or by sending an SMS to your device. You will need to have a Nokia store account to download applications from there.
    Let us know how you get on.
    Regards,
    haZey
    If you find this post helpful, a click upon the white star at bottom would always be appreciated.
    If it also solves your problem, clicking ACCEPT AS SOLUTION below it will benefit other users!

  • Low bandwith distributed network via GPRS

    Hi!
    I'm currently designing a distributed network which will consist of about 7 nodes, 3 of which are the water plants of small villages, and the others are wells on the field.
    Each node has about 8-10 digital inputs and max. 2 analog input channels.
    The system's primary goal is to acquire the state (running/ready/error) of some devices (pumps,freq. converters), display them at a central location and report any errors via SMS.
    Local control of the plants is already implemented, as they are complete WILO systems.
    Only a minimal control is needed (for each plants to command it's wells if the water level is low or high in the basin).
    So I think there should be no need for a lot of data transfer as digital signals should change only few times a day, and it is enough to read even analog signals once per minute.
    The project is quite limited financially, so it is not possible to put a cFP controller on each points.
    My current plan is to use a central cFP or cRIO controller at the largest plant and place ethernet expansion modules (such as cFP-1804 or NI 9144) on all other (6) points.
    The problem is, that the only possible way of communication is via GPRS IP network, so the available bandwith is about 50-60 kbit/s, however the devices will "see" a 100Mbit connection to the routers.
    Does anyone have any experience with such a bandwith limited ethernet network?
    I'm not sure if the FP Read and Write VIs and/or Shared variables on the central controller bound to expansion modules' channels are using PSP protocol. If so, I assume the required bandwith could be lowered by changing deadband of analog channels. Am I right with this?
    The other problem I face with is the possibility of connection errors. Is it possible to setup expansion modules to periodically check a gateway or any network device, and set their outputs to a predefined state?
    I also would like to ask if it is possible to use cRIO expansion chassis (NI 9144, which uses EtherCAT) in such a topology, where I have to route packets through a slow GPRS network?
    Thank you in advance for any help!
    Peter Kovacs

    I had an android phone for a couple years and i think there is a compatible remote application similar to apples remote app which works with itunes DJ so those students with android can access itunes dj. That should significantly increase the particiation. With that being said, i just updated to itunes 11, and the interface is much differnt.... and i just noticed there is not more itunes dj that i could find! loved that the voting feature.  I may be missing it so i've emialed apple feedback about it.  I hope that add that feature back on. Anyway, if you use an older version of itunes, dj should be there and i would search for the adroid app i discussed earlier.  sorry, i forget what it was called exactly...

  • How to STOP syncing with Outlook via GPRS?

    I use an unlocked iPhone 3G with a prepaid mobile card.
    Everytime I open my Calendar function on the iPhone (just to see the days and dates) the iPhone attempts to sync over the air with my Outlook account calendar via GPRS.
    This costs a bomb on the prepaid card, and I want to stop the sync function.
    Would someone kindly tell me how to STOP the iPhone from syncing with my Outlook Calendar?

    If calendar events are synced over the air, this means you are accessing an Exchange account or a MobileMe account.
    If you don't want to sync calendar events over the air with the account, you need to turn Calendars off for over the air syncing for the account preferences on your iPhone. This will erase all calendars and calendar events from your iPhone and you will need to sync direct with a supported application on your computer via the iTunes sync process. If an Exchange account with Outlook on a Winblows PeeCee, this will not be possible.

  • Sending SMS via Bluetooth not working

    Hi,
    I have two Nokia phones, an N73 and an older 6600. I was able to pair both with the Bluetooth in my MacBook Pro SR.
    I can access the web via dial-up networking, so that's working fine.
    However, I am unable to send SMS via AddressBook over the phone. When I click the little connect-to-bluetooth button in AddressBook, I am first asked to pair the phone - even though it's already paired, and connects automatically on both the computer and the phone. Then, when I do enter the code on the phone, the connection just fails. The button gets a slight blue outline but the B symbol doesn't actually light up as it should.
    Send SMS remains grayed out.
    Has anybody got this to work or know what could be wrong?
    PS: I am able to send SMS on Windows using MS SMS Sender, so I am sure that it's not the phone's fault.
    This worked fine with my Titanium Powerbook with USB Bluetooth dongle.

    Thanks for the response, but that's not it. The N73 is listed as supported, and iSync works perfectly well. Dial-Up networking also works perfectly well.
    Only sending SMS via bluetooth doesn't work.
    Also - no idea if this is related - faxing via the 6600 doesn't work anymore, which is strange because it used to work on the TiBook. Most people don't even know you can fax via Bluetooth phone and most newer phones have lost this capability so I guess this is just on its way out. Too bad because it was pretty useful...

  • Problem in sending SMS via using java communication API

    I need to send SMS via my sony ericsson Z530i. It is connected to the com5 port of my system. I got the following code.
    import java.io.*;
    import java.util.BitSet;
    import javax.comm.*;
    import java.lang.*;
    public class SerialToGsm {
        InputStream in;
        OutputStream out;
        String lastIndexRead;
        String senderNum;
        String smsMsg;
        SerialToGsm(String porta) {
            try {
    //            CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier("com5");
                CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier(porta);
                SerialPort sp = (SerialPort)portId.open("Sms_GSM", 0);
                sp.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
                sp.setFlowControlMode(sp.FLOWCONTROL_NONE);
                in = sp.getInputStream();
                out = sp.getOutputStream();
                // modem reset
                sendAndRecv("+++AT", 30);       // delay for 20 sec/10
                sendAndRecv("AT&F", 30);
                sendAndRecv("ATE0", 30);        // echo off
                sendAndRecv("AT +CMEE=1", 30);  // verbose error messages
                sendAndRecv("AT+CMGF=0", 70);   // set pdu mode
    //            sendAndRecv("AT V1E0S0=0&D2&C1", 1000000);
            catch (Exception e) {
                System.out.println("Exception " + e);
             System.exit(1);
        private String sendAndRecv(String s, int timeout) {
            try {
                // clean serial port input buffer
                in.skip(in.available());
                System.out.println("=> " + s);
                s = s + "\r";         // add CR
                out.write(s.getBytes());
                out.flush();           
                String strIn = new String();
                for (int i = 0; i < timeout; i++){
                    int numChars = in.available();
                    if (numChars > 0) {
                        byte[] bb = new byte[numChars];
                        in.read(bb,0,numChars);
                        strIn += new String(bb);
                    // start exit conditions
                    if (strIn.indexOf(">\r\n") != -1) {
                        break;
                    if (strIn.indexOf("OK\r\n") != -1){
                        break;
                    if (strIn.indexOf("ERROR") != -1) { // if find 'error' wait for CR+LF
                        if (strIn.indexOf("\r\n",strIn.indexOf("ERROR") + 1) != -1) {
                            break;                                            
              Thread.sleep(100); // delay 1/10 sec
                System.out.println("<= " + strIn);
                if (strIn.length() == 0) {
                    return "ERROR: len 0";
                return strIn;
            catch (Exception e) {                 
                System.out.println("send e recv Exception " + e);
                return "ERROR: send e recv Exception";
        public String sendSms (String numToSend, String whatToSend) {
            ComputeSmsData sms = new ComputeSmsData();
            sms.setAsciiTxt(whatToSend);
            sms.setTelNum(numToSend);
    //        sms.setSMSCTelNum("+393359609600");  // SC fixed
            String s = new String();
            s = sendAndRecv("AT+CMGS=" + (sms.getCompletePduData().length() / 2) + "\r", 30);
    //        System.out.println("==> AT+CMGS=" + (sms.getCompletePduData().length() / 2));
    //        System.out.println("<== " + s);
            if (s.indexOf(">") != -1) {
    //            s = sendAndRecv(sms.getSMSCPduData() + sms.getCompletePduData() + "\u001A"); // usefull one day?
    //            System.out.println("Inviero questo >>>> " + sms.getCompletePduData());
                   // if this sintax won't work try remove 00 prefix
                s = sendAndRecv("00" + sms.getCompletePduData() + "\u001A", 150);
    //            System.out.println("<== " + s);
                return s;
            else {
                return "ERROR";
        // used to reset message data
        private void resetGsmObj() {
            lastIndexRead = null;
            senderNum = null;
            smsMsg = null;
        public String checkSms (){
            String str = new String();
            String strGsm = new String();                         
            strGsm = sendAndRecv("AT+CMGL=0", 30);  // list unread msg and sign them as read
            // if answer contain ERROR then ERROR
            if (strGsm.indexOf("ERROR") != -1) {
                resetGsmObj();
                return strGsm; // error
            strGsm = sendAndRecv("AT+CMGL=1", 30);  // list read msg
            // if answer contain ERROR then ERROR
            if (strGsm.indexOf("ERROR") != -1) {
                resetGsmObj();
                return strGsm; // error
            // evaluate message index
            if (strGsm.indexOf(':') <= 0) {
                resetGsmObj();
                return ("ERROR unexpected answer");
            str = strGsm.substring(strGsm.indexOf(':') + 1,strGsm.indexOf(','));
            str = str.trim(); // remove white spaces
    //        System.out.println("Index: " + str);
            lastIndexRead = str;
            // find message string
            // look for start point (search \r, then skip \n, add and one more for right char
            int startPoint = strGsm.indexOf("\r",(strGsm.indexOf(":") + 1)) + 2;
            int endPoint = strGsm.indexOf("\r",startPoint + 1);
            if (endPoint == -1) {
                // only one message
                endPoint = strGsm.length();
            // extract string
            str = strGsm.substring(startPoint, endPoint);
            System.out.println("String to be decoded :" + str);
            ComputeSmsData sms = new ComputeSmsData();
            sms.setRcvdPdu(str);
    //        SMSCNum = new String(sms.getRcvdPduSMSC());
            senderNum = new String(sms.getRcvdSenderNumber());
            smsMsg = new String(sms.getRcvdPduTxt());
            System.out.println("SMSC number:   " + sms.getRcvdPduSMSC());
            System.out.println("Sender number: " + sms.getRcvdSenderNumber());
            System.out.println("Message: " + sms.getRcvdPduTxt());
            return "OK";
        public String readSmsSender() {
            return senderNum;
        public String readSms() {
            return smsMsg;
        public String delSms() {  
            if (lastIndexRead != "") {               
                return sendAndRecv("AT+CMGD=" + lastIndexRead, 30);
            return ("ERROR");
    }When i compile, there is no error. But when i execute it, the following error comes:
    E:\java\JavaSmsApi>javac SerialToGsm.java
    E:\java\JavaSmsApi>java SerialToGsm
    Exception in thread "main" java.lang.NoSuchMethodError: main
    What might be the error? Somebody help me. Thanks in advance.

    You are probably trying to run this as a CLDC application instead of a MIDP application (aka a MIDLet). Since CLDC apps start with a main(....) your runtime looks for one but does not find it, hence the error. Please recheck the project configuration.

  • Connecting MBP to internet via gprs/bluetooth 6630

    hello guys,
    I'm having an unusually problem
    my mobile phone Nokia 6630 surfs the web well and it get connected to a PC to browse the web too just great.
    when going Mac, it doesn't do any of this except Syncing in iSync good enough.
    every time I try getting MBP connected to internet via gprs& blutooth via Nokia 6630 the system displays an error message which is normally PPP error
    I've filled the APN with the correct provider's access point and number with *99#
    my provider didn't fill me with the DNS nor PPP setting...
    what shall I do to fix this?

    No.

  • Java application to send an SMS via my DKU-5 serial cable.

    Hi,
    I'm not sure if this is the right forum but....
    I'm doing a project for college which involves Learning Content Managemnt System.
    I've developed a few features for this including chat, forums, etc.
    I want to develop an SMS system to use in conjunction with the chat application
    ie. If a user is not online then the chat message will be sent to their mobile in the form of an SMS.
    Looking for help in creating a Java application to send an SMS via my DKU-5 serial cable.
    Any ideas??
    Thanks
    Message was edited by:
    kiwicas

    hiii u can try.........javax.comm package.
    its best for serial communication.
    contect [email protected] if required
    jigar

  • Best app for send sms via email?

    Anyone got any idea what the best app is to download to send sms via email?
    I downloaded text-free yesterday, but doesnt work and the message keeps bouncing back to my email in box as a failed mail delivery!!
    I am in the UK in case that makes a difference!!

    If you want to text people for free, i highly recommened AIM application. Its an IM app built in with an feature that allows you to text anyone on your contacts for free. Just let them know that its you texting them the first time.

  • SMS Via J2ME

    Hi, can I know anyone of you can lend a help on how to send SMS via J2ME? Is there a way to do it or maybe is there any sample codes that can be of any help. Thanks in advance....

    Hi,
    there is no support in J2ME for SMS, please refer these links
    http://developer.java.sun.com/developer/community/chat/JavaLive/2002/jl0625.html
    http://jcp.org/jsr/detail/120.jsp

  • SMS via iChatav?

    Hi,
    Is there any app/plugin which will send sms via ichat to UK mobile phones? I know it's possible to do that in US. Or perhaps some handy widget which will do that instead?
    Thanks
    Peter

    It only works if your Location set in the International Settings is set for the States and the Phone is also in the States.
    I know of someone who sets it this way in the Far East to contact people in the States.
    It does not work if your computer is set to another country or the phone is not one registered in the States.
    10:02 PM Tuesday; March 9, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Send text via GPRS to MIDlet

    I want to send message text via GPRS to my MIDlet
    But I wonder how to 'push' it...
    I've got the IP address of the MIDlet, but i dont think simply push the message to the IP address will do...coz IP is 'shared' by every application in the mobile phone right?
    I wonder should i have an indicator to verify that message is for my MIDlet.
    Or I should write a class to be a 'listener' in JAVA to read the data if any?
    Any advice will be very very much appreciated!

    U can do one think Write Servlet or JSP Application on server.And MIDLEt open one HTTP Connection which access the servlet of the server Then that servlet read the file from anywhere and write the data on outputstream of the httpconnection object

  • How can I send & recieve SMS via Mac ?

    How can I send & recieve SMS via Mac ?
    Handoff is already working fine between my iPhone 5 & Mac, I want to know how I can send & recieve SMS using my MAC

    Thank you so much
    I have another problem please:
    Handoff is working perfectly between my iPhone 5 & my Macbook pro, I also can receive calls on my mac and iPhone 5 at the same time, but when I try to make calls from my laptop it says that message:
    I am already using the same account for both of them

  • Sync via GPRS

    Hi all.
    Did anyone performed a sync via GPRS?
    I am using MAU on Psion with PPC2003 and my sync is running endless.
    The data were reset on the client befor syncing so it is a fully download.
    In netwaver Administrator I can see that the sync is finished after 2 minutes and this was one hour ago.
    When I look into the data folder I do not see any SyncBo related files.
    Any ideas?
    Cheers,
    Sascha

    Hi Karthick.
    I am sorry I do not know all the details. This is all managed by the clients company.
    As far as I know the client has a contract with E-Plus which is a large service provider (mobile phones) in germany. So they get SIM cards which are installed in the devices. The mobile phone numbers of these cards are then registered at the services provider side and the client side to define which numbers are allowed to access the connection thrue the access point.
    To reach the access point the provider sets up something like a vpn tunnel which can be access by the registerd SIM cards.
    I do not know the costs, sorry.
    On the device you have to enter the access point and user data in the connection profile for you SIM card / GPRS.
    So you should contact some service providers located in you country to find out how everything is set up and how much it costs.
    Cheers,
    Sascha

  • How to connect j2me game to another j2me game via gprs

    i create a simple game like tic tac toe, but i still confuse how can i play with my friend via gprs. need help in server configuration, and what connection should i use http connection or socket connection. if anyone know the script for my j2me and server please tell me.

    If you're using MIDP 1, which is what you need if you plan on deploying the game on an available phone, then the only protocol that you can count on being supported is Http. So if you're looking for portability across a large number of devices then that's what you should use (HttpConnection specifically). Also, since there is no push architecture in MIDP 1, you'll need to use the technique called "polling", which means you're clients are going to have to send requests to the server every few seconds to check for updates in the game.
    I actually did a little 2 player tic tac toe to teach myself MIDP, and the code is available at planet source code:
    http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3398&lngWId=2
    (If the link doesn't work just make a search for MIDP under the Java section).
    You have to add a line to the JAD file that has the URL of the servlet, or you can replace:
    String url = getAppProperty("TicTacToe.URL");in sendMessage() with a hard-coded string.
    The servlet is very very crude, since I have little experience using Java on the server side and I was more interested in doing the client, and it just links the first two available players and automatically starts a game. But I think it might serve as good starting point for you. And of course, if you are more comfortable with other server-side technologies then you should use them instead of a servlet.

Maybe you are looking for

  • Links doesn't work

    Hi, I finshed my form and noticed that links in the form doesn't work. I tested in both reader and acrobat. Does anybody know what is going on? Thanks

  • Need help about roll ups for average that contains logic

    --Hi everyone, --I have posted this one on the forum before. (how to do outer join select query for an APEX report )--I thought it works fine, but then yesterday, the tester check and said that the Average total is not correct --the query is as below

  • Web Dynpro and Abobe Flex

    Hi Folks, I've seen a couple of responses to questions about the mixing of Web Dynpro and Adobe Flex technologies... This thread mentions a "Flex Client" which is reportedly able to render existing Web Dynpro apps in Flex: WebDynPro ABAP in adobe fle

  • Error in OHW Configuration when accessing OCS help from OCS Admin Page

    Hi. Getting "Error in OHW Configuration OHW configuration file error detected. Please contact the system administrator." when i try to access help info from the OCS Adminsitration Page. Any feedback on what's wrong is welcomed ...! Regards, Luis ...!

  • Any way to Synchronize Metadata?

    Is there a way to sync the metadata from one image to another? Or even better in batch? You know, Something like the button in Camera Raw "Synchronize Settings", which is a big time saver for me. For example: I've tagged an image for a project, down