aspose file tools*
The moose likes Java Micro Edition and the fly likes Not able to Receive sms messages in my emulator over port 50000 but able to send Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Not able to Receive sms messages in my emulator over port 50000 but able to send " Watch "Not able to Receive sms messages in my emulator over port 50000 but able to send " New topic
Author

Not able to Receive sms messages in my emulator over port 50000 but able to send

sanjay ramaswamy
Greenhorn

Joined: Feb 11, 2009
Posts: 29
I am using netbeans and nokia s40 6th edition sdk . while this app is running in netbeans, i open wma console in wireless toolkit utility and send a message from it on port 50000 with the emulator's phone number but unfortunately it does not receive messages .



"People who are unable to motivate themselves must be content with mediocrity , no matter how impressive their other talents " -Andrew Carnegie
Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

Have configured the PUSH Registry properties in the JAD ?

e.g:- MIDlet-Push-1: sms://:50001,RecieveMidletName,*
sanjay ramaswamy
Greenhorn

Joined: Feb 11, 2009
Posts: 29
Soumya Rout wrote:Have configured the PUSH Registry properties in the JAD ?

e.g:- MIDlet-Push-1: sms://:50001,RecieveMidletName,*


Not sure how to do it in netbeans for my application .

Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

Ok do one thing. Open your JAD file
It should be like


To add these properties in netbeans follow the steps,

1. Go to project Properties. (Right click properties)
2. Find the Application Descriptor section from the category
3. You will get the 4 tabs. Chose the respective tab and add the respective properties.



Then build the project. And reopen the JAD. After doing these things try to run your SMS app. It should work now.
sanjay ramaswamy
Greenhorn

Joined: Feb 11, 2009
Posts: 29
Soumya Rout wrote:Ok do one thing. Open your JAD file
It should be like


To add these properties in netbeans follow the steps,

1. Go to project Properties. (Right click properties)
2. Find the Application Descriptor section from the category
3. You will get the 4 tabs. Chose the respective tab and add the respective properties.



Then build the project. And reopen the JAD. After doing these things try to run your SMS app. It should work now.


Great!!! The jad file has now the same info as you mentioned but i am not able to create two instances of the same application .

my application has code to receive sms which is running in one thread throughout the application and one more thread to send sms .

so the problem is "Nokia Connectivity Framework could not get a phone number. SMS between SDK's will not be available. Terminate all SDKs.Then stop NCF(Nokia Connectivity Framework) using system tray and restart NCF using start menu "

I want one instance to send a message and one to receive ???
Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

Try in Different midlets. Means in 1 you put the sender and in another put the receiver.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to Receive sms messages in my emulator over port 50000 but able to send