• 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

WMA MIDlets, how do you receive sms without a port no.

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm writing a MIDlet that listens for incoming sms messages. It is listening on port 50000. When I send a sms message from a MIDlet I created that sends a sms message using port 50000 it receives it no problem. But if I send a sms message from a mobile not using this MIDlet then it won't receive it. I think this is because normal sms message aren't sent with a port number or I'm using the wrong one.
How can you interept with port to listen for or what port do all sms message use
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Portless" SMS message is never delivered to the Java runtime. It is always intercepted by the device's native SMS inbox. If your device support accessing the inbox from Java (e.g., JSR 75 or proprietary API), you can get the message by monitoring the native inbox.
 
Ian Strain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Phones that use JSR-75 are very rare are they not? I've only found 2 nokia phones supporting it. Is there a site that lists them all? Whats the proprietary API?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can u tell me which nokia phones that support jsr 75?
thanks.
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nokia 9500 and 6630 support JSR 75.

Most Motorola phones have some sort of proprietary API for inbox access.
 
Yenni Mahardika
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oic, but how can our mobilephone listening for incoming message from any port sending to them?
is there any solution to receive sms from unknown port?
 
Ian Strain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like receiving portless sms messages using a MIDlet can't be done!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic