A software engineer living in Vancouver, Canada - http://www.antonypranata.com/
antonypr | 01 May, 2008 21:39
It's Friday now. Is it a good time for announcement for a new book?
Today, I proudly announce a new Symbian OS book from Symbian Press, Quick Recipes on Symbian OS. The book is available for pre-order from Amazon today.
The book is authored by Michael Aubert and a bunch of other people that you may be familiar with, i.e.:
What this book is all about? Unlike existing Symbian OS books, it is structured like recipes book. Each recipe solves one specific problem, for example: how to write data to a file, how to load JPG/PNG images, how to handle incoming message, how to dial a phone number, etc.
All the recipes are categorized in 10 different technology areas, i.e.:
The example source code will be available soon on Symbian Press web site soon (once the book has started selling).
For now, you can download the source code of our Quick Recipes Taster booklet. The booklet is basically the stripped-down version of the book.
General, Symbian C++ |
Permalink |
Comments (3) |
Trackbacks (0)
antonypr | 04 February, 2008 21:07
It's been a while since I released the last version of my open source application, Screenshot for Symbian OS. The new version (v3.01) is now available at SourceForge.net.
Unfortunately, only the unsigned version is available right now. As you may know, it takes a while for Symbian Signed to sign freeware/open source applications. So, please be patient to wait for the official signed version. Meanwhile, you can just download and sign it using your own developer's certificate.
What's new in this version?
General, S60 |
Permalink |
Comments (6) |
Trackbacks (0)
antonypr | 28 November, 2007 23:17
Symbian has just issued the new document of Symbian Signed Test Criteria. It is marked as valid from December 1, 2007; but practically it won't be in force until the new Symbian Signed process is generally available (which is expected in early December 2007).
The new test criterias now are divided into two categories, i.e.:
Here are some changes that I noticed in the new document.
The following criterias have also been removed in the new document:
For more information, please visit Symbian Wiki page.
Browsing |
Permalink |
Add comment |
Trackbacks (0)
antonypr | 01 November, 2007 22:58
The blogosphere has been hot since yesterday about accelerometer on Nokia N95. Apparently, Nokia 95 has a built-in accelerometer. You can find discussion about this on:
In the latest firmware, we can even get the raw data from the accelerometer using Sensor Plug-in for S60 3rd Edition. You can download the plug-in and start experimenting with accelerometer on Nokia N95
The usage of the API is very straightforward. You just need to create an instance of CRDAccelerometer and then receives the accelerometer data from its observer, MRDAccelerometerObserver. Note that the API still has "RD" prefix in the class name and file name; so it is still an R&D version.
Having access to accelerometer raw data gives us many possibilities. For example, we can use it as control for games. Arto Holopainen has shown similar idea; but he is using human muscle to control games.
As developers, the first question that you may have is, how to process raw data from the accelerometer. You need to know about "g" unit, which is a standard unit of acceleration. There are several papers that discuss "g" unit in accelerometer, for example:
General, Symbian C++ |
Permalink |
Comments (15) |
Trackbacks (9)
antonypr | 17 October, 2007 23:42
Thanks to petrib who pointed this out. Apple just announced that they are going to support third party applications on iPhone and iPod touch. This is not surprise because developers have been crying for SDK for iPhone. Many people have predicted that Apple will open their platform soon or later; otherwise they will have difficulty competing with "open" smart phones.
What made me surprise is the statement from Steve Jobs in the news. They will have an advanced system that allows developer to access iPhone's software platform while at the same time protecting users from malicious programs. It sounds like Platform Security in Symbian OS, doesn't it?
It will take until February to release an SDK because we’re trying to do two diametrically opposed things at once—provide an advanced and open platform to developers while at the same time protect iPhone users from viruses, malware, privacy attacks, etc.
...
Some companies are already taking action. Nokia, for example, is not allowing any applications to be loaded onto some of their newest phones unless they have a digital signature that can be traced back to a known developer. While this makes such a phone less than “totally open,” we believe it is a step in the right direction.
There is no detail of how they will implement the system. It could be similar to Symbian's PlatSec or totally different. Let's wait and see on February next year.
Bonus Links
General |
Permalink |
Comments (1) |
Trackbacks (0)
antonypr | 13 September, 2007 21:38
Agile software methodology is very hot topic these days. Many companies have been starting to use agile in their software development. Jo Stichbury, the author of Symbian OS Explained and The Accredited Symbian Developer Primer books, has recently interviewed Jim Coplen about agile software methodology. The interview in PDF format is available on Symbian Developer Network. Here is a small quote from the interview:
When people inquire about what “Agile” means, I always return to the source: the Agile manifesto. There are so many branches of Agile, individual practices and individual methodologies that have been equated with the word Agile. Like most popular terms it ceases to have much useful meaning any more, so I like to go back to the source. The source is brilliant and there’s some really good stuff there for people to think about and to get their teeth into, but it probably isn’t what most people think it is.
- Individuals and interactions over processes and tools
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Responding to change over following a plan
If you are a fan of agile software methodology, you have to read the interview. It contains valuable information. If you don't know about agile or haven't used agile, I highly recommend reading the interview and then.... (this is the most important one) discuss with your team to start applying agile. :)
Links
General |
Permalink |
Add comment |
Trackbacks (0)
antonypr | 12 July, 2007 23:02
Nokia together with some other high-profile companies announced the second annual competition for mobile developers and entrepreneurs. It is called "Mobile Rules '08".
What is it all about? It is a competition to develop new applications or services for the mobile lifestyle. There are two tracks of the competition:
What is the timeline? The deadline submission for mobile applications is January 25, 2008. The deadline for business plan is November 16, 2007.
What is the prize? The prize for mobile applications is fast-track contract negotiations with one of the sponsors as well other prizes. If there is no contract after a year, US $10,000 will be granted.
The prize for business plan is the same, that is business contract with Nokia or other sponsors as well as other prizes. If there is no contract after a year, US $20,000 will be granted.
For more information, please visit http://www.mobilerules.org/.
Business Opportunities/Services |
Permalink |
Add comment |
Trackbacks (0)
antonypr | 11 May, 2007 21:33
Environmental issue seems to be keyword these days. We hear global warming, energy saving and many other terms almost everyday.
Yesterday, Nokia announced that they become the first phone makers to add energy saving alerts to their devices.
The alerts are one of a series of environmental initiatives that mobile manufacturers, led by Nokia, agreed to take action on this year. Nokia is the first of these manufacturers to implement the alerts into its products.
This is not the first action from Nokia to become a "greener" company. They have started a program last year, called Take-back and recycle, where we can send our unused phones to be recycled.
Nokia’s idea is to make it easier for consumers to act green by offering the possibility to return old, unused phones and accessories. Authorized Nokia Service Points, flagship stores, municipal collections, industry association's collections, or retailers' campaigns are all possible channels for returning used products.
Many other big companies are serious about these environmental issues. Steve Jobs from Apple wrote an open letter about "A Greener Apple" last week.
And we plan to bring other environmental issues to the table as well, such as the energy efficiency of the products in our industry. We are also beginning to explore the overall carbon “footprint” of our products, and may have some interesting data and issues to share later this year.
As the end users as well as mobile developers, should we do something? Yes, for sure. We need to take actions to save our planet. It's not for us, but for our children. There is a free booklet from Greenpeace, Your Personal Guide to Helping Save the Climate, which discusses some tips to save our lovely planet. Here are some of them:
General |
Permalink |
Add comment |
Trackbacks (0)
antonypr | 02 May, 2007 20:22
These free booklets from Symbian are intended for developers. They discuss various development topics in hand and consie format. They are normally less than 100 pages long. The terms "free" here mean you can download it from Symbian web site and get the printed book for free.
Currently there are 9 booklets plus some translations to Chinese and Japanese and the list is growing. Here is the current list:


Java, Symbian C++ |
Permalink |
Comments (2) |
Trackbacks (0)
antonypr | 24 April, 2007 05:30
Recently I had a strange problem with my Nokia E61 device. The device needs to be charged every day. I was quite sure that the battery was still okay. The device was relatively new, about 1 month old. Before it happened, I could use my device for 3 - 4 days without charging.
I thought it must be from one of the applications that I have installed recently. I suspected one of the applications that I have just installed. Then, I decided to uninstall it (I am not going to disclose the name of the application). What happened after that? The problem with my battery was solved. I can use my device normally.
Why did it happen? Apparently, the application installed a server that runs in the background. I am not sure what the server is doing, but it empties the battery very fast.
As a mobile developer, how can we avoid this? Forum Nokia has a good paper, S60 Platform Effective Power and Resource Management. I won't repeat everything here; just highlight some of the important points:
Please, always remember that mobile device has limited battery power. It is not the same as desktop world where the power is "unlimited".
Symbian C++ |
Permalink |
Comments (5) |
Trackbacks (0)
antonypr | 14 April, 2007 00:05
A couple of weeks ago, I had a plan to write an article and example code of using XML parser in Symbian OS. It seems that another Forum Nokia Champion, Paul Todd had the same idea. He posted a nice article about XML parser in Symbian OS 9.x to Forum Nokia Blogs. It's good that I don't need to write the same article. :)
What I would like to share here is a complete example code of XML Parser in Symbian OS. The example code can be run on Symbian OS 8 and 9 phones, which means it can be compiled under S60 2nd Edition FP2/FP3 SDK or S60 3rd Edition SDK. I am planning to release the same example code for UIQ3 soon.
Click here to download my example code of XML parser
The example basically parses an XML file, dataexample.xml, to the main window. The content will be displayed on CEikEdwin control (see picture below).
Note that the code is written as an example; thus it is designed to be as simple as possible. Do not use it in the production code!
One more thing, this is not the official example code from Forum Nokia. It is just my personal example code.
S60, Symbian C++ |
Permalink |
Comments (11) |
Trackbacks (0)
antonypr | 28 February, 2007 07:24
Actually I don't want to reveal this today because there are still some other things to do. Unfortunately (or may be fortunately) cyke64 has smelled this new project. That's why; I decided to officially announce it today.
Ladies and gentlemen... I am proudly announcing Screenshot for Symbian OS goes open source. The source code is hosted by SourceForget.net at http://sourceforge.net/projects/screenshot-sos/. The project is distributed under GPL (General Public License) scheme.

Why do I decide to make the application as an open source project?
As a starting point, I publish the source code and binary (unsigned) of the beta version of Screenshot for Symbian OS version 2.70.
I hope that my small contribution is useful for the whole Symbian OS community.
S60, Symbian C++ |
Permalink |
Add comment |
Trackbacks (0)
antonypr | 18 January, 2007 08:00
Symbian has just released P.I.P.S in Beijing, China. P.I.P.S. stands for "P.I.P.S. Is POSIX on Symbian OS". It is a recursive acronym. It reminds me to GNU, which is a recursive acronym for "GNU is Not UNIX".
P.I.P.S. - PIPS Is POSIX on Symbian - will enable C programmers to more easily migrate existing middleware and applications, either commercial or open source, to Symbian OS by providing standard POSIX C APIs on Symbian OS.
For me, this is very good news. It proves that Symbian is listening to developers' feedback. As you may know that many developers have been saying that Symbian OS has "uncommon" programming paradigms, such as active object, leave/trap mechanism, etc.
Bringing POSIX to Symbian OS is a big step to attract more third-party developers to develop applications for this platform. Furthermore, it would reduce the cost of porting code from other platforms to Symbian OS. With so many cool open source projects out there, the sky is the limit....
What is actually POSIX? According to Wikipedia:
POSIX or "Portable Operating System Interface for uniX" is the collective name of a family of related standards specified by the IEEE to define the application programming interface (API) for software compatible with variants of the Unix operating system.
POSIX basically contains APIs that are compatible across many operating systems. One example of the APIs, which is also part of P.I.P.S, is Standard C Library. Another example, which is part of POSIX.1c, is thread libraries to handle thread creation, scheduling and synchronization. If you are interested to read more about POSIX including the list of header files, you can visit Open Group's Single UNIX Specification.
There is not so much information from Symbian's press release about P.I.P.S. implementation, such as how many POSIX functions that have been implemented on P.I.P.S. We have to wait until the end of Q1 2007 to download the first beta version of P.I.P.S.
So, what's coming to Symbian OS after POSIX? C++'s STL (Standard Template Library)?
Open C |
Permalink |
Comments (3) |
Trackbacks (0)
antonypr | 30 December, 2006 23:40
After using Carbide.c++ for quite a while, I would like to summarize some shortcut tips in Carbide.c++. They should apply to both version 1.0 and 1.1 as well as Eclipse IDE. Hope you find them useful too... :)
Editing
Building and Running
Debugging
Symbian C++ |
Permalink |
Comments (1) |
Trackbacks (0)
antonypr | 13 December, 2006 07:57
I write this blog because so many questions at Forum Nokia Discussion, such as "How do I start Symbian OS C++ development?", "Which SDK should I use?" etc.
Download SDK
The first thing to do is download the Symbian OS C++ SDK. Which SDK to download? There are several SDKs depending on the UI platforms of the phones, i.e.:
Actually, there is one more UI platform for Symbian OS, i.e. Series 90 from Nokia. Unfortunately, the platform has been discontinued. The only product that came out to the market is Nokia 7710. I don't think you should start development on Series 90 unless there is a specific need to support Nokia 7710.
Download IDE
Another question that usually comes up from developers is "Which IDE to use?" Once again, there are several IDEs supporting Symbian OS C++, i.e.:
As summary, if you are developing for Windows, I highly recommend to start using Carbide.c++. Note that there is a free version, called Carbide.c++ Express. The other two versions, Developers and Professional, cost some money.
Buy Books
There have been many concerns about the quality of SDK documentation, which is not good enough. That's why I would recommend buying one of Symbian OS C++ books, e.g.:
Technical Articles, Sample Codes and Forum Discussion
Sometimes books are not enough, so you may want to read some technical articles about Symbian OS C++ as well. There are several good sources, i.e.:
The last thing that I want to mention is forum discussions. Whenever you have problems or questions, you can always fire your questions to the developer communities. All the three sites above have forum discussions.
Symbian C++ |
Permalink |
Comments (7) |
Trackbacks (0)