×
Namespaces

Variants
Actions

Utility Classes Package

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: samooha_2020 (14 Sep 2009)
Last edited: hamishwillee (30 May 2013)

Utility package is a set of classes that can be used to implement common needed behavior of application. The utility package covers the following areas:

 - XML Parsing
 - Connection Handling
 - HTTP transactions
 - Images downloading and decoding
 - Location tracing
 - Others

UtlBasicClasses

  • UtlSerializableObject the basic simple T-Class that's used as basic class for all model objects, created to effectively use the polymorphisms technique
  • UtlTimer It's time class that is inherited from CTimer
  • UtlLogger It's logger class that contain good file logging APIs. The drawback of this class that it's stateless which mean every time try to log will open file and write log then close the file
  • Download UtlBasicClasses classes from here: UtlBasicClasses.zip

ConnectionManager

  • Starts RConnection Syn or Async
  • Monitor started connection and report errors
  • Share IAP between many processes, using unique UID
  • Retrieve initiated connection info to be used in other APIs
  • Download ConnectionManager classes from here: ConnectionManager.zip

UtlXmlParser

  • Stateful XML SAX parser, that notify its observer the following events TagOpen, TagContent and TagEnd
  • Download UtlXmlParser classes from here: UtlXmlParser.zip
This page was last modified on 30 May 2013, at 07:36.
40 page views in the last 30 days.