1. Check out our app, Forums for Android! Download and leave feedback here!

Need at way to communicate with server

Discussion in 'Application Development' started by glypher, Jan 15, 2010.

  1. glypher

    glypher New Member
    Thread Starter
    5

    Jan 15, 2010
    1
    0
    5
    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
    15

    Dec 3, 2009
    21
    0
    15
    Software Engineer, AmTrust Financial Services Inc.
    Bath, OH, USA
    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...