Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMS-based Push Registry and Networking Probelm

 
John Gluestorm
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic