Menu

#76 Zocalo Servlets

open
nobody
None
5
2013-04-18
2013-04-18
No

Hi, I am a newbie in android programming as well as java. I am supposed to create an android application for zocalo. I am trying to access the zocalo servlets accessed by the jsp files from my java(android) code. Basically I need to replace the jsp files with my android activties. Is there a way to access the servlets from my client code?

Discussion

  • Chris Hibbert

    Chris Hibbert - 2013-04-20

    I don't know how Android Apps want to interface with the web site. The jsp files generate html output.

    Do the android activities make http requests to the web site and retrieve html? Or are you hoping to modify the server so it communicates with the Android some other way? What would the protocol be? RPC? raw IP packets? something else?

     
  • Priyanka Dighe

    Priyanka Dighe - 2013-04-22

    Hi, thanks for the reply. Initially I was trying to write my own servlets in the zocalo source code to replace the jsp files and then let the android code communicate with those servlets. I am using HttpClient to do the same. I am not sure if this is the right approach or if there is other easier way to do this. Please help.

     

Log in to post a comment.

MongoDB Logo MongoDB