|
Follow this step-by-step
guide to quickly setup and start using MMS with the Openwave Phone Simulator 6.2.2. For instructions on
how to configure and use the Openwave Phone Simulator V7 for MMS, click here.
After completing these instructions, you will be able to send multimedia messages containing content such as pictures, music, images, graphics and ring tones to any MMS compatible phone using Openwave MMS SDK via the Openwave Multimedia Messaging Services Center (MMSC). For the purpose of this
Quick Start, you use Openwave Phone Simulator (running Openwave Mobile Messaging
Client) to receive and view MMS messages via the Openwave Developer MMSC.
However, the Developer MMSC can connect with and deliver messages to any MMS
compatible GSM phone, allowing you to test your MMS-enabled applications with
a real device over a real wireless network environment. For an introduction to the MMS SDK, click here. 1. Download the Openwave
MMS SDK
You can install the MMS SDK on either a Windows or UNIX based system.
These instructions assume you are using a Windows PC. For UNIX based
instructions, please refer to the Openwave MMS Library Developer's
Guide.
To install the MMS
SDK, open the download file vaspsdk.jar
using a file extraction utility, like WinZip or the Java "jar" utility.
Create a new folder in the location:
C:\openwave\vaspsdk and extract the contents
of the .jar file into that folder. 3.
Download and Install the Openwave Phone Simulator
DOWNLOAD the Openwave Phone Simulator 6.2.2 Main Package. DOWNLOAD the Openwave Phone
Simulator 6.2.2 WAP 1.x Network Plug-In.
Before you can send
and receive MMS content using the Phone Simulator, you must create a subscriber
account on the Openwave Developer MAG (oden.openwave.com). This allows
you to test your MMS applications using the same version of Openwave MAG and
MMSC deployed by network operators.
5. Configure the
Phone Simulator Select Openwave SDK 6.2.2 -> Openwave SDK 6.2.2 WAP from the Windows Programs menu to launch the Phone Simulator. Select Tools -> Options from the Simulator pull-down menu to display the SDK Configuration dialog. In the Device configuration page, clear the UAProf URL field so that it contains http://developer.openwave.com/uaprof/OPWVSDK62.xml, then click the Apply button.![]() In the SDK Configuration dialog, click the Server tab to display the Server configuration page. Click the Add button to create a new Server Profile, and then follow these steps to complete the configuration wizard:
Now select your new profile in the Server configuration page, and then click the Settings button. ![]() In the WAP Server Profile dialog, enter the following string into the MMSC URL field: http://skara.openwave.com:8088/mms/ ![]() Click on the new profile name
in the SDK Configuration dialog, click
the Activate button to activate it,
and then click the OK button to close
the window. ![]()
![]() 6. Create an MMS
Account on the Openwave Developer MMSC To create a new MMS account, simply send a test message from the Phone Simulator to any valid email address (e.g. your personal email address). The first time you send an MMS message from a phone, the MMSC automatically provisions a new MMS account on behalf of the subscriber, using the phone number as the unique MMS address (e.g. 14155550303@skara.openwave.com). Select Tools -> Messaging Home from the Phone Simulator pull-down menu. Scroll down and select Compose. In the message composition form, enter any text for the message body (e.g. "This is a test message"). Select Menu (press the soft key under the Menu label), and then select Send from the pop-up menu. In the address form, scroll down to the text entry field, enter your personal email address (e.g. "myname@myisp.com"), and then select Send. ![]() When the MMSC receives the send request, it creates the new MMS account and sends a confirmation MMS to the new address. This results in the MMSC sending a notification message to the Mobile Messaging Client running in the Phone Simulator. The Mobile Messaging Client displays a pop-up message to alert the user that a new message has arrived. To confirm the alert, select YES. This causes the Mobile Messaging Client to download the corresponding MMS message from the MMSC. The MMS message confirming your new MMS account is then displayed on the phone. ![]() 7. Configure the MMS SDK Sample Application
Scroll to the bottom of the send.bat file. You will see two separate commands, both of which invoke MM7MessageSender. Comment-out the first command by inserting the word rem at the beginning of the line. Un-comment the second command by deleting the word rem at the beginning of the line.
rem THIS VERSION OF THE COMMAND IS COMMENTED-OUT rem THIS VERSION OF THE COMMAND IS UN-COMMENTED AND WILL BE INVOKED Be very careful not to insert
any new-line characters between the arguments of a command line (for example,
if you copy/pasted the above text from this page). Each command line
must be one contiguous line, or the trailing arguments after the new-line
character will be treated as a separate command.
rem When you are finished editing send.bat,
save your changes and close the file.
Launch the Windows command interpreter
(select Run from the Windows Start
Menu and enter cmd). Run the send.bat script that you edited in the previous
step, by entering the following commands at the command line prompt: cd c:\openwave\vaspsdk\samples\standalone When MM7MessageSender executes, it first sends the
MMS message request to the MMSC. Then the application waits to receive
a valid response from the MMSC. When the app receives the response,
it prints the response content (in XML) to the command window. If you
look closely at the response content, you will see a 1000
status code indicating that the MMSC successfully received the MMS
message and validated the Client ID. ![]()
![]()
Before you can view the message
content, you must respond to the sender's request for a Read Report.
The Read Report allows the sender to confirm that the endures received the
MMS message. Select Skip to
ignore the request and go directly to the MMS message content. You should
see a single page (composed in SMIL), containing the sample image and caption
text.
|















