Sunday, May 20, 2012

Setting up qt-components "devel environment"

I have been fighting myself a lot about how to start learning QML and contributing to QML/qt-components based application in Nemo Mobile. I tried to use qt-creator some time ago, but that didn't work out as I would have liked it to (read was not so simple that I would have though, as Nemo isn't official target). After discussing with some of the community developers decided to try out to just compile applications manually on my desktop env and then run apps on there and try what my modifications did and later package for the real environment. So here is what I finally did..

First I needed to install qt-development tools for the linux distribution I have currently installed, i.e., openSUSE 12.1. So I needed to install libqt4-devel package:
sudo zypper install libqt4-devel
Then it was time to get the qt-components, which can be found from gitorious. So get them from there and install:
git clone git://gitorious.org/qt-components/qt-components.git
cd qt-components
./configure -meego
make
sudo make install
cd ..
Then it was time to get themes working for the qt-components. For this I installed first the base theme called meegotouch-theme:
git clone git://gitorious.org/meegotouch/meegotouch-theme.git
cd meegotouch-theme
qmake
sudo make install
cd ..
And then I installed the actual theme. For this I used the default theme that is provided also in Nemo Mobile called meego-handset-theme-darko:
git clone https://github.com/jpavelek/meego-handset-theme-darko.git
cd meego-handset-theme-darko
sudo mkdir /usr/share/themes/darko
sudo cp -r meegotouch/ index.theme /usr/share/themes/darko/
sudo cp -r blanco/ /usr/share/themes/
# Blanco has links to meegotouch which we add from darko theme
sudo ln -s darko/meegotouch /usr/share/themes/meegotouch
cd ..

And finally I took one of the qt-components/qml based applications that is in Nemo to try out my configuration
git clone https://github.com/nemomobile/qmlfilemuncher.git
cd qmlfilemuncher
qmake
make
./qmlfilemuncher
After this I had the QML/qt-components application running without any problems. So time to start learning more QML, fixing bugs and implementing features. :) Of course this doesn't include yet all the libraries and API's use in Nemo Mobile, but it is a start.

Friday, May 11, 2012

Tizen Developer Conference Day 3


Similar to the day 2 the third day started with a breakfast at the Atrium level and was in my opinion very good as well. After the breakfast I headed to the street level to get the giweaway present, i.e., Tizen Developer Device that was presented yesterday during the keynote given by the two Tizen TSG members Imad and Jong-Deok.


After getting the device it was of course time to check the content which was pretty basics, the device itself, micro usb cable, charger, which was surprisingly with a euro plug instead of US plug and a converter from euro plug to US wall socket. Also a cleaning "thingy" and 4G USB memory stick with SDK files inside were provided.


After unpacking and booting and testing the device a bit I headed towards the talk rooms to get some more information about the happenings around Tizen.

First talk of the day that I went to listen was "Developer Highlight Presentations: HTML5 Apps Development for Tizen Devices" which was a bit hard to follow probably mainly as the jetlag still prevented me from sleeping enough and I still wasn't awake really. :P

Next went to listen "HTML5 Canvas vs CSS3" presentation which was quite interesting and after the presentation listener had a better understanding about the differences. Also I was interested about the demos shown and how capable CSS3 actually is.


And of course one needs to eat as well, so went for a lunch in the Atrium level a bit after noon. Food was good as usual.


As a last talk I went to listen "Enabling Gordova (aka PhoneGap)" talk by Rene Pourtier.


The final part of the event for me was the Tizen SDK Hands-on session which was very nice session and gave very detailed and quick introduction to the different features of the SDK. The session consisted of three different parts, first part was how to use the SDK itself and how to get started of creating application with a template and how to run the applciation in the emulator. Second part was about how to use the debug functions within the SDK.



 
And the last part was a QA session with the SDK development team. There were many questions from the community about the SDK. However, there was one thing that bothered me and that was one person who kept "asking questions" and talking about many other things also than the Tizen SDK. Much good time from others was wasted with this non SDK related talker.



That was it, the conference is over. I had a lot of fun and got reasonable amount of information about the current status of Tizen and how to start hacking. It was also very nice to see the community and connect to others that are working with similar things. So thanks to Linux Foundation, Intel, Samsung and other sponsors that made this event a success.

Thursday, May 10, 2012

Tizen Developer Conference Day 2

I started my second day at the Tizen Conference by having a quite nice breakfast on the morning with some familiar faces. When enough energy was collected from the provided substances it was time to join to the Ballroom for the first keynote of the day. The first keynote was kept by the members of the Tizen Technical Steering Group members Imad Sousou from Intel and Jong-Deok Choi from Samsung, which was moved to this position from yesterday.


