Sending MMS From PC To Mobile Using Java

Sending MMS From PC To Mobile Using Java SearchSearch
Author Message
Muzammil
Posted on Wednesday, July 23, 2003 - 12:41 am:   

I would like to develop an application for a project at my university which enables sending .JPG files to a mobile device in real time.

1) Can I use your product do to the same?
2) Can I do this on a UK mobile network, T-Mobile UK or Vodafone UK?
3) If answer to Question 2 is NO, which network would support this if possible?
4) Do you have a Java API for this?

Please Help!
Bryce Norwood - NowSMS Support
Posted on Wednesday, July 23, 2003 - 02:45 pm:   

1.) Yes.

2.) Vodafone UK and O2 UK are no problem. I am unsure about T-Mobile UK.

There are problems sending to Orange UK because their MMS settings do not allow subscribers to receive messages from external MMSCs. The only way to get around this is to reconfigure the settings on the recipient mobile phones to allow external MMSC access. (Or, in our v5.0 release, which is currently in beta testing, it is possible to configure our gateway to submit MMS messages through a GPRS modem ... such that the message is sent through the operator MMSC, and then you can send to Orange subscribers without any problem. However, sending in this way costs more because you are charged the cost of sending this message as an MMS instead of the MMSC direct delivery model where you are only charged SMS costs.)

4.) Sorry, we don't have a Java API. But we have an HTTP-based API, so it is relatively simple to access from different languages. Basically you have to do an HTTP POST (or you can submit the message over an SMTP connection as well).

Here are two links with some more information on the HTTP and SMTP approaches:

http://support.nowsms.com/discus/messages/12/113.html

http://support.nowsms.com/discus/messages/12/85.html

-bn
Muzammil
Posted on Tuesday, July 29, 2003 - 01:59 am:   

I would first like to thank you for replying to my message.

Now I would like you to answer a simple question for me please. I am using Windows XP Professional as my OS. I use the broadband internet, hence I do not require a modem. I have a network in my house where we share internet using a router At the time of installation of nowsms I am asked about the connection type.

1)Which one is the right choice for my SMSC Connection Type?

rich
Posted on Tuesday, July 29, 2003 - 11:59 am:   

hi there
Muzammil
Posted on Tuesday, July 29, 2003 - 02:34 pm:   

Hi!
I thought you I had a solution to my problem!
Anyways, I am waiting for Mr.Bryce Norwood to help me out!
Muzammil
Posted on Thursday, July 31, 2003 - 04:04 am:   

Hi Bryce!

I am using the HTTP Connection to send SMS Messages. I am coming across the following problem.

1) When I try to send a SMS my message cannot be delivered? Whe I check the Event Log I am given
the following error message.

HTTPSMSC: Connection failed, HTTP Status Code = 302.

Can you please help me ASAP!
Bryce Norwood - NowSMS Support
Posted on Thursday, July 31, 2003 - 04:13 am:   

Hi Muzammil,

Sorry for the delay getting back to you.

It sounds like you're connecting to an HTTP SMSC, but what one is it?

What is the URL that you're using?

Assuming that it is an actual SMS service provider, I suspect there is a problem with the URL that you're using.

Try putting the gateway into debug mode ... manually edit SMSGW.INI, and add Debug=Yes under the [SMSGW] section header. Then restart the service. Repeat your attempt to send a message ... and then e-mail the SMSDEBUG.LOG to nowsms@now.co.uk.

-bn
Muzammil
Posted on Thursday, July 31, 2003 - 03:04 pm:   

Hi Bryce!
I was under wrong impression that I would get free access to SMSC using your software. I think I have to subscribe to one now.

1)Does nowsms provide SMSC?
2)If Yes? What are the charges?


-Muz
Bryce Norwood - NowSMS Support
Posted on Thursday, July 31, 2003 - 04:03 pm:   

Muz,

Understood, it's a common misunderstanding.

We don't provide an SMSC. We could probably make some money if we did, but our expertise is more on the software side than services.

For testing, Clickatell is a pretty good option as they don't have any setup fees or minimums. Here's a link that explains how to configure NowSMS for use with the Clickatell service:

