Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Push Message/ Notification to mobile device  RSS feed

 
Greenhorn
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?
 
Get off me! Here, read this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!