Send J2ME through MMS

Send J2ME through MMS SearchSearch
Author Message
Scott
Unregistered guest
Posted on Thursday, January 01, 2004 - 09:08 am:   

Hi Guru,
It is possible to send J2ME Application to Mobile using MMS?
Regards
Need ur help and Happy new year !
yanxh
New member
Username: Yanxh

Post Number: 16
Registered: 11-2003
Posted on Friday, January 02, 2004 - 01:02 am:   

I think it is possible. you can refer to wap-service-indictor and wap-service-load document.

good luck!
rodneyxiao
New member
Username: Xxlin110

Post Number: 15
Registered: 11-2003
Posted on Monday, January 05, 2004 - 02:47 am:   

i think the arch shoud be

url of jad send to the mobile through PUSH SI
then the client get the url and download the jad
then parse the jad and download the jar
so there is no ralationship with mms
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1511
Registered: 10-2002
Posted on Monday, January 05, 2004 - 09:41 pm:   

Scott,

While you could do it with MMS, I would not recommend it. I would recommend using WAP push, as the others are suggesting.

Browsers on the mobile phones are better equipped for receiving Java applications than the MMS clients are.

You would want to use a "service indication (SI)" push.

I would recommend that you generate a push that points to a WML content page, and then includes a link (a href) to your JAR or JAD file. Just make sure that the web server is setup with the proper MIME types (.jad = text/vnd.sun.j2me.app-descriptor, .jar = application/java-archive).

You can use the Now SMS/MMS Gateway (eval download from this web site) to quickly experiment with sending WAP push messages.

-bn
Scott
Unregistered guest
Posted on Monday, January 12, 2004 - 09:50 am:   

Well, I try to do that through my Nokia 6610 Mobile, GSM+GPRS, and I found it can not send SMS with 51 (UDH included message, or some other errors I met.) and For DCS=F4, it can not display the content of message.

And will the NowSMSMMS Gateway support IrDA GSM/GPRS Modem Port on COM5 ?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1585
Registered: 10-2002
Posted on Monday, January 12, 2004 - 09:09 pm:   

Scott,

I'm not sure what you mean by "SMS with 51". Since you mention UDH, I'm guessing maybe that you are referring to "51" as the first bytes of the SMS PDU, which means that UDH is present, and the validity period is present.

NowSMS shouldn't have any problem with an IrDA modem, as long as you have the drivers setup that allow the modem to be visible as a standard COM port.

-bn
Scott Yaung
New member
Username: Gzscott

Post Number: 2
Registered: 01-2004
Posted on Tuesday, January 13, 2004 - 09:02 am:   

Bryce,
Yes, that is what I mean, I try to send code from IrDA to my nokia 6610 mobile, but for the First Byte as 51, it will not sucessful , and if DCS is F4, it will not display the SMS Content in the pdu, just say the message can not display. when I try to send the same message to Ericsson T39, it can display well. Any suggestion for it?

Regards
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1602
Registered: 10-2002
Posted on Tuesday, January 13, 2004 - 06:10 pm:   

Perhaps your PDU is formatted incorrectly. Try 41 which would mean UDH is present, but there is no validity period parameter.

DCS is usually set to F5 or 04.

I've never tried F4. I wouldn't expect that value to cause a problem, I just haven't seen it used before. Try one of the other DCS values, but I suspect that if that doesn't address the issue then you have some other sort of encoding issue in the actual SI data. Some phones can be more tolerant than others of encoding errors.

-bn
priya
Unregistered guest
Posted on Thursday, February 19, 2004 - 07:14 am:   

how can we find the port number in mobile that is listening incoming messages?
Scott Yaung
New member
Username: Gzscott

Post Number: 10
Registered: 01-2004
Posted on Thursday, February 19, 2004 - 08:02 am:   

You can search WAP documents
yanxh
New member
Username: Yanxh

Post Number: 20
Registered: 11-2003
Posted on Friday, February 20, 2004 - 02:23 am:   

HI,priya,
you can listen on port 2948 for incoming push message.
good luck!