http://support.nowsms.com/discus/messages/1/136.html#POST403

-bn
sainath reddy
Posted on Thursday, August 14, 2003 - 09:17 am:   

4MB
Aatif Shah
Posted on Thursday, August 14, 2003 - 09:21 pm:   

Hi ... can i send pictures via internet to my mobile phone ... well my mobile is a Nokia 6610
but the serive i m using hasn't provide me with GPRS connection ...
Hasanur Rahman
Posted on Monday, September 08, 2003 - 04:01 am:   

Hi , i 've a problem which is something same like this. I want to develop an application which is able to send text message from pc to mobile phones as a project of my course. I 'm in Bangladesh using Grameen Phone GSM. Plz help.
Bryce Norwood - NowSMS Support
Posted on Wednesday, September 10, 2003 - 10:33 pm:   

To send SMS messages from a PC via software, you would need to either:

1.) Send messages via an SMS service provider. Typically this would require an account with an SMS service provider, and the provider would support one or more of the following protocols for submitting messages: HTTP, SMPP, UCP/EMI and/or CIMD2.

2.) Send messages via a GSM modem (or GSM phone with the appropriate cable that allows it to be used as a modem). The ETSI GSM 07.05 specification defines extended AT commands that are used to send/receive SMS messages via a GSM modem interface.

-bn
prafulmistry
Posted on Thursday, September 18, 2003 - 01:11 pm:   

sending sms,mms from pc to mobile software
Laurie Dunsire
Posted on Tuesday, October 07, 2003 - 02:20 pm:   

I wish to send java games from my PC to my Motorola T720i, which is on T-mobile. I have downloaded the games and on the sites it claims you can send them to your phone, but how?
Sending images would also be very useful. PLEASE HELP SOMEONE!
Bryce Norwood - NowSMS Support
Posted on Thursday, October 09, 2003 - 08:11 pm:   

Laurie,

Generally speaking, if you want to get a Java game on to your phone, you need to download it via the browser on the mobile phone.

Generally, Java games are stored in a file called a "java archive". It normally has a ".jar" file extension. If you store this file on a web server, and configure the web server to return a MIME type of "application/java-archive" for that file ... then you can download the file from the web server using the browser on the mobile phone.

Sometimes you also encounter ".jad" files with Java apps. These are text files that include a pointer to the actual URL that contains the ".jar" file. If you want to configure a web server to allow a ".jad" file to be downloaded, then the web server needs to return the MIME content type of "text/vnd.sun.j2me.app-descriptor" for the ".jad" file.

-bn
gabriel ndubuisi
Posted on Wednesday, October 15, 2003 - 10:25 pm:   

Hello, I wish to develop a pc to gsm sms software using java. Could you pls list me some sites online that could help me to get started.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 911
Registered: 10-2002
Posted on Thursday, October 16, 2003 - 09:13 pm:   

