Sending SMS to a mobile app from smpp server

Hi frndz
I have a j2me application which is listening to port number 1581
So, any message for port number 1581 will be directed to my j2me application,
problem is how can I send an SMS to a specific port number using SMPP server so my j2me app. receives the msg.
I have my own SMPP server through which I am able to send simple messages
so what modification required to send messages to a particular port
thanks
alpesh

Thanks Senthil
I tried two methods for sending msgs to a specific port from SMPP server
(I) setting up the optional parameter (TLV values)
The Code is:
request.setDestAddr(ton, npi,mobile_no );
request.setShortMessage("This msg is on port number 1581");
request.setDestinationPort((short)0x62D); // HEX for 1581
request.setSourcePort((short)0000);
request.setReplaceIfPresentFlag(replaceifpresentflag);
request.setRegisteredDelivery(registeredDelivery);
(II) setting UDH parameter
The Code is:
// setting UDH parameter CODE
ByteBuffer msgUDH=new ByteBuffer();
msgUDH.appendByte((byte)6);
msgUDH.appendByte((byte)5);
msgUDH.appendByte((byte)4);
msgUDH.appendShort((short)0x1581);
msgUDH.appendShort((short)0x0000);
// appending msg to the UDH header
message="Sending Message on Specified Port";
msgUDH.appendBuffer(new ByteBuffer(message.getBytes()));
// submitting the msg
request.setDestAddr(ton, npi,mobile_no );
request.setMessagePayload(msgUDH);
request.setProtocolId((byte)0xF5);
request.setEsmClass((byte)(Data.SM_UDH_GSM));
request.setReplaceIfPresentFlag(replaceifpresentflag);
request.setRegisteredDelivery(registeredDelivery);
I am submitting the message using any of the above method, message goes to mobile phone default Inbox, not to my J2ME app.
any Idea, what is wrong?
thanks
alpesh

