• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Hessian Client on Android

krishna.c

Newbie
Hello,

I created an Android project and added the two programs (shown below). When I run the project, the console shows that the below example has been loaded onto the Emulator. But I don't see my application as an icon on the AVD(android virtual device). Why so?

______________________
package example.ex;

public interface Basic {
public String hello();
}
______________________


_______________________________________________
package example.ex;

import example.ex.Basic;

import com.caucho.hessian.client.HessianProxyFactory;

public class BasicClient {
public static void main(String []args)
throws Exception
{
String url = "http://www.caucho.com/hessian/test/basic";

HessianProxyFactory factory = new HessianProxyFactory();
Basic basic = (Basic) factory.create(Basic.class, url);

System.out.println("Hello: " + basic.hello());
}
}
_____________________________________________________
 
Back
Top Bottom