PrevNextUpHome SophiaFramework UNIVERSE 5.3

1.2. Configuration

1.2.1. GUI Framework

GUI Framework is used to develop the BREW applet containing UI components such as window, control, dialog, menu etc.

By automating complicated GUI processing such as event dispatching, redrawing, etc, GUI Framework enables developers to focus on making their applications truly exciting and original.

For more details, see Development with SFY GUI Framework or SFY Responder.

Example: standard GUI control (Example/standardcontrol_sfy, customwindow_sfy, screensaver_sfy, and tabbrowser_sfy)

1.2.2. Utility


String classes can be used to compare, assemble, search and copy strings. Type conversion between the AChar string (the single/multi byte string) and the WChar string (the double byte string) are automatically performed.

For more details, see String.

Example: String (Example/stringexplainer)

Shape and Color

Shape and Color classes make the process of arranging, translating and drawing figures intuitively.

They can process several colors simultaneously and significantly simplify the calculation of coordinates.

For more details, see Shape and Color.

Example: graphic processing (Example/graphicsexplainer)


Collection classes optimize the processing of array lists, stacks and hash maps in BREW. They enable developers to store, obtain and search elements with great ease. The element of Collection object can be obtained and processed through the iterator.

For more details, see Collection.

Example: Collection (Example/collectionexplainer)


Memory classes encapsulate the allocation and deallocation of dynamic memory through use of the MALLOC and FREE functions. Memory classes include a heap class which supports block allocation and a ring buffer class.

Mutual conversion between String and Buffer classes is possible.

For more details, see Memory.

Example: Buffer (Example/bufferexplainer)


File classes have functions to create/delete files and directories, to obtain the parent directory, or to manage the file path such as changing path extensions.

For more details, see File.

Example: Storage (Example/storageexplainer)


HTTP communication classes, IP address and DNS resolution classes, along with SSL compatible TCP/UDP socket communication classes are all available.

For more details, see Network.

Example: Storage (Example/storageexplainer), Protocol (Example/protocolexplainer)


Mail classes encapsulate complicated handling of POP3/SMTP protocols required to send/receive mail. They can handle attachments as well.

For more details, see Sending and Receiving Mails.

Example: Protocol (Example/protocolexplainer)


Stream classes automate complicated context management for data transmission/reception, simplify the input/output of file, memory, and network communication, or the input and unpack of ZIP file.

For more details, see Stream.

Example: Stream (Example/streamexplainer)


SOAP / XML classes manage the XML data used in the applications for web service. The SOAP-RPC protocol and the XML parsers of DOM/SAX method are supported.

And also the XML parser can handle both DTD and XML Schema.

For more details, see SOAP / XML.

Example: XML parser (Example/xmlexplainer)


Mathematical classes enable the use of floating-point operations, which are the standard math functions included in the RVCTB complier. They generate random numbers using BREW APIs, Linear Congruential methods or MT methods. Trigonometric function tables for rapid calculations of trig functions are also available.

For more details, see Mathematical Operation.

Example: Mathematical operation (Example/mathematicsexplainer)

Other Utility Class

Additional utility classes including classes to handle dates, terminal information, endians, drawing, associative array, etc.

For more details, see Other Utilities.

Example: Other Utility (Example/generalexplainer), Pointer (Example/pointerexplainer)

1.2.3. C++ Wrapper for BREW API

C++ wrapper classes for BREW APIs in the C programming language.

For more details, see BREW Interface Wrapper.