Similar Messages

  • Send message to NT Forms app from Linux Server

    I have an external process(C) automatically inserting data into
    Oracle8.0.5 database. On a before insert DB trigger I run another
    C procedure to compare new insert to existing data.
    If certain conditions are met, I need to notify any user of a
    separate Forms5 app that these conditions exist. How can I
    automatically communicate this information to Forms users?
    I would appreciate any suggestions.
    Thanks
    Note: DB and C processes running on Linux server, Forms app on
    WIN 98/NT clients.
    null

    Bev (guest) wrote:
    : I have an external process(C) automatically inserting data
    into
    : Oracle8.0.5 database. On a before insert DB trigger I run
    another
    : C procedure to compare new insert to existing data.
    : If certain conditions are met, I need to notify any user of a
    : separate Forms5 app that these conditions exist. How can I
    : automatically communicate this information to Forms users?
    : I would appreciate any suggestions.
    : Thanks
    : Note: DB and C processes running on Linux server, Forms app on
    : WIN 98/NT clients.
    Bev;
    If I understood correctley, you are using forms bulider 5.0.
    Then there is a trigger WHEN-TIMER-EXPIRED that can be used that
    in certain time or timer go against DB and verify that logic has
    been met and also a MESSAGE box can be added to your future.
    null

  • Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle

    Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle ?
    suppose you don't have mobile connected to ur com port.

    is this helps?
    http://inside-apex.blogspot.com/2007/05/sending-sms-to-mobile-phone.html or
    Re: Send Message From Oracle To Mobile Device

  • How Can I send SMS to a Mobile Phone within Oracle

    How Can I send SMS to a Mobile Phone within Oracle

    It depends on how you are planning to use this feature.
    You can set up a mobile using special software in order to interface to it programatically - you can then, via this software interface, use this mobile to send SMS's.
    Some service providers support an e-mail interface. Where you send the SMS as a the e-mail content and the mobile number as the recipient's address, or as the subject of the e-mail. However, many service providers have long since stopped providing this type of mail interface due to abuse. Remember that service providers are there to make money - not offer one a service via bulk SMS's can be send.
    Some service providers have dial-up servers that works like the old style bulletin board systems (BBS's) of the 90's. You use a telnet like interface, dial into this BBS, and is prompted for mobile number, message to deliver, and even delivery confirmation. You can expect the cost of this phone call to this system, to also cover the cost of sending the SMS.
    Some companies provide a software server to interface with one or more service providers - this allows you to fairly easily use this server gateway to send SMS's for you. Such a gateway server will typically support a telnet interface - allowing you to send SMS's via it from inside PL/SQL.
    I've used all these options, and I've found the best one to be the last option. It is the easiest to use from a programming perspective. It comes with various management and reporting tools. So you need to do the very minimal in managing this whole SMS interface.

  • How to Send SMS to a mobile in CRM

    Hi all,
    I need to create a Method in a class for sending SMS to a mobile phone in CRM with importing parameters as 'MOBILE_NUMBER' and 'MESSAGE'. Please help me in this regard.
    Thank you in advance.
    Regards,
    Ravi.

    Hi,
    are you sure you really want to implement this function within Mobile Sales/Service application?
    If from CRM system you should rather chose another accordant forum.
    Regards,
    Wolfhard

  • Getting Error 500 Internat Server Error when trying to access Mobile App from OBIEE 11.1.1.7.1

    Hi Everyone
    I am getting this error message when I try to open the Mobile App from OBIEE.
    After I log in to OBIEE, I navigate to New >> click on Mobile App and get this error message:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    I have installed OBIEE 11.1.1.7 and applied the following patches:
    16556157 (OBIEE 11.1.1.7.1 patchset, which also requires you to download another patch, 16569379)
    17004920, which enables support for BI Mobile App Designer in the catalog, and the Presentation Services UI
    17220944, the actual BI Mobile App Designer app, enabled through extending the OBIEE WebLogic domain
    Rest everything under OBIEE works fine.
    Kindly advise and help.

    Please try this
    open a command prompt
    cd C:\app\oracle\product\11.1.1.7.0\fmwhome1\Oracle_BI1\bifoundation\installs
    run the script now
    using
    C:\app\oracle\product\11.1.1.7.0\fmwhome1\Oracle_BI1\common\bin\wlst.cmd addMADCodeGrants.py t3://localhost:7001 weblogic
    This should defnetly work now
    Thanks

  • Updated all mobile apps from iPhone itself, when I connect iPhone to iTunes it downloading again?

    I updated all mobile apps from iPhone itself, when I connect iPhone to iTunes it downloading again? (Earlier it was copying from iPhone to iTunes) now, it’s not happening. Please suggest me I need to change any settings in iTunes or iPhone?
    Thanks in Advance,
    Suresh Balakrishnan

    Hi,
    Problem got solved, please find the below mentioned steps to resolve.
    Steps to Resolve:
    1. launch the iTunes app.
    2. Connnect iPhone to the Mac.
    3. Click on View menu from header file then select "Show Sidebar".
    4. Right click on Device on left side pane then select "Transfer perchased"menu.
    After the File copying from iPhone to iTunes.
    Thanks and Regards,
    Suresh Balakrishnan.

  • How to send sms to one "mobile number" and retrieve store to mysql

    Hi All,
    I am using Clickatell api to send sms.Its perfectly working.My current requirement is *"I need one mobile number(sms provider/gateway) that should be receive any sms from various mobile numbers.If i give that number to my clients they will send a message to that number.If i get any sms on that number i will retrieve the sms and store it to my database".*
    please any one help me and give some ideas or the sms providers api
    by
    vijay

    This doesn't seem to have anything to do with JavaMail.
    Maybe you should ask the Clickatell API owners?

  • Is it possible to send SMS text msgs(Not IMessages) from my IPad Air with Wi-Fi/cellular?

    Can you send an SMS text msg from an IPad Air that has Wi-Fi and Cellular network? It has its own phone number.. Just wondering.. Thanks

    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
     Cheers, Tom

  • Sending Alert Message to mobile device from SAP

    Hello Experts,
    Can i send an alert message directly to any mobile device from SAP ? or i have to used Sybase as a middle layer ?
    And is there any way to send alert through Sybase Server without creating its MBO ?
    Regards,
    Tapan

    Hi Tapan,
    well, if I would have to do that..... I would at least need Sybase to keep development low. at the end you do not really need Sybase for this... but without SUP development effort is really high.
    Okay, in short:
    each device has its wn dedicated listener concept for push messages. This is platform dependend and you need to develop a native solution for this. It is possible, but it takes some time.
    If you want to be native, with Sybase you get this more or less for free. Issue here: Sybase does only support push notifications out of the box in the most complex scenario: therefore you need SAP backend, Netweaver Mobile Middleware, SUP and connect NW Mobile and SUP by ESDMA file. This gives you push from backend to device for free on nearly all plattforms out of the box.
    So at the end the first question qould be: how much do you want to develop?
    Or is it wnough for you to have SUP workflow? Benefit on Workflow: development effort is low, works out of the box, is multi plattform - but like every sunshine there is some shadow - performance of this approach is not really nice. Anyway, it could solve your issue: you receive an eMail in your device, this opens the workflow app and you can accept or decline for example a travel request.
    Would that elp?
    Regards,
    Oliver

  • Wants to send sms to my mobile

    hi all,
    Iam new to sun Developer Forum..
    Help me out to do my project to send sms to mobile..
    Iam trying to connect modem here i need to fill serial port,baud rate,data bits
    i dont know how to get serial port no
    CommConnector connector =
    new ModemConnector( "1234567890", "", "COM99", 9600, 8, 1, 'N' );
    Is there any free message service providers to send sms from pc
    my id: [email protected]
    thanks in advance

    Hi vichutty23
    Thank you for posting and welcome to Nokia Support Discussions! 
    You can check from this link: http://www.whatsapp.com/faq/nokia/21099118 if your phone is compatible with WhatsApp. 
    The letter E represents the kind of speed you are using when connecting to the internet, in this case EDGE (2.5G) that would have a data transfer rate of 384 kbps.
    If you subscribe to a data packet provided by your service operator, indeed it is the internet connection provided by your operator.
    This icon will let you know when your phone is connected to the Internet, it must appear with a box when transferring data or Internet connection. When the phone is not connected to the Internet the"E" will appear with a line in the middle giving the image of being cut.
    If my post helped you, please don't forget to click on the "White Star" and if it resolved your issue click on "Accept as Solution"

  • Sending SMS on Win Mobile 5.0

    Hi !
    I am relatively new to J2Me and would like some help on sending SMS using a PDA. I have been trying to create a program (using WMA) which should enable me to send an sms via my PDA (O2 Zinc). Although there are no errors to the program, it simply refuse to send the SMS out.
    A portion of the codes is found below:
    private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {                                     
    try {
    String addr = "sms://+6598292837";
    jLabel1.setText("address added");
    {color:#ff0000} MessageConnection conn = (MessageConnection) Connector.open(addr);{color}
    jLabel2.setText("message connection set");
    TextMessage msg =
    (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);
    jLabel3.setText("text message set");
    msg.setPayloadText("Hello World!");
    jLabel4.setText("text set");
    conn.send(msg);
    }catch (Exception e){e.printStackTrace();}
    I added in the jLabel text change to see which are the lines being executed. And it was found that the codes after {color:#ff0000}
    MessageConnection conn = (MessageConnection) Connector.open(addr); {color:#000000}was never executed.
    I must apologise i kinda s.u.c.k in using exception but i try to add this in and it caught the connection not found exception.
    public void sendTxtMsg() throws IOException{
    try{ ......
    } catch (ConnectionNotFoundException ex) {ex.printStackTrace();jLabel3.setText("error: "+ex);}
    have i missed out on any steps? or should i use a different approach to the problem?
    Your help is very much appreciated! Thanks for all the help
    Desperate Programmer.
    {color}{color}

    The JavaFX Mobile 1.2 runtime can only be run on Windows Mobile 6.1 and up

  • Cannot send SMS or make a call from Macbook Air 2013

    i have an iphone 5 (ios 8.0.2) and macbook air 2013 with osx yosemite installed.
    from mac to iphone, continuity is working. i can see safari which was opened on my mac.
    from iphone to mac, continuity is not working. i cant see anything on mac if i open safari, mail or anything else on iphone.
    also cannot send SMS from my mac, cannot make or receive calls.
    when i try to call somebody it says : your phone and computer should be in the same WI-FI connection which they already are.
    any help would be appreciated
    Thanks

    Hey canozkurt,
    Thanks for the question. I understand that you are experiencing issues with Continuity and Handoff. For help, check out this resource:
    Get help using Continuity with iOS 8 and OS X Yosemite
    http://support.apple.com/kb/TS5458
    Also, please not that SMS requires an iPhone with iOS 8.1 which should debut later today.
    Thanks,
    Matt M.

  • Locking up an mobile.app from being updated

    I would like to be able to lock an app from being updated/upgraded.
    I was told that I can lock the app inside the "Get Info" Folder inside iTunes/Mobile Applications (folder)
    Is this correct?
    FINDER
    Music
    iTunes (folder)
    Mobile Applications
    Select the App.ipa
    Right Click for Get Info
    and look for Lock and click on it.
    In my particular case, I want to lock up Zite1.3.3.ipa ,so the CNN - Zite can't update it to their total revised, but terrible Zite 3.0, which everyone complains about.
    Thanks.

    Here is a snippet that should get your started.
    - (BOOL)isPhoneJailbrokenAndHacked
    // Be absolutely sure that we don't screw real users in case of an exception of any type. We always return NO in catch block.
    @try
    // Grab a reference to the defaultManager
    NSFileManager *fileMan = [NSFileManager defaultManager];
    // Get the path to the MobileInstallation file that gets modded to allow illegal apps on the iPhone
    NSString *filePath = @"/System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation";
    // Make sure the file exists
    BOOL fileExists = [fileMan fileExistsAtPath:filePath];
    if(fileExists)
    // Grab the file attributes
    NSDictionary *fileAttributes = [fileMan fileAttributesAtPath:filePath traverseLink:YES];
    // Grab the NSFilePosixPermissions and make sure they are 493. If it isn't 493 it's probably hacked.
    int posixPermission = [[fileAttributes objectForKey:NSFilePosixPermissions] intValue];
    if(posixPermission != 493)
    return YES;
    @catch (NSError *error)
    return NO;
    return NO;

  • Problem starting AIR app from windows server 2003

    Hello,
    I have an AIR app that I am trying to run using a c#
    webservice under Win 2003.
    I am starting the application process (air .exe file) as the
    "Network Service" user which has full-rights on the app-folder and
    app-working folder. The problem is that once with the applications
    the "Adobe AIR Updater.exe" process is starting to (using the same
    user N.S.) and both of the processes stop responding.
    I have tried to start the process as "Local Service" with
    "Desktop Interaction" too but unfortunately with no result.
    I must tell you that under XP and Vista it runs perfect...
    Is there any security issue related to win 2003 or any way i
    can start an air app from command line.
    Also i am interested why "Adobe Air Updater.exe" is starting
    ?

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

Maybe you are looking for

  • SwingUtilities throwing Null Exception

    I created the following class to report a bug and came across something interesting: // Instructions to view bug // 1) On your favorite windows operated machine (xp in my case) unlock and move your taskbar //    so that it is along the left pane of y

  • While creating Purchase order the system is showing error: vendor 200001145

    Hi experts, while creating Purchase order the system is showing error: vendor 200001145 on line 00010 for ctype ZB12 not defined as head office vendor. Plz  give solution for this. Thanks&Regards sreenivas

  • Updated to 10.4.11 Won't boot

    I'm on a macbook pro with no modification. I attempted to update to 10.4.11 and recived a message that the install failed the computer wanted a restart anyway due to a quicktime update. Clicked restart and it droped to just my background and nothing

  • Can I import (or create) default Lightroom settings from an existing document?

    Can I import (or create) default Lightroom settings from an existing document and save them? Make them a personal default set opening with all future LR catalogs?

  • Basic jsp design question

    I did this with a servlet and now I'm trying to figure out how to do this with a jsp. I have a screen that displays data If there is no data you get a message saying no data So I think that would be 2 jsps. If you hit the edit or save button you get