Monday, February 27, 2012

Getting started with Windows Phone developnment

UPDATE: 06.03.2012. I have seen all the videos. I definitely recommend these for anyone that want's to start with Windows phone 7 Mango


I have found great video tutorials for getting started with Windows Phone Development. If you want to start but don't know how these will be great for you. It will explain everything from beginning like where to download Visual Studio for Windows phone, how to install it and how to develop apps for phones. These are even great videos if you are trying to learn programming in general. Programming for mobile phones is nice entry point to the world of programming.
The course is divided in four days. First day explains basics. Even if you don't understand the basics of programming the instructor will explain what are variables, how to use loops and if statements. On the fourth day you will create completely functional app that uses GPS and stores chunks of text to the phone persistent storage.
The videos are published 11th ff November 2010. That is 11/11/2010 for all those who are struggling with the names of the month like I do :) These videos don't cover Mango but it doesn't matter. All that you will learn here you can use in Mango as well. These are great place to start. You will learn C# by watching these tutorials.

Definitely check out Education tab on the create.msdn.com

Wednesday, February 22, 2012

cs193p fall 2011 Assignment 2 Task 1 solution - iPhone Application Developnment

Hi,
I am having pretty hard time understanding the assignment 2 of the iPhone Application Development fall 2011. Starting point for this Assignment is right after you watch The Lecture 4- Views. You can also watch Xcode and Source Code Management because the same code is entered again.  After you made modifications to the Calculator Brain you should update your app so that all of the things from Assignment 1 work here as well.

Lets get started. I will be honest here. I read the assignment few times and I didn't understood it completely. I had few questions. One of them is: how should a user enter a variable inside the Calculator's program? I was looking at the screenshots and I saw three new buttons for variables A,B and X? Does this mean there will be only three variables? After reading whole assignment few more times I think that other variables are possible via the external API. You can probably send as many as you want using the NSDictionary and variableValues from the task one. So I stopped asking myself all those questions and start programming. If you have a different explanation feel free to share it.

Thursday, February 16, 2012

cs193p fall 2011 Assignment 1 - Extra credit solution - iPhone Application Developnment

Continuing with the Assignment1 of the Stanford's CS 193P iPhone Application Development.  Fall2011 edition. This time I have solved Extra Credit part of the Assignment 1. I didn't manage to find a solution to these assignments so I am not sure if they are correct. I would appreciate your ideas and thoughts in comments below. If you have missed be sure to read my previous post that solves the non Extra Credits part of the Assignment 1:

cs193p fall 2011 iPhone Application Developnment Assignment 1 solution
Once again big thank you goes to Stanford and Paul Hegarty for creating this great video tutorials.
Nuff' talking. Lets get to work.

TASK 1.
1. Implement a “backspace” button for the user to press if  they hit the wrong digit button. 
This is not intended to be “undo,” so if  they hit the wrong operation button, they are
out of  luck!  It’s up to you to decided how to handle the case where they backspace
away the entire number they are in the middle of  entering, but having the display go
completely blank is probably not very user-friendly.
My Solution:

Wednesday, February 15, 2012

cs193p fall 2011 iPhone Application Developnment Assignment 1 solution

I am going to post a solution to Assignment 1 from the Stanford's CS 193P iPhone Application Development. The reason I am doing this is because I want to learn. I am following the CS 193p and I am trying to learn how to develop for iPhone and iPad. I am trying to solve the Assignments and I would like to verify if my solutions are correct. I am hoping that someone will Google this out, take a look at my solution and warn me if I made a mistake. Also I tried to find a solution because I wanted to compare my solution against someone else just to be sure that mine is O.K. So I am looking forward to your advice how to improve my solution. I hope I will learn from that.
I am grateful to Stanford University and Paul Hegraty for shearing  this great learning materials for everyone to enjoy for free.
Click read more to see the solution.

Tuesday, February 14, 2012

Program received a signal "SIGABRT"

This article is moving away from Qt SDK, but it is still on the track with idea of development for mobile devices. You will encounter the error
Program received a signal "SIGABRT"
from the title of this article if you are playing with Xcode and you are trying to develop for iOS. If you ever received such an error you will notice that it escalates to the main.m file that most of the time you as an developer didn't even touched. There is no universal answer on how to solve error causing this but I am about to share with you a trick I learned recently that will help you find out what is causing this error. Hit read more to read the entire article.

