I've been attempting to utilize the java SDK on the android platform, but have run into an issue where the java.rmi is not included in the version of java that the android utilizes. Does anyone know of a good way to integrate the SDK for Java on the Android due to the limitation above?
The type java.rmi.RemoteException cannot be resolved. It is indirectly referenced from required .class files
si = new ServiceInstance(new URL("https://ip/sdk"), "user", "password", true);
The import java.rmi cannot be resolved
I am seeing the same problem. I am calling vijava (vsphere SDK for java) from a stand alone java program. It is working perfectly fine.
I have created an android application. Calling the VM service instance from android application gives the same error.
ServiceInstance si = new ServiceInstance
(new URL(Config.getVmwareHostURL()), Config.getVmwareLogin(), Config.getVmwarePassword(), true);
Pl help me with the solution. I have added the JAR file vijava2120100824.jar in my android application build path (eclipse IDE).
Appreciate your input.