Need at way to communicate with server


Last Updated:

  1. glypher

    glypher New Member This Topic's Starter

    Joined:
    Jan 15, 2010
    Messages:
    1
    Likes Received:
    0
    Hi

    I have a server that i want to communicate with, over wifi. My HTC hero(Client) vill only work as a user interface. I need to trigger som methods on the server when I am pressing diffrent gui buttons on the android.

    Witch way is the best to solve this?


    On the server I have a glassfish service if that is to any help.

    Any help is appreciated
     

    Advertisement
  2. JoshKraker

    JoshKraker Member

    Joined:
    Dec 3, 2009
    Messages:
    21
    Likes Received:
    0
    The way I've always done this is to make a web page that I call using HttpURLConnection(). In the web page code-behind, I do whatever I need to in the begin request handler.
     

Share This Page

Loading...