Професійний інтернет-залежний • Ігровий ентузіаст • Технічний творець
Професійний інтернет-залежний • Ігровий ентузіаст • Технічний творець

Бібліотека Hessian для Android

Hessian — це бінарний протокол, який дозволяє використовувати вебсервіси без великих фреймворків і без необхідності вивчати нові протоколи!
Цю сторінку було перекладено з англійської мови моїми високо мотивованими стажерами зі штучного інтелекту для вашої зручності. Вони все ще навчаються, тому могли бути допущені деякі помилки. Для отримання найточнішої інформації, будь ласка, зверніться до англійської версії.
Дім Блог Бібліотека Hessian для Android

Зверніть увагу, що цей допис у блозі було опубліковано у жовтні 2010 року, тому залежно від того, коли ви його читаєте, деякі його частини можуть бути застарілими. На жаль, я не завжди можу повністю оновлювати ці дописи, щоб забезпечити точність інформації.

    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. Вперше опубліковано 17.10.2010. Останнє оновлення 17.10.2010.

    📺 Перегляньте останнє відео від Squeaky!

    Як додати прості субтитри в режимі реального часу до вашого прямого ефіру