File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 42959
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.
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
It's not a secret anymore!