Thursday, February 9, 2012

plugin cannot be loaded for module Cannot load library The specified module could not be found.

Hi, recently I had problems with a similar error from the title of this post.  The complete error is here:
plugin cannot be loaded for module "QtMobility.sensors": Cannot load library C:/QtSDK/Simulator/Qt/mingw/imports/QtMobility/sensors/declarative_sensorsd.dll: The specified module could not be found.
     import QtMobility.sensors 1.1 
Your error can be a little bit different from this. The text colored green can be different from the one you see. It all depends what resource you are trying to access in your code. Here is another example of the problem number 2:
plugin cannot be loaded for module "QtMobility.location": Cannot load library C:/QtSDK/Simulator/Qt/mingw/imports/QtMobility/location/declarative_locationd.dll: The specified module could not be found.
     import QtMobility.location 1.2  
Another one of these errors can look like this- problem number 3:
plugin cannot be loaded for module "QtMobility.systeminfo": Cannot load library C:/QtSDK/Simulator/Qt/mingw/imports/QtMobility/systeminfo/declarative_systeminfod.dll: The specified module could not be found.
     import QtMobility.systeminfo 1.2 

At the end of this article you will solution for these and similar errors.
If you still haven't figured it out this is one of those Qt Quick tutorials. You will need Qt SDK used to program for Nokia phones, Windows, Linux and few other platforms in order to see this error. I am using Qt SDK 1.2. For a solution, continue reading this post

Nokia 803 Camera phone, is it last Symbian phone?

I have read this on GSM arena today. There are rumors that next Symbian phone will be the last one. It will be camera phone and successor to N8. I would be called Nokia 803. It will probably be announced at MWC starting 27 of February this year. So more info will flow soon.

Some of the rumors are:

Tuesday, February 7, 2012

How to update to Nokia Symbian Belle

It seems that the Symbian Belle update is rolling out. Nokia suite offered me to update my N8 to Belle. You have to have Nokia Suite 3.3 in order to upgrade. There is great video tutorial on how to upgrade to Nokia Belle on Nokia support YouTube channel.
Look at the Nokia Update video from this post. On the the left you can see the video that shows you why you should update. Nokia Belle Update - same phone, new experience.
Click on the read more to find out which Nokia phones can be upgraded to Belle and how to upgrade to Belle.

Monday, February 6, 2012

How to download and install Qt SDK 1.2



I have created new video for the YouTube showing you how to download and install Qt SDK 1.2 from scratch. The video is for installing on Windows 7 but if you are using Linux of Mac OS the process is the same so the video is is still worth looking.

Qt SDK is cross platform framework for creating applications. You can create apps for Windows, Linux, Mac OS but this blog focuses on apps for Symbian and MeeGo phones. Read more about Qt on Wikipedia.

Firstly you should download the installation file. You can get it:
http://www.developer.nokia.com/Develop/Qt/Tools/
just hit the blue button Download Qt SDK.

Friday, February 3, 2012

Upgrade Qt SDK 1.1.4 to Qt SDK 1.2

I have created video on how to upgrade Qt SDK 1.1.4 to Qt SDK 1.2 released 1st of February 2012. You can use this method even if you have older version of Qt SDK installed. You can check out what is new in this version in my previous post:
New Qt SDK 1.2 is available for downloa

You will know that update has completed successfully if your version after the update is Qt Creator 2.4.1 based on Qt 4.7.4. built on Jan 26 2012. To check wich version of Qt Creator you are using go toHelp > About Qt Creator.

Here goes the video. Maximize it and enjoy.

Thursday, February 2, 2012

New Qt SDK 1.2 is available for download

Yesterday new Qt SKD 1.2 is released. It targets Symbian devices and Nokia N9. If you are coding for phones you will still use Qt 4.7.4 API. On the other hand if you are a desktop developer you will be able to try first release of 4.8
Nokia mentions that with new SDK 1.2 comes new Qt Creator version 2.4, but I already have that installed on my laptop and I am using Qt SDK 1.1.4. Maybe because I updated my version?
Qt Mobility API 1.2 should also be new adding support to Bluetooth and NFC. There are also 20 new Qt Mobility examples you can access from Welcome screen. Debugging agent CODA is updated to version 1.0.6. Read the full article about Qt SKD 1.2 and download installation.