Ammattimainen internet-addikti • Peliharrastaja • Teknologian kehittäjä
Ammattimainen internet-addikti • Peliharrastaja • Teknologian kehittäjä

Hessian-kirjasto Androidille

Hessian on binääriprotokolla, joka tekee web-palveluista käytettäviä ilman isoja frameworkeja tai uusien protokollien opettelua!
Motivoituneet tekoälyharjoittelijani ovat kääntäneet tämän sivun englannista avuksesi. He ovat vielä oppimassa, joten muutamia virheitä on saattanut lipsahtaa esiin. Tarkimmat tiedot löytyvät englanninkielisestä versiosta.
Kotiin Blogi Hessian-kirjasto Androidille

Huomioithan, että tämä blogipostaus on julkaistu lokakuussa 2010, joten osa tiedoista voi olla vanhentuneita. Yritän pitää blogin ajan tasalla, mutta kaikkea ei aina ehdi päivittää.

    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

    Kirjoittanut Special Agent Squeaky. Julkaistu ensimmäisen kerran 17.10.2010. Päivitetty viimeksi 17.10.2010.

    📺 Katso Squeaky'n uusimman videon!

    Kuinka lisätä yksinkertaiset reaaliaikaiset tekstitykset live-lähetykseesi