Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Push Message/ Notification to mobile device

Warsito Wiratno
Posts: 2
  • Mark post as helpful
  • send pies
  • 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?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!