J2me

J2me SearchSearch
Author Message
siraj
Unregistered guest
Posted on Wednesday, January 28, 2004 - 10:21 am:   

i am developing a simple curriculum project in j2me
how can i send sms from pc to my mobile. the mobile has connected with the pc by a cable
iam using j2me wireless toolkit
could u help me
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1739
Registered: 10-2002
Posted on Wednesday, January 28, 2004 - 06:56 pm:   

If the mobile has an inbuilt modem capability, you can send an SMS message using the phone as a modem. (Note that even though you are sending an SMS message to yourself, you will be charged for sending a regular SMS by your mobile operator.)

Our Now SMS/MMS Gateway software can be configured to send messages through a GSM modem.

The GSM modem interface is AT command based, and the commands are defined in the ETSI GSM 07.05 specification, available download from http://www.etsi.org.

-bn
yuvraj
Unregistered guest
Posted on Monday, March 15, 2004 - 05:00 am:   

how can i send,read sms from mobile connected to pc with cable (serial ,USB).
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2089
Registered: 10-2002
Posted on Monday, March 15, 2004 - 04:58 pm:   


quote:

how can i send,read sms from mobile connected to pc with cable (serial ,USB).




The earlier message in this thread (to which you replied with this question) provides an answer to this question.

Perhaps that answer is not clear enough? In which case I will repeat that answer with some additional clarification.

If the mobile has an inbuilt modem capability, you can send an SMS message using the phone as a modem. (Note that even though you are sending an SMS message to yourself, you will be charged for sending a regular SMS by your mobile operator.)

Our Now SMS/MMS Gateway software can be configured to send messages through a GSM modem. You can download an evaluation copy of NowSMS from this web site (http://www.nowsms.com/downloads/smsmmsgateway.htm). You configure NowSMS to send/receive messages using the GSM modem as an SMSC connection, and then you can interface with NowSMS over HTTP to send/receive messages.

The interface for sending messages is described in 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

The interface through which received messages are sent to your application is also HTTP based, and is described in the following link:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

If you are attempting to develop your own software to directly interface with the phone as a modem, you issue special "AT commands" to send/receive SMS messages. Those commands are documented in the ETSI GSM 07.05 specification, which can be downloaded from http://www.etsi.org.

-bn
Karla Reyes
Unregistered guest
Posted on Thursday, March 18, 2004 - 09:41 am:   

hi,

i am developing a j2me application which can view open office email attachments on a mobile phone. i am using jwsdp1.3 as my server, apache james as a mail server and sun one studio for j2me. i am connecting to an imap store to view my inbox folder on my webmail.

i have tested my application only with the j2me toolkit.

how can i connect the gateway with my application and with the server?

how can i configure nowsms as a gateway to test it on a real gsm phone? how will i configure the gateway to "log-in and view my inbox" from the gsm phone?


thanks..
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2166
Registered: 10-2002
Posted on Thursday, March 18, 2004 - 08:40 pm:   

Hi,

To be honest, I'm not sure how NowSMS fits into your configuration. What are you trying to accomplish? To submit an SMS message through NowSMS?

-bn
Karla Reyes
Unregistered guest
Posted on Monday, March 22, 2004 - 05:05 am:   

hi,

yes. what i need to do is to

1. send an sms query asking for connection and 2. receive an sms message that tells that the server is accessible from the phone through nowsms...

is it possible with nowsms? what are the needed configurations?

thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2190
Registered: 10-2002
Posted on Monday, March 22, 2004 - 05:49 pm:   

Hi Karla,

Do you want to send an SMS to your J2ME application (J2ME app running on the phone)?

Normally, you would send the SMS message to a particular SMS port that the app is listening on.

The discussion over in this thread talks about this:

http://support.nowsms.com/discus/messages/1/2008.html

Basically, you send a binary SMS message, specifying a user data header (UDH) of:

060504xxxxyyyy

Where xxxx is the destination port in hex, and yyyy is the source port in hex. (If the source port is not important, replace it with 0's.)

Then include the text of your message in the "Data" field (and NowSMS v5.01 or later will autodetect that the data is text instead of binary data).

NowSMS is just middleware ... note that you do need an SMS connection defined to NowSMS in order to actually send/receive messages (http://www.nowsms.com/support/faq.htm#WhatdoIneedtoinstallyoursoftware).

-bn