Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
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 .

 
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.

 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!