Java

Bug Sending Long Binary SMS Messages to Java Apps on Motorola Devices

One of the more interesting technical support incidents of the past week comes from Mohit Kumar Sethi at 3i Infotech Consumer Services Ltd. Mohit is using NowSMS Lite to send binary SMS messages to a Java application that his company is developing. He noticed that when sending SMS binary messages longer than 140 bytes, the messages were received correctly by Nokia and SonyEricsson devices,...

Read More

Send WAP Push from Java (or JSP)

The previously posted examples for sending SMS and MMS messages from a Java application with NowSMS can also be used for sending WAP Push messages. Normally, when we talk about WAP Push messages, we are talking about “Service Indication” (SI) messages, which are a common type of WAP Push message. MMS Messages also use WAP Push for part of the delivery process, but they are handled...

Read More

Send MMS from Java (or JSP)

A Java example for sending MMS messages via NowSMS has been posted at the following link: http://www.nowsms.com/download/sendmms.java.txt This class supports all of the MMS related parameters available in NowSMS, most of which are described later in this posting. For a related PHP script, please see: http://www.nowsms.com/nowsms-php-example-send-mms-message To use this Java class, begin by...

Read More

Send SMS from Java (or JSP)

A Java example for sending SMS messages via NowSMS has been posted at the following link: http://www.nowsms.com/download/sendsms.java.txt The sendsms class defined in this example can be used to send simple SMS text messages, as well as many types of binary SMS messages, including WAP Push. The class supports most of the URL paremeters that are defined for NowSMS at the following...

Read More

MMS to a Phone Based Application

Application Directed MMS:  Send an MMS to a Java app/MIDlet In the last post, I talked about sending SMS messages to a Java MIDlet running on a phone by using SMS port addressing. This time I want to explain how to send an MMS message to a Java MIDlet running on a phone, using MMS application ID addressing. SMS port addressing has been part of SMS, as defined by the ETSI GSM 03.40 specifciation,...

Read More

SMS to a Port Number

Application or Port Directed SMS:  How to Send an SMS to a Java app/MIDlet It’s a common task, but a confusing one. As Java becomes more widely supported on mobile phones, one of the most obvious application needs is the ability to send SMS messages to an application and have the application take some action based upon the content of the SMS message. However, while J2ME will let an...

Read More