Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. connecting android app to server

connecting android app to server

Scheduled Pinned Locked Moved Mobile
questionjavaandroidsysadmintutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    williamroma
    wrote on last edited by
    #1

    hi i have an android application and i want to connect it to a server (java server ) i know how to connect J2ME client to a server can i do the same thing with android? or there is another way (so what is it ) ? is there any tutorials (even videos ) for that thank you very much

    P 1 Reply Last reply
    0
    • W williamroma

      hi i have an android application and i want to connect it to a server (java server ) i know how to connect J2ME client to a server can i do the same thing with android? or there is another way (so what is it ) ? is there any tutorials (even videos ) for that thank you very much

      P Offline
      P Offline
      parths
      wrote on last edited by
      #2

      Depending on what kind of connectivity you're trying to achieve: If you mean connecting via raw sockets, Android java supports the java.net[^] package. For accessing SOAP web-services there is an open source project[^] which you can use in your application (of course, after you check the licenses to make sure you comply). Last I tried it, it still had issues, but it might be better now. You can search google for a bunch of tuts. Google showed me this[^] among others when I searched for http client programming, but I haven't used it, so I wouldn't know much about it.

      "It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups