Sailfishapplication and setContextProperty

I’m very excited on the last 2 days since the Sailfish OS Alpha SDK was released. I’m working on a new project for harmattan and hence I would like to test it out how easy it was to port the UI from Harmattan to Sailfish Silica. Well, that’s another story hence I won’t cover it in this post. All I want to share with you is that I faced a little problem when I want to setContextProperty() to share a list model from Qt to QML.

For example, if I want to share a QAbstractListModel called “piModel” to QML, here’s the code


view->rootContext()->setContextProperty("listModel", piModel);

view->setSource(QUrl("qrc:///main.qml");

Then in QML ListView, just set the model: listModel and the list will appear and automatically updated should there be any addition/delete in the Qt si...

Read More

Ubuntu One for Linux Mint 14

I’ve written a post on how to get Ubuntu One client for Linux Mint 12 a year ago and I think it’s time for me to update the details. This time, I would like to show you how to get Ubuntu One client on Linux Mint 14.

First, assume you know how to open a terminal, open a terminal and type the following line to install Ubuntu One

sudo apt-get install ubuntuone-control-panel-qt

ubuntuone kde launcher

After the installation finish, you will find the Ubuntu One launcher under “Settings” if you’re using KDE but you will never find the launcher if you’re using Cinnamon. Here’s a little tweak on how to get it.

In terminal, type

sudo nano /usr/share/applications/ubuntuone-installer.desktop

Find the line of

Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-PersonalSettings

and...

Read More

Make, NMake, and JOM

Just a very short blog post from me as I would like to share you some information I recently discovered. Just a quick update to all of you, I just got a day job as a software engineer a few months back and my company uses Microsoft Visual Studio as the tool to develop in house software for a machine (that’s build in this company).

As you all have known, I’m a linux lover and also a Qt lover (ambassador). I love to use Linux and code using Qt framework. Therefore, I struggled hard during the first 2 months working with MS Visual C++. Although I’m still struggling a lot now, but the situation is slightly better because I’ve started to shift some new code towards Qt.

Okay, enough of the mumbling part, here’s the content, when we build a software in Linux, let’s say we’ve created a Qt pro...

Read More

Example of FAIL Project

I’m working on an existing project for the past few months and will be working on it for the next few months or years. I can’t review much on the project I’m working but one thing I could tell is the project is not my personal project and it’s not related to the projects I’ve been working on (which is related to MeeGo, Harmattan, Linux and so on).

Yes, as the title of this post suggest, I’m going to write an example of a fail project. And yes again, you guess is right, the fail project is the project I’m currently (and will be in the future) working on. So how does it fails?

Timer driven instead of event driven

The first and foremost reason it fails because the whole software is timer driven instead of event driven...

Read More

What’s NOT New in Windows Phone 8

I came across this webpage while browsing through my twitter feed this morning with title “What’s new in windows phone 8″

http://www.windowsphone.com/en-US/how-to/wp8/start/whats-new-in-windows-phone

I feel disgusting as I read through all the “NEW” features in WP8 so in response, here’s a blog post on what I think and what’s NOT new in Windows Phone 8

  1. Kides corner: Yes, this is a new feature that’s not yet available in any smartphone but I think we can achieve the same using Android 4.2′s multiuser feature
  2. Wallet: I think it’s available for Android on the previous release. The key is “Is it reliable?”
  3. Microsoft Account: HELL! What’s so special about it? You need a google account for sync when using android and you can use multiple account (dropbox, google and etc) in the account setti...
Read More

WifiTrans v0.2.0 Released and A Little Update of The Future

Moving forward from Wifitrans v0.1.0 to v0.1.1, v0.1.2 and finally the v0.2.0 is released today. Compare with the initial release, Wifitrans has more variant now (the paid app, Wifitrans, the free version WifitransFree and the full version for Maemo 5 WifitransN900). It has more functionality than the initial release which users can create directory from their browser, folder archive selected directory and also able to delete files and folders.

Apart from that, security feature is enhanced over the last few version which block file upload from unauthorize IP and enable/disable delete option to avoid client from accidentally or intentionally delete the files and folders.

I think that WifiTrans is grown into a mature application and have decided to stop developing new functions for it and...

Read More

Announcing WifiTrans and WifiTrans Free for Harmattan

I’m a lazy guy! I’ve always lazy to connect my phone to usb for transferring file to/from my phone. Bluetooth is the only alternative but it’s very slow making it completely useless in transferring huge files (imaging transfer 1GB movie using bluetooth……). Transfer files using wireless network is a better choice. Searching through the Nokia Store, I found that there’s only a few application made to transfer data from/to phone using wireless network, and I found that none of them satisfying all my needs (I’m a crazy user!!  Evil grin…). Therefore I’ve decided to write my own application for handling my requirement.

So after few weeks of coding and learning how to create python http server, the application WifiTrans is done! I would like to take the opportunity here to thank Thomas Perl fo...

Read More

Introduce Application Portal and Portfolio

Hi all, I would like to introduce you my new application portal. Open a new tab, enter the following on the location text field http://apps.linux4us.org (or just click this link :P ) and there it is, the new application portal. The reason I build this application portal is because I feel that it’s better to have a place where users can view all the applications available for them, browse through the screenshot, read the description and changelog and have links directing them to the download location, all in one place. The user experience of browsing the application would be way better than searching through the applications available at my blog here.

Here are a few screenshot of my new application portal (catalog), have a look:

Apart from announcing the application portal, I would like...

Read More

ThrowIn, A Throw Paper into Basket Game for Harmattan

Announcing the game, ThrowIn, which is a throw paper into the basket game for MeeGo Harmattan (Paper Toss clone).

This game features 3 level of difficulties with different basket size for each level of difficulty. The aim for this game is simple, drag the paper ball, counter the wind speed and throw into the basket. Here are a few screenshots for showing this game in action:

This application is submitted to Nokia Store for QA and should be appearing in few days time. Stay tune ;)

P/S: for those who can’t wait for it, check this link

Read More

How to Lock Screen Everywhere on Your N9/N950

I would like to share a quick trick on how you can lock the screen (turn off the screen) of your N9 or N950 without pressing the power button. The application LockScreen is useful in turning off the screen without pressing the power button but you need to minimize your running application, go to the launcher home screen and click on the LockScreen launcher in order to lock your screen, which makes it less handy when you are listening music, browsing web and etc but want to off your screen quickly.

So here’s a quick trick on how you can turn off your screen without pressing the power button.

What you need:

  1. Lock Screen
  2. My Moves

What you do:

  • Launch the MyMoves application

  • Click on the “My Moves” button

  • Click on any gesture you want (in my case, the 2 finger swipe down) and click...
Read More