Problems using the EWS Java API on Android

前端 未结 3 1098
长发绾君心
长发绾君心 2020-12-31 13:47

I am trying to use the EWS Java API v1.1.5 (http://archive.msdn.microsoft.com/ewsjavaapi) in an Android application, and have run into a number of issues. I downloaded the s

3条回答
  •  天涯浪人
    2020-12-31 14:16

    This isn't a useful answer but I've also been struggling to look at the EWS API over the last couple of weeks, with no success. The main issue I've found is it references a lot of the javax APIs which aren't on Android. There's a hack you can find that explains how to "re-class" these but I've not got it working yet; in addition, the DnsClient references some namespaces that jarsearches only return for rt.jar - the main runtime. And including this in an Android app would just be crazy!

    Before finding the API I was trying to use KSOAP to communicate with EWS but again ran into problems - you need to be able to do NTLM and SSL and I couldn't find any way of combining all these with KSOAP in any simple way.

    The EWS API looks the way to go (why re-invent the wheel) but getting it working on Android looks very tricky (if not impossible)

提交回复
热议问题