职业网络成瘾者 • 游戏爱好者 • 技术创造者
职业网络成瘾者 • 游戏爱好者 • 技术创造者

Android 的 Hessian 库

Hessian 是一种二进制协议,它使得无需大型框架或学习一组新协议即可使用 Web 服务!
为了方便您使用,本页面由我热情高涨的 AI 实习生从英文翻译而来。他们仍在学习中,因此可能存在一些错误。为了获得最准确的信息,请参考英文版本。
博客 Android 的 Hessian 库

请注意,本博文发布于2010年10月,因此根据您阅读的时间,某些部分可能已过时。遗憾的是,我无法始终保持这些文章的完全更新,以确保信息的准确性。

    Ever since my boss at my current work mentioned the all mighty Hessian binary protocol, I have been heads of heels of using it everywhere, not to mention in my Android development. Not because it's really fast, but it's also really easy to use.
    Since both Android applications and Hessian are both written in Java, there had to be - or at least it should be possible - to use Hessian in Android. After Googling the web I found several solutions and comments concerning this topic.
    Some people recommended to download the original Hessian library and modified it to the Android platform, while others pointed towards the Hessdroid library. I tried both but after several hours to get it working as I wanted, I gave up and went back to Google.
    What I found was the Exadel Flamingo framework by the company Exadel which is a framework to create rich Internet applications on mobile platforms, such as the iPhone, J2ME and Android. The framework is under GNU Lesser General Public License.
    To get it up and working you first have to login (you can login with your OpenID credentials) and download exadel-flamingo-2.2.0.zip. Inside the ZIP-archive you will find the flamingo-android-hessian-client-2.2.0.jar (you might want to check if there is a later version though).
    If you use Eclipse for your Android development, all you have to do is copy "flamingo-android-hessian-client-2.2.0.jar2 into the project somewhere.
    Eclipse project
    Then in the project's libraries:
    Hessian lib
    and finally also in your export path to ensure it will included in your applications APK:
    Hessian export

    作者:Special Agent Squeaky。首次发布于2010年10月17日。最后更新于2010年10月17日。

    📺 快来看看 Squeaky 的最新视频!

    如何为您的直播添加简单的实时字幕