This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes SMS-based Push Registry and Networking Probelm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "SMS-based Push Registry and Networking Probelm" Watch "SMS-based Push Registry and Networking Probelm" New topic
Author

SMS-based Push Registry and Networking Probelm

John Gluestorm
Greenhorn

Joined: Jul 30, 2009
Posts: 2
Hi, everyone

I'm trying to build an application that involves PushRegistry, JSR-179, and HTTP Connection.

It goes like this:

phone A wanted to know about phone B's whereabout. To do so, it needs to activate a MIDlet that has been installed inside of phone B using Push Registry. The MIDlet in phone B would later acquire it's coordinate position using a built-in GPS and the Location API and return 'lat' and 'lon' value. Since not everyone could read coordinates, I wanted to translate those coordinates into an address name (reverse geocoding). To do so, I need it to connect to the internet via HTTP connection.

The problem I'm facing is: Before I added the HTTP connection function, it worked just fine when I use push registry to activate the MIDlet in phone B. It brought me to the MIDlet page. But after I added the HTTP connection function, it won't display me the MIDlet page. Where did I go wrong? What should I do? please help


regards

-John
 
Don't get me started about those stupid light bulbs.
 
subject: SMS-based Push Registry and Networking Probelm