I am working on an Android Web Services program that uses several classes from Sun javax libraries. The Eclipse IDE barks "Trying to include the main class (java. * Or javax. *) In something other than the main library." My application is an Android application, and I am not creating the main library. I use several .jars; javax.xml.ws, javax.xml.bind, javax.xml.soap, javax.xml.rpc and javax.jws. I believe that I cannot use these java-byte codes .jars directly. I will need to use the dx tool to convert them to delvik or .dex bytecode files. I did some additional research and found that using any javax. * Classes in the Android application are prohibited. Can someone explain why? Does their hands-on programming work around?
Thanks Steve
android
Steve mansfield
source share