You Are Here:

Community: Blogs

Paul Todd's Forum Nokia Blog

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...

HTML Control

Paul.Todd | 25 February, 2009 15:28

Gzytom has posted up a new Symbian control for lightweight parsing and rendering of html compatible with 2nd edition up to the latest 5th edtion. (More)

DevcertList update

Paul.Todd | 06 January, 2009 13:54

DevcertList has been updated to version 1.2 (More)

Mobbler update

Paul.Todd | 05 January, 2009 12:08

Michael Coffey has just updated Mobbler with lots of useful example code that are missing from the S60 examples

Download manager example
Incoming call watcher
Marquee/ticker control
Setting list item withAccess points

 

Get it here

 http://code.google.com/p/mobbler/

Looks like I was wrong

Paul.Todd | 31 December, 2008 18:01

It appears there might be a need for antivirus software on S60 phones after all.

 (More)

Reading and writing DM adapter settings

Paul.Todd | 29 December, 2008 18:37

This continues the posts on DM adapters but I have had to break it into 3 parts as its very long because some areas are rather complicated...

 (More)

 
1 2 3 4 5  Next»
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fblogE2fgoranE2dsandersE2dforumE2dnokiaE2dblogE2fflashX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