my dog learned polymorphism*
The moose likes Android and the fly likes android mobile application and java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "android mobile application and java" Watch "android mobile application and java" New topic

android mobile application and java

karthika selvaraj

Joined: Jul 26, 2008
Posts: 7
Hi Friends,

I am new to android technology. I want to know whether an android application can be connected to web application which is created using j2ee. How to implement this? Can I get some reference links and code examples?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41046
Depends on what you mean by "connect". Android has a full complement of communication APIs, including sockets (for raw TCP/IP) and the HttpClient library for HTTP.

Ping & DNS - my free Android networking tools app
kumar mdu
Ranch Hand

Joined: Jan 04, 2011
Posts: 59

It is Socket Connection, passing a string from TCP server to the main activity in android application.
I agree. Here's the link:
subject: android mobile application and java
Similar Threads
IS there a way to configure error page for android application?
Sample Android Application
Mobile for Android 3.1 version