Posts tagged nokia

QDetroBro: Experimenting with Qt on S60

The best way to learn a new language or a new framework is to find an idea and implement it. So I’m doing for Qt on S60. So I decided to implement a dummy browser that has some smart/attractive/peculiar/interesting/funny bits. QDetroBro

Because I’m lazy to package and attach code, and because is always good the evolution of a project from the ground-up, I decided to post it on my GitHub account. You can find it at: http://github.com/detronizator/QDetroBro/tree/master.

It passed through 3 major phases:

  1. v0.1-beta – Ultra-dummy browser with very “boring” UI. The entire code was in only 1/2 classes (power of Qt and Signal-Slots). Commit: f49bd…
  2. v0.2-beta – A lot of interesting new bits, like Animations, Stylesheet-themed Widgets and so on. Commit: dae20…
  3. v0.2.2-beta – The current release. Commit: 240c5…

If you want to take a look at it to see what Qt on S60 can enable, please do. You can download the latest build from here.

Ah, of course there are requirements to run Qt code on S60. You find what to install on your phone here (“Demos for your S60″ section).

Snippet: fix Screen Orientation in a Qt/S60 app

I follow the Qt/S60 Mailing list, that is turning out to be a very interesting and active ML, and the Qt Labs blog, always full of very good code, written directly by the guys of Qt Software. I thought could be nice to start to post some of the stuff I’m learning.

#include <eikenv .h>
#include <eikappui .h>
#include <aknenv .h>
#include <aknappui .h>
// ...
// lock orientation
CAknAppUi* appUi = dynamic_cast<caknappui *>( CEikonEnv::Static()->AppUi() );
if ( appUi )
{
   appUi->SetOrientationL( CAknAppUi::EAppUiOrientationPortrait );
}
// ...

Today’s source is: Nokia Forum.

«Mom, I want to do Open Source too…»

After I received an email, this imaginary story came to my mind:

Kiddo>Mom, my friend G. Android came today at school and said “he is Open Source and it’s cooooool”. Not everyone understood in it and ignored him. Then we all got it, and he became very popular. Can I do it too? Pleeeeeease!!!
Mom>Ok S. Symbian, but don’t forget that you need to explain IP, binary compatibility, Active Objects, Descriptors… and you can’t give away all the secrets of your mommy away to those Open Source folks.
Kiddo>But moooom, this is not really…
Mom>Hey young man! This is my house and I say what you can do and can’t do. You do Open Source, but in my way! Nokia way!

The email was the 3rd or so in which Symbian Foundation guys apologize about something that doesn’t work or is missing from the website. Sometimes is the login, sometimes is the registration, sometimes is Mercurial…

I’ll never forget how many time I repeated to all the folks in Symbian (while the Nokia “Open Sourcing Plan” was rolled out): «Saying you are Open Source, doesn’t make you so. You need to know HOW to be Open Source: just giving the code could be not enough».

Note: I know this post is going to “piss off” a lot of guys in (and out) the Foundation, but… this is another part of being Open Source: understand critics, learn from them and get better at what you do. ;-)

Not Dead, Just Busy!

Busy Icon No, I’m not Dead. I’m just “very Busy” guys ;)
A lot of things are happening at the same time: as soon as I have more time I’ll speak about it.

I’ll just make a list of things I would like to speak about… if I would have time to do so:

But… I’ll just keep doing what I’m doing.
See you soon ;)

Nokia should Learn, not Teach

From Slashdot:

Nokia Urges Linux Developers To Be Cool With DRM


superglaze writes in to note that according to Nokia’s software chief, its plans for open source include getting developers to accept things like DRM, commercial IP rights, and SIM locks.

«[Ari] Jaaksi admitted that concepts like these “go against the open-source philosophy,” but said they were necessary components of the current mobile industry.
“Why do we need closed vehicles? We do,” he said.
“Some of these things harm the industry but they’re here [as things stand]. These are touchy, emotional issues, but this dialogue is very much needed. As an industry, we plan to use open-source technologies, but we are not yet ready to play by the rules; but this needs to work the other way round too.”»

So, Nokia wants to EAT using the knowledge and the software that the Open Source Community created… and, at the same time, change it’s culture and impose concepts that are COMPLETELY against the Open Source “philosophy” itself. Interesting…
Instead of learning of the quality of what the Open Source community is capable of doing using a development model built around “equality and quality”, they want to teach/impose? And to who? To the Trolltech employee? They are free to do so… but this does not mean that the rest of the Community will change its mind.
QT? There is KDE that has a foundation to protect it PLUS there is always the Fork option ;-) .
Think about XFree86 and X.org: nowdays they lost all the users… because of the stupid decision of changing the license.

Sorry mates, this is not the right way. And now you are not the only player any more: still the biggest… but this is changing, and the Q4-2007 + Q1-2008 says that more than anything else.

Source: Pollycoke.

The Morph Concept

An impressive video from the Nokia Research Center: it shows a concept technology called “Morph” based on the usage of NanoTechnology for mobile devices (I feel that continue to call them “phones” is becoming very reductive).

Nokia - The Morph Concept

I’m sorry I can’t embed the video in this post: you can find it here.