This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a problem to get phone IP address. I opened a serverSocket connection, and called the method getLocalAddress(). What I got is 127.0.0.1. Could someone help me to figure out how to get cellphone address using J2ME please?
Joined: Jul 15, 2004
If phone IP address couldn't be got, how could external program connect to a serverSocket in cellphone?
Originally posted by Allen Chao: If it is the provider or proxy problem, is there a workaround to connect to a socketserver from outside?
No, even if you do find a workaround, it is probably illegal and breaches your service contract. The best way to push connections to the phone is via a SMS message addressed to a specific port listened by the Java app.