• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Java ME Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Java ME Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Java ME Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try in Different midlets. Means in 1 you put the sender and in another put the receiver.

 
reply
    Bookmark Topic Watch Topic
  • New Topic