diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-94EAB348-DB29-5814-BB93-968D9A2A8AD2.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-94EAB348-DB29-5814-BB93-968D9A2A8AD2.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,585 @@ + + + + + +List +of Example Code Use Cases +

This document lists all the example code programs available for each module, +organised by use case.

+
Symbian Platform +Fundamentals
    +
  • Basic +helloworld application

  • +
  • How +to create a C class

  • +
  • How +to do single phase construction

  • +
  • How +to do two-phase construction

  • +
  • How +to use an R class

  • +
  • How +to use a T class

  • +
  • How +to use a mixin class

  • +
  • How +to create a static DLL

  • +
  • How +to use a static DLL

  • +
+
Application +Framework
    + + + + + + + +
  • How +to implement a simple GUI application with a single view

  • +
  • How to create an animation +using the Bitmap Animation framework

  • +
  • How to view an animation +inside a window

  • +
+ +
Communication +Framework

Data Server

    +
  • How +to do connection monitoring and management using the RConnection API

  • +
+ +
High Level +Internet Protocols
    +
  • How +to use HTTP APIs

  • +
+
Generic Application +Support
    +
  • How +to add a floating alarm to the alarm server

  • +
  • How +to add a fixed alarm to the alarm server

  • +
  • How +to get notification from the alarm server

  • + + + +
+
Generic OS +Services
    +
  • How +to compress data using the EZLIB API

  • +
  • How +to decompress data using the EZLIB API

  • +
  • How +to create a secure directory using PIPS

  • +
  • How +to read data from a file using PIPS

  • +
  • How +to write data to a file using PIPS

  • +
  • How +to remove the secure directory using PIPS

  • +
  • How +to use the P.I.P.S. standard C maths library, libm.dll

  • +
  • How +to compress/ decompress a file using Open C library.

  • +
  • How +to compress/ decompress a string using Open C library.

  • +
  • How +to do filtered data compression and Huffman compression using Open C library.

  • +
  • How +to send/receive messages using open C message queue library

  • +
  • Shows +string utility using open C libraries

  • +
  • How +to write solution for Producer/ Consumer Problem using Open C

  • +
  • how +to redirect stdio to a file using libc library

  • +
  • How +to convert a MS-word document (i.e. .doc) file in to a plain text(i.e. .txt) +file/Adobe acrobat(i.e. .pdf) file/ post-script (i.e. .ps) file/ xml (i.e. +.xml) file.

  • +
  • How +to handle global variables within the library code

  • +
  • How +to solve WSD (Writable Static Data) problem

  • +
  • How +to write a simple console-based STDLIB (C Standard library) program

  • +
  • How +to write a Techview GUI application whose engine is written using STDLIB

  • +
  • How +to create the most basic STDLIB application

  • +
  • How +to develop hybrid application which uses both pure C and native Symbian C++ +APIs

  • +
  • How +to create a named pipe

  • +
  • How +a parent process communicates with its child process using named pipes (FIFO)

  • +
  • How +a parent process communicates with its child process using a single pipe (popen())

  • +
  • How +to create multiple threads in PIPS using libpthread

  • +
  • How +to synchronize among multi threads in PIPS

  • +
  • How to handle +a signal using the default handler

  • +
  • How to handle +a signal using a customized signal handler

  • +
  • How to ignore +an incoming signal

  • +
  • How to block +and release a signal

  • +
  • How to wait +for a signal

  • +
  • How to handle +a SIGPIPE signal

  • +
  • How to gracefully +terminate a process

  • +
  • How to handle +an asynchronous event using signals

  • +
  • How to create a data recognizer

  • +
  • How to get the MIME type(s) +that a data recognizer is capable of recognizing

  • +
  • How to do data recognition

  • +
  • How +to run tasks using the task scheduler

  • +
  • How +to use the XML framework to parse XML and WBXML files

  • +
  • How +to read data from a resource file into an array

  • +
  • How +to use a resource reader to read data from a resource file into the data members +of a class

  • +
  • How +to read a resource from a resource file

  • +
  • How +to read a string resource and print it

  • +
  • How +the signature of a resource file is checked before it is used

  • +
  • How +to read a text string from a resource file

  • +
  • How +to check the identity of a resource file

  • +
  • How +to read multiple resource files

  • +
  • How +to use multiple resource files with cross-referenced resources

  • +
  • How +to write an interface definition for an ECOM plug-in

  • +
  • How +to implement an interface in an ECOM plug-in

  • +
  • How +to obtain the default implementation of an interface in an ECOM plug-in

  • +
  • How +to obtain an implementation of an interface in an ECOM plug-in

  • +
  • How +a client application uses the interface in an ECOM plug-in

  • +
  • How to do string handling +with EUserHl

  • +
  • How to do resource management +using EUserHl

  • +
  • How to get the memory overhead +of using EUserHl

  • + + + + + +
