aspose file tools*
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 Spring in Action 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
Author

android mobile application and java

karthika selvaraj
Greenhorn

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?

Regards,
Karthika
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
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
hi

It is Socket Connection, passing a string from TCP server to the main activity in android application.

http://www.coderanch.com/t/520628/Android/Mobile/pass-string-TCP-server-Runnable
 
 
subject: android mobile application and java