开发者

Problem using ksoap2 with Android

开发者 https://www.devze.com 2023-01-06 03:11 出处:网络
I thought I\'d have a crack at building an Android app having not done any Java for five years (I\'ve been living in MS land).

I thought I'd have a crack at building an Android app having not done any Java for five years (I've been living in MS land).

So my first project was supposed to be something easy. A simple login form that calls a WCF service that I already have from another project.

So I got the whole thing set up OK in Eclipse and the app is runn开发者_如何学Pythoning in the AVD. I have also identified that I need ksoap2 for soap communication as Android devices are constrained.

I have what is likely to be a simple problem, however. When I run the app and attempt to simply create a new instance of the ksoap2 PropertyInfo class I get a whole bunch of ClassNotFoundExceptions for things like java.awt.Container and java.applet.Applet.

I'm obviously setting up my build path wrong somehow but can't figure it out.

BTW, I' using ksoap2 v2.4 from http://code.google.com/p/ksoap2-android/


I figured out the problem myself. It seems it was actually an issue in ksoap2 2.4.

I downloaded and used v2.3 and had no problems at all. Something to be aware of I guess.


Please try the latest 2.5.1 release and report and problems on the issue tracker or the mailing list.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号