You Are Here:

Community: Developer Discussion Boards

#1 Old Receive SMS but... - 2009-11-03, 21:35

Join Date: Mar 2003
Posts: 3
joes
Offline
Registered User
Hi, (my english is bad,excuse me)...my question is this: if I try to send a SMS (on Netbeans, with device emulator) with a specific port number to the MIDLet, it work very good, receive the sms and work. But if I try in a real phone and receive the sms from another SIM Card (example a GPS Tracker) then without a port the MIDlet, it don't work.

Any answer? :)
Thanks!
Reply With Quote

#2 Old Re: Receive SMS but... - 2009-11-03, 21:49

Join Date: Oct 2009
Posts: 34
cuijartija's Avatar
cuijartija
Offline
Registered User
Welcome Joes,

Java ME only can send SMS from real inbox, you cant read inbox almost a port be specified.

Quote:
But if I try in a real phone and receive the sms from another SIM Card (example a GPS Tracker) then without a port the MIDlet, it don't work.
I dont understand this, i don't speak english very well too, i am mexican (i speak spanish)

But if you try to send SMS from other phone you need configure the port sending in that mobile and the midlet will be run on the recpetor phone.


Le Cuije
Reply With Quote

#3 Old Smile Re: Receive SMS but... - 2009-11-04, 06:01

Join Date: Dec 2008
Posts: 165
Location: Mumbai
Send a message via Skype™ to prajapati.ajay
prajapati.ajay's Avatar
prajapati.ajay
Offline
Regular Contributor
hi frnd

if you are sending sms on particular port number then you should install application to recieve that message on same port number.

because if you are sending message on your definded port number then it wont go into Inbox.


thanks


Ajay Kumar
J2ME Mobile Software Developer
Aamchi Mumbai,India
Reply With Quote

#4 Old Smile Re: Receive SMS but... - 2009-11-04, 14:13

Join Date: Mar 2003
Posts: 3
joes
Offline
Registered User
Hi, thanks for your answer.
I try with an example.

I have a phone with the MIDlet installed and a GPS tracker with only a SIM Card and GPS Antenna, then 2 device.
If I send a SMS from SIM Card inside the GPS Tracker to the phone with the MIDLet initialized to receive a SMS, the MIDLet don't intercept it because I send the SMS without port number and it (the sms) wont go into inbox.

I believe that every sms is without a specific port number if it sent form a phone or another device with GSM Module.

I hope I was clear.

Thanks.
Reply With Quote

#5 Old Smile Re: Receive SMS but... - 2009-11-04, 14:50

Join Date: Dec 2008
Posts: 165
Location: Mumbai
Send a message via Skype™ to prajapati.ajay
prajapati.ajay's Avatar
prajapati.ajay
Offline
Regular Contributor
hi frnd

if you send sms by using port number 0 then it will go into device's inbox..


thanks


Ajay Kumar
J2ME Mobile Software Developer
Aamchi Mumbai,India
Reply With Quote

#6 Old Re: Receive SMS but... - 2009-11-06, 14:27

Join Date: Mar 2003
Posts: 3
joes
Offline
Registered User
oh, thanks,
but I can't send a sms specifyind the port number because the tracker can't set the port.
Any advice?

Thanks
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Receive Sms in j2me xypnoss Mobile Java Networking & Messaging & Security 3 2009-07-28 08:36
How to receive concatenated SMS mrhuman1984 General Messaging 0 2009-01-28 02:59
How I receive SMS delivery report in Java? miroska Mobile Java General 3 2006-03-21 17:57
How I receive SMS delivery report in Java? miroska Mobile Java Networking & Messaging & Security 0 2006-03-20 15:36
how to read sms from inbox? (not receive sms) cormen General Symbian C++ 9 2004-03-24 08:53

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia