使用 SQLite 保存 SoapEnvelope 的最佳方法?

发布于 2024-11-25 23:46:41 字数 119 浏览 0 评论 0原文

我需要将 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

临风闻羌笛 2024-12-02 23:46:41

我使用了以下网站上提供的方法,效果很好: 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文