+
Graphics
    +
  • How +to create an animated sprite from a bitmap

  • +
  • How +to use the window server's direct screen access interface

  • +
  • How +to do ordinal positioning of windows

  • +
  • How +to implement simple freehand drawing using a pointer buffer

  • +
  • How +to load a bitmap

  • +
  • How +to draw a bitmap

  • +
  • How +to construct a control

  • +
  • How +to rotate a bitmap

  • +
  • How +to create a label

  • + + + + + + + +
  • How +to draw various shapes in a window

  • + + + + + + + + + +
+
Kernel and +Hardware Services
    +
  • How +to insert elements into a dynamic array

  • +
  • How +to append elements to a dynamic array

  • +
  • How +to access elements of a dynamic array

  • +
  • How +to remove elements from a dynamic array

  • +
  • How +to search a dynamic array

  • +
  • How +to sort a dynamic array

  • +
  • How +to destroy a dynamic array

  • +
  • How +to check the range for fixed arrays

  • +
  • How +to create a circular buffer

  • +
  • How +to add elements to a circular buffer

  • +
  • How +to remove elements from a circular buffer

  • +
  • How +to insert elements into a dynamic buffer

  • +
  • How +to read the elements of a dynamic buffer

  • +
  • How +to overwrite a dynamic buffer

  • +
  • How +to expand a dynamic buffer

  • +
  • How +to delete elements from a dynamic buffer

  • +
  • How +to compress a dynamic buffer

  • +
  • How +to display the contents of a buffer

  • +
  • How +to do lexical analysis

  • +
  • How +to create a resizable buffer

  • +
  • How +to swap two resizable buffers

  • +
  • How +to assign data to a resizable buffer

  • +
  • How +to reallocate a resizable buffer

  • +
  • How +to replace and modify the data in a resizable buffer

  • +
  • How +to do date and time handling

  • +
  • How +to connect to the file server

  • +
  • How +to disconnect from the file server

  • +
  • How +to create a file

  • +
  • How +to retrieve the attributes of a file

  • +
  • How +to create a file server session

  • +
  • How +to retrieve default paths

  • +
  • How +to change the session and system path

  • +
  • How +to obtain information about the available drives

  • +
  • How +to parse filenames

  • +
  • How +to monitor the progress of a file copy

  • +
  • How +to use the Publish and Subscribe mechanism

  • +
  • How +to do security checking on a client by a server

  • +
  • How +to get locale-specific currency values and symbols

  • +
  • How +to synchronise threads

  • +
  • How +to use thread local storage

  • +
  • How +to implement an asynchronous timer

  • +
  • How +to implement a periodic timer

  • +
  • How +to implement a heartbeat timer

  • +
  • How +to create a global message queue

  • +
  • How +to send a message to another process

  • +
  • How +to receive a message from another process

  • +
  • How +to load and unload a driver

  • +
  • How +to create multiple connections to a server

  • +
  • How +to use active objects and an active scheduler

  • +
  • How +a wait loop can be used to identify request completion

  • +
  • How +to accept and print keyboard inputs to a console

  • +
  • How to create multiple subsessions within a session

  • +
  • How +to start a server

  • +
  • How +to create a single session with a server

  • + +
  • How +to load and read from the locale DLL

  • +
  • How +to construct an object and leave on failure

  • +
  • How +to construct an object and return an error code on failure

  • +
  • How +to cleanup compound classes

  • +
  • How +to implement the NewL() static function

  • +
  • How +to implement the NewLC() static function

  • +
  • How +to use the cleanup stack

  • +
  • How +to use the TRAPD macro

  • +
  • How +to use CleanupDeletePushL()

  • +
  • How +to use CleanupClosePushL()

  • +
  • How +to use CleanupReleasePushL()

  • +
  • How +to use CleanupArrayDeletePushL()

  • +
  • How to use a doubly linked list

  • +
  • How to use a singly linked list

  • +
  • How to use a delta queue

  • +
  • How to generate timer events

  • +
  • How +to use a logical device driver (LDD) and a physical device driver (PDD)

  • +
  • How +to use a global condition variable

  • +
  • How +to implement a write operation on a shared memory block

  • +
  • How +to use a local condition variable

  • +
  • How +to create a queue of integer tokens

  • +
  • How +to load and unload an ldd and pdd

  • +
  • How +to cancel an asynchronous request

  • +
  • How +multiple clients in different processes connect to a server

  • +
  • How to handle binary data using 8 bit descriptors

  • +
  • How to use basic buffer descriptors

  • +
  • How to create and use a heap buffer descriptor

  • +
  • How to use descriptors as function arguments

  • +
  • How to use modifiable descriptors

  • +
  • How to use non-modifiable descriptors

  • +
  • How to use pointer descriptors

  • +
  • How +to get the number of available power-related resources

  • +
  • How +to get information about a power-related resource

  • +
  • How +to get information about all power-related resources

  • +
  • How +to get the state of a power-related resource

  • +
  • How +to get the number of clients using a particular power-related resource

  • +
  • How +to get the number of power-related resources used by a client

  • +
  • How +to get information about all the power-related resources in use by a particular +client

  • +
  • How +to get information about all clients using a particular power-related resource

  • +
  • How +to get the names of all Resource Manager clients

  • +
  • How +to change the state of a power-related resource

  • +
  • How +to get notification about a state change to a power-related resource

  • + +
  • How +to use semaphore in a multithreaded application

  • +
  • How to understand +the differences between multithreaded code running in a unicore environment +and in a multiprocessor environment

  • +
  • How to use a +named database using RdbNamedDatabase

  • +
+
Messaging
    +
  • How +to create a client registry

  • +
  • How +to create an IMAP account

  • +
  • How +to create an SMTP account

  • +
  • How +to create an SMTP message

  • +
  • How +to send an SMTP message

  • +
  • How +to connect to the IMAP server and download mail sent using SMTP

  • +
  • How +to update registry information when MTM groups are installed or uninstalled

  • +
  • How +to create a POP3 account

  • +
  • How +to connect to a POP3 server and download mail sent using SMTP

  • +
  • How +to create a SendAs message

  • +
  • How +to display account names

  • +
  • How +to define the connected session's available message types

  • +
  • How +to forward a message from an MTM account

  • +
  • How +to query for the capability of an MTM account

  • +
  • How +to create a BIO message

  • +
  • How +to create a session with the message server

  • +
  • How +to send a BIO message

  • +
  • How +to create a BIO message parser

  • +
  • How +to read messages from the message store

  • +
  • How +to parse a message's body text using the BIO message parser

  • +
  • How +to display the header information for message entries

  • +
  • How +to search and sort a message store

  • +
  • How +to do a combined search/sort of a message store

  • +
  • How +to search and sort a message store iteratively

  • +
  • How +to search and sort a message store using a query ID

  • +
  • How +to create an SMS service

  • +
  • How +to create an SMS

  • +
  • How +to send an SMS

  • +
  • How +to access and display SMS messages in the inbox, outbox and sent folders

  • +
  • How +to delete SMS messages

  • +
+
Multimedia
    +
  • How +to play an audio tone

  • +
  • How +to play audio from a file

  • +
  • How +to convert an audio file to another format

  • +
  • How +to record an audio file

  • +
  • How +to stream data

  • +
  • How +to set the volume of an audio file

  • +
  • How +to capture a still image

  • +
  • How +to capture video

  • +
  • How +to transfer viewfinder data

  • +
  • How +to perform image processing

  • +
  • How +to implement sink and source plug-ins for the Multimedia Framework

  • +
  • How +to convert images from one format to another

  • +
  • How +to manipulate images, for instance rotate, flip and zoom

  • +
  • How +to record audio clips

  • +
  • How +to get the list of audio formats supported

  • +
  • How +to record audio

  • +
  • How +to implement a codec plug-in for the Multimedia Framework

  • +
  • How +to convert media data from one encoding into another

  • +
  • How +to convert PCM8 into PCM16 encoded audio data

  • +
  • How +to implement a format encoder plug-in to the Multimedia Framework

  • +
  • How +to implement a format decoder plug-in to the Multimedia Framework

  • +
  • Basic +panorama stitching

  • +
  • Panorama +stitching based on viewfinder tracking

  • +
  • Image +processing with some basic effects

  • +
  • Generating +Scalado SpeedView objects (Spmo)

  • +
  • Removing +effects from the images

  • +
  • Adding +effects to the images and generating a preview

  • +
  • Adding +effects to the images and generating an overlay

  • +
  • Adding +a SpeedView object to the image

  • +
  • Squeeze +an image from a file to a file

  • +
  • Squeeze +an image from buffer to buffer

  • +
  • Auto +squeeze an image from file to file

  • +
  • Rotate +an image from file to file

  • +
  • Blend +a jpg data in file to a file and squeeze it

  • +
+ +
PC Tools
    +
  • How to create +a simple installation file for an application

  • +
  • How +to create an installation file for a multilingual application

  • +
+ + + +
System GUI +Framework
    + + +
  • How to create and display +a digital clock

  • +
  • How to create and display +an analog clock

  • + + + +
+ +
\ No newline at end of file