Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Utility Classes Package

From 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 04:36.
52 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×