During the keynote there was couple of nice demos shown and some of the tizen features were described. The presentation itself gave very nice picture what is the status of Tizen in the handset type of devices. When the presentation was closing its end the audience got a nice surprise (well, it was sort of told in the registration as well so not really a surprise in the end), which was that every registered attendee would be given a Tizen Developer Device as a giweaway. The device hardware was presented as Dual Core ARM Cortex A9 1.2, 1G of RAM, 16G of Memory, GPS, WiFi, 8mpix camera etc. which was quite nice in the specs.


The device itself looked very much like the devices that the showcase presenters had already shown yesterday and I would guess that the device is the same. Too bad it is a bit bulky design and a bit large thus using it as a everyday device isn't really feasible, which is a bit of lost opportunity in my opinion as there was lot of devices given out for developer that could possibly use the device as everyday device and give much feedback.

After the keynote was over my feelings about Tizen was much more positive and I really was surprised even more that why this presentation was not given as the first one on day 1 as originally scheduled. It would have given much more positive feeling about the Tizen. Only thing that I was really especting in addition to the keynote was QA session with the TSG. Anyway thanks to Imad and Jong-Deok of the nice overview of the Tizen and live demos.

After the TSG it was time for Dr. Nagata from DOCOMO project to give a presentation, which was followed by James Pearce from facebook. After this all the keynotes of the conference were done.


Tech Showcase and lunch followed the series of keynotes and the talks in five different tracks started. I selected which presentations mainly based on my own interest and went to listen the following ones. First Tizen Architecture by Sunil Saxena and Vincent Kwon and as usual with these architecture talks the room was full of people and some of us had to stand.



After the architecture presentation it was time to change room to Bayview. In Bayview I listened to "Engaging Open Source Projects, with a Corporate View" by Thiago Macieira and "Upcoming Technologies: Wayland and oFono" presentations by Jesse Barnes and Marcel Holtmann.

In the beginning of oFono presentation Marcel announced that it has been about 3 years today from the beginning of oFono and they wanted to celebrate their anniversary and cake as well as t-shirts were provided to the audience.


After the Marcel's ~20min presentation about oFono, Jessa talked about Wayland in the same slot, which ended also my visit to the rooms in the "middle floor" and it was time to go back to the Ballroom A again to listen the Orange presentation "Lessons Learnt from Orange in Developing HTML5 Application for Tizen".



When the talk by Orange ended it was time for the evening events and first there were snacks and drinks available in the showroom area where the companies were again showing their work around Tizen. Also another ultrabook lottery was done and one lucky attendee got a brand new device to play with.


After the lottery it was time to move to the buss and towards California Academy of Sciences for the evening event. In the evening event there was food, drinks and live music next to the natural history exhibition and planetarium.








After the evening event it was time for a game of Werewolf hosted by Dawn (thanks for this again) at the hacker lounge.




... and then it was time to start preparing for the third and the last day of the conference....

Tuesday, May 8, 2012

Tizen Developer Conference Day 1

The first day of Tizen Developer Conference is over and I wanted to do a quick recap of the day.. So here is how it went for me with my impressions of the day ..

For me the day started  with a breakfast on the nearby bagel place just around the corner of the hotel. And I must say that the bagel was quite nice and if we wouldn't be given breakfast upcoming days by the conference I could see myself going back to the place.



After having the breakfast we headed towards the hacker lounge and from there around noon Dawn Foster took us to a tour around the city where we saw many nice places and at least I got some very welcome exercise as well. :)




After the walk we went to the ground floor to register where we got tizen backbag that contained some tizen branded items, such as, t-shirt, coffee mug, universal power adapter (same that we got from the MeeGo Conference 2011 but with Tizen logo) and "screwdriver pen".



During the same time with registration the showcase demos were open and companies working with Tizen were demonstrating what they have done with Tizen. The demos were shown mainly with at the time unknown "developer devices" that based on the settings menu was called Fraser and had model GT-I9500 which refers to a samsung product line, e.g. Galaxy Nexus that I posted a demo running Nemo is called GT-I9250.



After the showcase demos the first keynote started and as a surprise to many the keynote was not held by Imad Sousou and Jong-Deok Choi but Jim Zemlin from Linux Foundation.


In the presentation Jim talked a lot about Linux again (anyone recall the Jim's keynote from MeeGo conference 2011 last year?) and didn't concentrate much to Tizen IMO. Also Android and Apple were mentioned so many times that at least to me it didn't feel like I was in the Tizen Developer Conference anymore.
 
Also during the evening it was told to me that the presentation has some familiar features so I did a bit of a research and found couple of similar things from the net. First one is from Embedded Linux Conference 2012 and second one is 2011 Enterprise Users' Meeting Japan (~20:18) last year. Can you see the similarities? :)

After the keynote there was food and drinks sponsored by the Tizen Association...



... and even later in the evening we had very nice session of Werewolf at the hacker lounge thanks to Dawn.