1. Installing Maemo SDK 4 HowTo Updated

    I've updated my previous howto that explain how to install [Maemo SDK 4 (Chinook)]{style="font-weight: bold;"}. The other howto was written when Maemo SDK 4 Beta was out, now it's updated to [4.0.1]{style="font-weight: bold;"} version of the SDK.

    You can find it, as usual, on this wiki: http://www.ptlug.org/wiki/Howto_Installing_Maemo_SDK_4

    If you have any suggestion or if you want to give me any idea to improve this howto, please leave me a comment.

    read more

    comments

  2. Android: rilasciata la m5-rc14 dell'SDK

    android_googleI laboratori di Google hanno da poco rilasciato una versione aggiornata di Android, l'SDK che permette di sviluppare applicazioni per i futuri telefonini Google, si tratta della versione m5-rc14.

    Le principali novità di questa release sono le seguenti:

    • Nuova interfaccia utente: anche se si tratta di una versione ancora in sviluppo, è stata aggiornata l'interfaccia grafica di Android.
    • Layout Animations: è stata aggiunta la possibilità di creare animazioni grazie alle classi presenti nel package android.view.animation. Si consiglia di controllare gli esempi presenti nei file LayoutAnimation*.java
    • Geo-coding: il package android.location.Geocoder permette di trasformare un indirizzo in coordinate geografiche e viceversa.
    • Nuovi codec multimediali: è stato aggiunto il supporto per i seguenti formati: OGG Vorbis, Midi, XMF, iMelody, RTTL/RTX e OTA.
    • Aggiornato il plugin per Eclipse: il plugin per eclipse presente alcune novità, in particolare un editor per il Manifesto

    Ulteriori informazioni sulle modifiche alle API, possono essere trovate su questa pagina. Per tutto il resto si rimanda alla pagina principale del progetto Android.

    read more

    comments

  3. wxGTK working on Maemo

    Reading the official WxWidget blog, I discovered that one of their developer was working to hildonize [WxWidgets]{style="font-weight: bold;"}. I wanted to know if that was just a test or if this library could work in Maemo, so I followed his suggestion and I grabbed the latest SVN sources:

    svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets

    and I compiled it in this way:

    cd wxWidgets ./configure --with-hildon make make install

    then I grabbed a simple "HelloWorld" from the official documentation. You can find the complete source code here.

    I compiled the source code in this way:

    g++ hworld.cpp `wx-config --libs` `wx-config --cxxflags` -o hworld

    then I ran it in the usual way:

    run-standalone.sh ./hworld

    The result? I think that a screenshoot is better than thousand words :)


    [N.b:]{style="font-weight: bold;"} I tested this inside Scratchbox, using [CHINOOK_x86]{style="font-weight: bold;"} target, so I think it will work fine on Os2008. This could be a good thing to help other developers porting some interesting applications (uhm... aMule for example ;) ) to Maemo.

    read more

    comments

  4. Installing qemu-arm-eabi patch into Scratchbox

    Using Scratchbox and in particular the Maemo SDK with ARMEL target, very often when we try to execute some application we can get into this kind of errors (for example):

    sem_post: Function not implemented

    This happens because not all the functions have been implemented in the emulated environment.[ Lauro Venâncio]{style="font-weight: bold;"} has created a patched version of qemu-arm called [qemu-arm-eabi]{style="font-weight: bold;"}.

    Thanks to [Marcelo Lira]{style="font-weight: bold;"}, we have a simple howto to install the patch into the Scratchbox environment. [Note:]{style="font-weight: bold;"} you have to execute these commands from outside the Scratchbox environment and you should not be logged into the environment at the same time.

    [1.]{style="font-weight: bold;"} You need gcc 3.4, SDL dev library and Zlib dev:[
    ]{style="font-size: 78%;"}

    sudo apt-get install gcc-3.4 libsdl1.2-dev zlib1g-dev

    [2.]{style="font-weight: bold;"} Get the patched qemu-arm. Notice that the patches are already applied, everything is here, and you don't need to get the qemu sources.

    svn co https://qemu-arm-eabi.svn.sourceforge.net/svnroot/qemu-arm-eabi qemu-arm-eabi cd qemu-arm-eabi ./configure --target-list=arm-linux-user --static make

    [3.]{style="font-weight: bold;"} Copy qemu to the cputransp dir on scratchbox[
    ]{style="font-size: 78%;"}

    sudo cp arm-linux-user/qemu-arm /scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2

    [4.]{style="font-weight: bold;"} Add it to the list of cputransp methods. Open the file[
    ]{style="font-size: 78%;"}

    sudo vim /scratchbox/devkits/cputransp/etc/cputransp-methods

    and add this line:

    qemu-arm-eabi-sb2

    [5.]{style="font-weight: bold;"} Configure the target to use the patched qemu as transparency method. Edit the file:[
    ]{style="font-size: 78%; font-family: courier new;"}

    vim /scratchbox/users/USERNAME/targets/CHINOOK_ARMEL.config

    and change this line:

    SBOX_CPUTRANSPARENCY_METHOD=/scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2

    That's all! You're now ready to log again into your Scratchbox environment.

    read more

    comments

« Page 2 / 3 »

social