Alice on SailfishOS

I ported my application “Alice” 0.1 (from BB10) to SailfishOS. The application is used to check the status of growth of children. Obviously, the execution Screenshots have taken on the emulator. The porting was fairly simple. One thing that  has misled me is that BB10 uses  selectedIndex for groupbox instead sailfish use currentIndex. To be an alpha version seems like a good start.

alicep1alicep2alicep3

SailfishOS SDK

Now is available SailfishOS SDK alpha version, the first impression is very good. Developing’ve found a bug in documentation of DatePickerDialog, Vesa-Matti Hartikainen suggest me to change the code in


 Button {
    id: button
    text: "choose a date"
    onClicked: {
       var dialog = pageStack.openDialog("Sailfish.Silica.DatePickerDialog", {
       year: 2012,
       month: 11,
       day: 23
      });

     dialog.accepted.connect(function() {
        button.text = "you chose: " + dialog.dateText
     })
     }
 }

and now it is ok.

This year five Qt/Qml smartphone platform

Ubuntu yesterday presented own mobile platform. Ubuntu mobile has sdk  two sdks, one for the (over pumped) html5 and other with Qt/Qml. Also others platforms have this approach, for example BB10. Jolla will use Qt, furthermore Digia has announced Qt for IOS and Android in this year. All this should to be the dream of every Qt developer. Develop ui with qml (and rewrite it for any platform) and write once the logic in c++ or javascript. Everything can be improved, for example why haven’t same api all platform? I think that this is impossible for various reasons (technical, commercial, etc.) but something can done. Why is hovered in Ubuntu mobile and clicked in BB10 (and other) for the same event? With html5 we have the same api on all platform, thus i think that Qt5 for to be a viable alternative (if not better) to Html5 should change little things. Thanks Digia, Community and all those who develop with qt. I am in the game and I do not like to lose.

Archived: Qt

Portable Body

Martin Fowler talk in this article (“http://www.martinfowler.com/articles/mobileImplStrategy.html” )of portable body (slide 23). He talk thinking a web, i instead think to Qt/Qml, where Qml is the native gui and c++/javascript is the portable body. Is exsisting a benchmark between qml/Qt vs Hybrid(web+native; javascript+native) applications? For me this is an interesting point. If someone wants to help me in this comparison, I would be happy.

Install v-play with OpenSuse 12.2

These days I’m looking for a Linux distribution to replace kubuntu on my laptop. Of course I have to test the operation of all the SDK and tools I use to develop. So I installed the v-play (http://www.v-play.net) dependencies with successfully on opensuse 12.2 with these commands:

  1. zypper install mesa-libgl-dev
  2. zypper addrepo htpp://download.opensuse.org/repositories/games/openSUSE_12.2/ opensuse-games-i586
  3. zypper install libglfw-devel
  4. zypper install freeglut-devel
  5. zypper install libzip-devel