Silverlight for Symbian Beta now avaliable

Paul.Todd | 16 March, 2010 10:03

I have always been a big exponent of the .net runtime for writing quick fast and reliable code and today Microsoft finally released their implementation of Silverlight for 5th edition touch devices.

 (More)

Reusing the N97 memory reorganizer

Paul.Todd | 05 February, 2010 18:45

Many people have found via Software Update there is a nice little application called Memory Reorganizer that recovers some of the scarce memory on the N97's C drive.

 (More)

Interop with OpenSSL and the Symbian Cryptogrpahy libraries

Paul.Todd | 01 February, 2010 11:36

Contrary to what many believe the Symbian and OpenSSL libraries are inter-operable, you just 
a degree in cryptography to use it :)

 (More)

Using QResource

Paul.Todd | 07 December, 2009 12:01

I have now started earnestly started picking up QT development and it looks promising, though the handling of multiple screen sizes for different devices could be better as well as some show stopper issues such as QMessageBox not working correctly overall its quite a nice experience.

The one issue that I did'nt realize was that QResource will compress resource data if it can so when loading a resource using QResource you need to check if the data is compressed and if so use qUncompress:

 

 QResource resource(":/icon.png");
if (resource.isCompressed())
  QByteArray b(qUncompress(resource.data(), resource.size()));

  ....
 else
      ....

 

Otherwise you end up trying to use compressed data where uncompressed data is expected.

Carbide 2.3 and QT tip

Paul.Todd | 19 November, 2009 02:04

I have recently started investigating using QT since its the new Nokia hot topic!

After installing carbide.c++ 2.3 beta I imported a QT project I had written for the desktop and got this error when opening anything to do with QT

"org.eclipse.swt.SWTException: Class ID not found in registry"

The trick to getting rid of this error message is to register the QT DLL's. Look in the folder "configuration\qt" under your carbide installation root folder and there you will find a bat file called "register_plugins.bat" which you will need to run.

 

This registers all the COM objects eclipse needs and the integrated tools will now work...

 

Using CAknUnitEditor

Paul.Todd | 25 September, 2009 19:45

One of the more useful features of Avkon 3.2 and later (though like the coordinate editor, is very poorly documented) is the unit editor control, aka CAknUnitEditor. This control allows formats such as <number> <unit> to be easily entered and in conformance with the current locale. (More)

Showing the virtual keypad automatically in Queries

Paul.Todd | 10 September, 2009 16:38

As can be seen when a touch device boots after a hard reset or for the first time and the prompt for date and time is done, the input panel is raised and the user does not need o go through touching the control input field to activate the virtual keyboard. (More)

OVI API beta site up

Paul.Todd | 03 September, 2009 11:26

The new OVI API's have been announced!

http://www.forum.nokia.com/Ovi/ !

Currently only maps is avaliable.

 

 

Why can I not use custom soft keys in global notes?

Paul.Todd | 10 August, 2009 12:37

This question often pops up on the boards and has to do with the way global notes are implemented. (More)

CAknLocationEditor

Paul.Todd | 09 August, 2009 17:43

From FP2 there is support for a native MFNE to allow the entry of coordinates. This editor is called the CAknLocationEditor control and can be found in AknLocationEd.h. (More)

Using TSecurityInfo

Paul.Todd | 29 July, 2009 16:02

Ok its been a long time since I blogged since I have been overworked getting a couple of apps ready for OVI.

However there is some info on a useful little but well hidden class:

There are two basic ways of getting the process info at runtime, rather than compile time

The main method is to use the less than well known TSecurityInfo

This T class will get the capabilties, VID and SID of the current process, current message or current thread. bviously all these need to be within the scope of the current process rather than system wide if platsec is enabled.

There are some useful methods as well:

 

  • TSecurityInfo::SetToCreatorInfo()
    which will set all the data to the process that created this process.
  • TSecurityInfo::SetToCurrentInfo()
    which will set all the data to the this process's info.

There are other ways to get the creator info by using the "Creator*" methods in the User library but doing it via TSecurityInfo is a lot simpler to understand.

 

The process info can also be retrieved if the name, path and drive of the executable is known which is quite difficult without the "all files" capability.

RLibrary::TInfo info;
TPckg<RLibrary::TInfo> pkg(info);
User::LeaveIfError(RLibrary::GetInfo(_L("c:\\sys\\bin\\PhoNetInfo.exe"), pkg));

The creator info is quite useful as it allows the application to stop being launched by "unapproved" applications since the SID of the creating process can be checked to see if is a known one that is allowed or to ensure a creating process has the correct capabilty(ies).

Mercurial book preview

Paul.Todd | 18 April, 2009 11:26

Since the Symbian Foundation is committed to using Mercurial as its SCM (DVCS) I have been looking around for tools and training notes to get up to speed since my tools involve Subversion + Tortoise (personal) and Perforce (work).

The best reference I have found so far has been this

(http://blog.medallia.com/2007/02/a_guided_tour_of_mercurial.html)

But today O'Reilly announced they are also bringing out a new book for Mercurial and there are review drafts avaliable at this link

http://hgbook.red-bean.com/

 

S60 running on the Intel Atom

Paul.Todd | 16 April, 2009 18:51

The guys over at the Symbian blog are showing off S60 running on an Intel Atom moetherboard, showing its possible to integrate S60 onto other chips aside from ARM.

http://blog.symbian.org/2009/04/16/symbian-on-intels-atom/

Roll on the foundation when we can do this ourselves!

Google web search traffic

Paul.Todd | 02 April, 2009 15:55

Enough toaster jokes already, its April the second.....

Techchrunch have posted an interesting analysis of traffic coming to websearch.

http://www.techcrunchit.com/2009/03/29/follow-the-mobile-user/

Ok, so there are some questions around the Andoid vs S60 search views but it definately looks like S60 needs "comes with data plan" to make any kind of headway.

Still it does look like S60 is still pulling down quite a lot of traffic against some of its competitors

Mercurial SCM

Paul.Todd | 04 March, 2009 10:21

Since it was recently announced the Symbian Foundation will be using Mercurial as their SCM.

(Instead of GIT :( ) I though I would post up a crib sheet on using mercurial to get a head start on using it.

 Follow the link...

1 2 3 4 5 6  Next»
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved