使用 SQLite 保存 SoapEnvelope 的最佳方法?
我需要将 SoapEnvelope 保存在 Android 数据库中并从那里加载它。保存不是问题(BLOB 作为数据类型),但我不知道如何序列化 byte[] 数组。
任何关于如何实现这一目标的想法都会很棒!
I need to save the SoapEnvelope in the Android database and load it from there as well. Saving is not the issue (BLOB as datatype), but I don't know how to serialize the byte[]-array.
Any ideas on how to accomplish that would be great!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用了以下网站上提供的方法,效果很好: http://androiddevblog.blogspot.com/2010/04/serializing-and-parceling-ksoap2.html
I used the method presented on the following website, which worked just fine: http://androiddevblog.blogspot.com/2010/04/serializing-and-parceling-ksoap2.html