Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Push Message/ Notification to mobile device

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing messaging application between PC (using Servlet) and mobile phone (using J2ME), with HTTP protocol via GPRS.
I has a problem in send notification to client when they got a new message.
I just test at emulator J2ME WTK 2.0. I use the ServerSocket fiture to create the client address (urlclient and port number) and run successfully.

But, when I test to Motorola C381 apear an error message,

java.lang.IllegalArgumentException: No port number in

What wrong?

Does posible implement the ServerSocketConnection to the mobile device?if posible who has authorization to create url address of every hand phone/ mobile device?

I'm still confusing about it?
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic