Basic Application Framework Utilities (BAFL) is a utility library that enables Symbian Developers to use the system resources such as clipboard and file system. It is a complementary interface to the Symbian file system handling functions, and most of the APIs provided by this library requires a session with Symbian file system.
The DLL that provides the functionality and the library to which your code must link is identified below.
A Symbian application developer can use this library to use the system resources for the most common and frequent tasks such as copying and pasting data, reading files, producing sounds, comparing strings, handling notifications and so on.
The key classes of BAFL are as follows:
API | Description |
---|---|
Provides access to the clipboard. |
|
Provides access to the arguments passed to an application when it is launched from the graphical shell. |
|
Base class for implementing independent descriptor arrays. |
|
Enables an application to respond to changes in system environment. |
|
Provides a handle to the kernel-side environment change notification service. This service will notify the registered applications of any change in system environment, so that the applications can respond to the change by taking necessary actions. |
|
Provides functions for comparing two text buffers. |
|
Supports locale-specific translation of plug-in names. |
|
Provides access to the application resource files. |
|
Provides access to the string pool. |
|
Utility class for simple sound playing. |
|
Retrieves and modifies the system sounds settings. |
The following tutorials will guide Symbian Developers to use the BAFL utility library for various use-cases supported:
Copying and pasting data from clipboard
Parsing command-line arguments
Creating and managing descriptor arrays
Handling environment change notifications
Comparing text buffers
Displaying names of plug-ins
Reading application resource files
Producing sounds for common events such as messages and errors
Handling pre-defined string constants
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.