Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sanjay ramaswamy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .

 
Soumya Rout
Ranch Hand
Posts: 49
Java Java ME Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have configured the PUSH Registry properties in the JAD ?

e.g:- MIDlet-Push-1: sms://:50001,RecieveMidletName,*
 
sanjay ramaswamy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
Java Java ME Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
Java Java ME Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try in Different midlets. Means in 1 you put the sender and in another put the receiver.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic