Skip to content

SisContents – An awesome freeware PC app for sis files.

26-Aug-11

Some years back I had found SisWare, a ideal tool for analysing the sis packages. Today, while searching some sis installation error code resolution I found another great tool for sis packages creation,editing and unpacking. Its called SisContents and developed by a russian developer. More…

Quick Symbian Factoid #2 : Fix for Des16Align 18 panic.

25-Aug-11

You would generally get a Des16Align 18 panic when executing a Format function and especially when you are too tired to issue may seem as big as a mountain.
This is caused as the Format function expects a pointer, but when a object is passed by value then the Des16Align panic occurs.

Example code :

       TBuf<64> buf1,buf2,buf3;
        buf1.Copy(_L("C"));        
        buf2.Copy(_L("NewFolder"));
	buf3.Format(_L("%S:\\%S\\"),buf1,buf2); // this is perfect for Des16Align 18 panic.

The correct code would be something like this :

       TBuf<64> buf1,buf2,buf3;
        buf1.Copy(_L("C"));        
        buf2.Copy(_L("NewFolder"));
	buf3.Format(_L("%S:\\%S\\"), &buf1 , &buf2); // this is correct.

Quick Symbian Factoid #1 :Fix for KErrNotSupported on RDbNamedDatabase::CreateTable.

24-Aug-11

From today I am starting a series of small code snippets or error information that I face in day-to-day Symbian C++ programming.

I was trying to create a database using RDbNamedDatabase::CreateTable. I have used this function quite some times, but for some unknown reasons it was leaving with KErrNotSupported(-5).

The code snippet that was causing issues was something like this

    CDbColSet* col = CDbColSet::NewLC();
    col->AddL(TDbCol(KColName, EDbColText, 256));// this is not correct for EDbColText
    errCode = db.CreateTable(KTableName, *col);

The main programming error is the size of column. The column type is EDbColText and its size limit is 255 and I was setting it beyond its permitted limit. So the fixed code would look like this.

    CDbColSet* col = CDbColSet::NewLC();
    col->AddL(TDbCol(KColName, EDbColText, 255));// this is correct for EDbColText
    errCode = db.CreateTable(KTableName, *col);

The proper value to set would be 255 and not 256 as confused by me. The header file, d32dbms.h, holds the size limit for each column type.

Nokia 500 debuts 1Ghz proccessor & new naming convention.

02-Aug-11
NOKIA 500 BLACK

NOKIA 500 BLACK

Nokia made public yesterday a new device with a recycled name. The Nokia 500 saw the day of light, thus introducing the first 1Ghz Symbian^3 device and a new naming convention for the devices. Nokia recycled its old GPS device name, the Nokia 500. The device specifications are good for the price it is being offered. The price will be in More…

DefuseAlarm DevLog #3: My first Qt Quick program & Qt Quick resources online.

22-Jul-11

I have been referring to this video series for learning Qt Quick.

I just coded my first Qt Quick program for Symbian and its based on the code snippet from the e-learning series only. Below is a screenshot of the code in action. The template application has lots of background/ readymade c++ code added. Just the Qml needs to be added. I liked this and it seems a huge leap from the days when we used to code More…

DefuseAlarm DevLog #2: My development environment & installing Qt SDK v1.1.

16-Jul-11

The latest full installer includes the Qt SDK, Qt Creator IDE and various things. The offline installer size is around 1.8Gb which is quite a lot.The SDK can be downloaded from here.
The whole package took 45 mins to install but it showed a couple of installation errors.


I am not sure what effect these errors have on the final installation. As of now nothing seems to be dysfunctional.

Now the laptop am using for development is an ancient Acer Aspire 5050. The following are its system specification:

  • AMD Turion Processor MK38 (2.2GHz, 512KB Cache)
  • 500GB Hard Disk Drive
  • 2 GB RAM

The QtCreator IDE is running smoothly as of now. Sometimes the code complete feature slows down things, but that’s also once in a while. Let’s see how the IDE scales for bigger source files.

Flaminghorns.com feeds app published.

25-Jun-11

Now stay in touch with latest flaminghorns.com blog posts from all three blogs in a single app.
The flaminghorns.com feeds app generated using the Ovi AppWizard has been approved.
Just click on the image below to download the feeds app from Ovi Store.

flaminghorns.com feed app.

flaminghorns.com feed app.

DefuseAlarm DevLog #1: Qt Quick mobile development video series.

24-Jun-11

I am going to blog about the development of my Qt app DefuseAlarm. I will try to blog at least once in the day.

The development experience is going to let me decide the next platform that I need to pick with Symbian being phased out by Nokia. I have options like Qt, J2Me, iOS, Android & WindowsPhone development platforms. But am currently quite confused to commit to anything. So in my quest for my next development am going to create a small application and weight in the pros and cons. The platforms am currently considering are Qt, Android & WindowsPhone.iOS is not being touched as its development is not free. J2ME is being avoided as its too fragmented to be taken upon. Qt is the first choice out here as its development is supported on Nokia Symbian devices and particularly on Nokia N8. So it would provide a more familiar development environment to start with. I will also have to delve into issues like developer support, ease of marketing and overall popularity to zero-in on my next platform. This exercise would take anything from 2 months to 6 months. So get ready for a long journey.

Starting with Qt Quick

Qt is supposed on many devices and overall there are options to code using C++ framework on using QML for quick UI development. There are not many good books available in India that can help you to get started with Qt immediately. So we have to rely on Qt online resources. There are quite a few resources available online for picking up Qt especially on mobile devices. I found a great series of videos targeted for C++ developers that deal with both Qt & Qt Quick. The series is long and has enough material to keep me busy for another week or so. I have consolidated the video links into one page and am embedding the links below, so that they can be viewed in one go.

 










Forum Nokia changes to be Nokia Developer.

15-Jun-11

Forum Nokia or FN as it was usually called, has now been renamed to Nokia Developer. The site looks more streamlined and more consistent with the Nokia Conversations blog styling.

The fonts are new ones and blue color is all over the site.
The discussion forum & blogs also look more neat now but seem to maintain the same underlying engine.
The developer library has also been decorated with the same skin. But alas, there has been no apparent improvement in the documentation. I hope MS lends Nokia a few resources to teach them to document the API’s properly.

Let MS do the documentation.

Let MS do the documentation.

Batteries bloating problem and disposal options.

10-Jun-11

Batteries which provide the juice to run mobile phones, typically tend to bloat as they are used more and more.
This is true amongst most of the Li-ion batteries used nowadays.

The main reason behind the bloating is the battery is overheating, which is typically caused by the overcharging of the devices. My N91 battery bloated fastest as I had the bad habit of keeping it hooked on to the charger throughout the day or till the time I was listening to music while coding. This would typically bloat the battery and would unhinge the back cover.

This now gets me to the second point, disposal of these batteries. These batteries should not be disposed at the regular waste dumps. The metals in such batteries may not be as harmful as arsenic or cadmium, but they have enough metal which can pollute the water sources. Also the metals in such batteries can be recycled and used for other purposes. The recycling should be the social responsibility of each company producing them.

Nokia which has been known for its green ways provides recycle bins at its Care Points. You can drop not only batteries, but chargers and old broken handsets as well. Does your handset manufacturer provide you recycle points?

Who else provides device and accessories recycling collection points?

  • Motorola. (0%, 0 Votes)
  • SE. (0%, 0 Votes)
  • Samsung. (0%, 0 Votes)
  • LG. (0%, 0 Votes)
  • Apple. (0%, 0 Votes)
  • HTC. (0%, 0 Votes)
  • My device manufacturer provides it. (0%, 0 Votes)

Total Voters: 0

Loading ... Loading ...