Dom parser in android 4.0 API

后端 未结 1 508
死守一世寂寞
死守一世寂寞 2021-01-24 06:52

My Problem is Dom Parser is not working in Android 4.0 but it\'s working on 2.2, if i run the project in my 4.0 emulator than below line not execute and this is not give any err

1条回答
  •  鱼传尺愫
    2021-01-24 07:42

    Why don't you use

    response.getPropertyAsString(index);
    

    or

    response.getPropertyAsString("PROPERTY_NAME");
    

    ?

    But you still would like to use Dom parser, you can use HttpTransportSE.responseDump to get response in XML format and try parsing XML instead of ksaop2's response format.

    0 讨论(0)
提交回复
热议问题