The ETSI GSM 07.05 specification (available at http://www.etsi.org) documents the AT command for sending/receiving SMS messages via GSM modem.
roland rabara
Unregistered guest
Posted on Friday, October 17, 2003 - 08:53 am:   

is it possible to send mms to a nokia 7650 cellphone via e-mail?
Murugesh
Unregistered guest
Posted on Monday, October 20, 2003 - 02:01 pm:   

Hai All,

I would like to know whether any Java API is available to send SMS from a PC Mobile connected setup from an application. Will it be possible to send to CDMA Mobiles...

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 983
Registered: 10-2002
Posted on Tuesday, October 28, 2003 - 04:32 pm:   

Murugesh,

There may be some Java libraries that implement complete GSM modem handling entirely from the Java library. I don't have any info on any such libraries, so you would have to search the web for more information.

I can explain how this works with our Now SMS/MMS Gateway software product (an evaluation copy of the product can be downloaded from this web site ... http://support.nowsms.com/discus is the home page).

One ore more GSM modems can be connected to the PC running the gateway software, and the software can then send and receive SMS messages over the connected modem(s).

What is a GSM modem?

A "GSM Modem" takes a SIM card, just like a GSM phone. The SIM card holds your identity on the network, and you can put this card into any compatible device.

(You ask about CDMA mobiles, and SIM cards don't exist in the CDMA environment, so the idea of a SIM card may be different to you.)

When you're using a GSM modem, you are billed for the activity on the subscription associated with the modem.

Many GSM phones have in-built modem functionality, so that you only need a serial or USB cable ... or in some cases infrared or bluetooth connection ... to connect it to the PC.

You can send messages to CDMA mobiles through a GSM modem if the GSM carrier through which you are sending the messages has an interoperability agreement with the CDMA carrier that you wish to send messages to. (In other words, if you put the GSM SIM card into a phone, and you can send an SMS message via the phone to a recipient on the CDMA network, then you can do the same thing using the SIM card in a modem and sending SMS via software.)

How do you send an SMS message via the Now SMS/MMS Gateway using Java?

Well, you submit messages via an HTTP GET request, with URL formats explained at the following links:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

To generate an HTTP GET request from Java, you would use the java.net.URLConnection class (or one of the various HttpClient classes available for download on different internet sites).
Anonymous
 
Posted on Monday, November 03, 2003 - 02:38 am:   

hi
can you help me in image sending from computer to any mobile.in vc++. using blue tooth technology.
plz tell me the process of sending image from computer to mobile.
sc
Unregistered guest
Posted on Thursday, November 06, 2003 - 03:47 pm:   

what should i do in order 2 send pic 2 my 7650 mobile through my pc? please help. tnx!
Rafa
Unregistered guest
Posted on Thursday, November 13, 2003 - 04:20 pm:   

Does anybody know how can i receive or send an sms from an application (developed by me) having conneted my mobil phone to my pc?
Thank you
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1117
Registered: 10-2002
Posted on Thursday, November 13, 2003 - 07:24 pm:   


quote:

what should i do in order 2 send pic 2 my 7650 mobile through my pc? please help. tnx!




Get a bluetooth adapter for your PC (if you don't have one built-in), and use the Nokia PC Suite to transfer images. This seems to be the simplest approach for an individual.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1118
Registered: 10-2002
Posted on Thursday, November 13, 2003 - 07:25 pm:   


quote:

Does anybody know how can i receive or send an sms from an application (developed by me) having conneted my mobil phone to my pc?
Thank you




Please refer to the ETSI GSM 07.05 specification, available from http://www.etsi.org. This specification documents the standard "AT commands" for sending/receiving SMS messages.
iipss
Unregistered guest
Posted on Wednesday, November 19, 2003 - 01:16 pm:   

sazzzzzzz
amar phone thik hoise to
phone koro tata
Anonymous
 
Posted on Monday, December 01, 2003 - 11:10 pm:   

cao}}}
maliheh
New member
Username: Dolmehra

Post Number: 1
Registered: 12-2003
Posted on Tuesday, December 02, 2003 - 01:56 pm:   

salam
jeet
Unregistered guest
Posted on Wednesday, December 03, 2003 - 12:33 pm:   

hi jeethow r u?i m fine here
jeet
Unregistered guest
Posted on Wednesday, December 03, 2003 - 12:36 pm:   

how can i send mms to my mobile through my pc in india?
Aaqib
Unregistered guest
Posted on Thursday, December 04, 2003 - 02:58 am:   

hello 2 all !!! can any one help me ??? i've got a Samsung SGH-C100 Mobile n also purchased itz data cable, now im lookin 4 itz software can any buddy tell me from where can i download itz software, i've tried almost every software of samsung. please reply me on : a_a_q_i_b@hotmail.com
TOMAL
New member
Username: Tomal

Post Number: 1
Registered: 12-2003
Posted on Saturday, December 06, 2003 - 02:22 pm:   

hi tomal how ru we r fine}}
eviee
Unregistered guest
Posted on Tuesday, December 16, 2003 - 04:28 pm:   

oucie
i love you
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1434
Registered: 10-2002
Posted on Friday, December 19, 2003 - 10:43 pm:   

This thread seems to be attracting random babble, so it is now closed.