I’m thinking if is usefull to use autologin pattern for mobile application. If i have a application that has need of authentication, is correct to give to user the possibility of auto login and to give to user the possibility to disable this function ?
A browser that remembers authentication info isn’t more secure (for me).
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.
LimeSurvey and Centos 6.2
If your LimeSurvey installation dosen’t send email (send e-mail failure) i suggest:
- verify
httpd_can_sendmail
with/usr/sbin/getsebool httpd_can_sendmail
- if
httpd_can_sendmail
is off to dosudo setsebool -P httpd_can_sendmail 1
The -P option is for persistent, otherwise next boot you must set it
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.
VMware and fedora
If Vmware Player on Fedora (i have fedora 17) doesn’t found kernel header (but you have installed it!),i suggest:
- cd /usr/src/kernels/$(uname -r)/include/linux/
- sudo ln -s /usr/include/linux/version.h version.h
- sudo /usr/bin/vmware-modconfig –icon=vmware-player –appname=VMware
Good luck ;
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.
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.
Compile Object-C on Linux
To compile simple object-c program on linux run:
gcc `gnustep-config –objc-flags` one.m -o one -I /usr/include/GNUstep/ -lgnustep-base
V-Play engine running on nemomobile
i have builded CarChallenge demo of v-play engine on N9 and i pushed the binary on N900 with nemomobile and the result is good. Look the video:
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:
- zypper install mesa-libgl-dev
- zypper addrepo htpp://download.opensuse.org/repositories/games/openSUSE_12.2/ opensuse-games-i586
- zypper install libglfw-devel
- zypper install freeglut-devel
- zypper install libzip-devel