Brew SDK version differences (I)

Source: Internet
Author: User

Brew1.0 has limited functions, while brew1.1 has a lot more features. Brew1.1 introduced security services for the first time. icipher can simply encrypt and decrypt information, ihash implements data discretization, and irsa implements asymmetric security algorithms. Brew1.1 provides support for the address book (iaddrbook and iaddrrec). It uses the address book as a special case of the database. At the same time, the support for ringtones (iringermgr) allows the BREW application to directly set the music file as a cell phone ringtone, more importantly, the location service interface iposdet is introduced, which greatly enriches the BREW application types.

In terms of memory management, brew1.1 introduces three new interfaces, ipeek, isource and isourceutil, to process streaming data. For Internet services, brew1.1 provides iWeb, iwebopts, and ihtmlviewer, allowing applications to easily access HTTP servers on the Internet and display basic HTML pages. The ilicense interface in brew1.1 allows applications to control their user permissions, making the billing method more flexible. iqueryinterface provides another method to obtain interfaces.

 

The first commercial version in China is 2.0. Brew 2.0 began to provide support for Bluetooth (ibtag, ibtsdp and ibtsioport). Unfortunately, the mobile phones that can use the Bluetooth feature in brew have not been listed in China. In terms of display, ifont can measure and redraw text, and applications can display different fonts for different content.

For multimedia services, imedia is the base class of all multimedia objects in brew. In terms of image processing, the ibitmap interface can be used to operate bitmaps in memory directly on the screen. idib inherits from ibitmap to implement a device-independent bitmap structure, itransform can implement complex image processing such as bitmap scaling and rotation. Iimagectl can browse images in a frame with a scroll bar and obtain image attributes. The isprite interface is similar to the layer concept in Photoshop, so that you can easily overlay and redraw.

For memory management in system services, iclipboard can be used by applications to complete the standard copy and paste functions. Different applications can use iclipboard for shared memory. Iramcache provides the least recently used page replacement algorithm, which is used for virtual page storage management. The Heap Storage zone meets the cache function in the TTL mechanism. Memory virtual storage management is now the most common and most successful method-when the memory is limited, expand a part of the external memory as the virtual memory, the real memory only stores the information used during the current operation. This undoubtedly expands the memory usage efficiency and greatly improves the CPU concurrency. Virtual page storage management: divides the space required by the process into multiple pages, stores only the currently required pages in the memory, and stores other pages in the external storage management mode. In addition, iunzipastream in brew 2.x supports decompression and storage of stream data.

For telecom services, ivocoder can capture and play the content of the voice channel goose and other audio files.

For network services, IDNs starts to provide DNS query functions for networked applications.

For security services, brew2.0 began to provide channel security methods. issl supports SSL/TLS network connections, and ix509chain is used to manage and verify X.509 certificate chains, ihashctx further enhances the hash data processing function. That is to say, in brew2.0, the nine major types of services provided by brew are basically formed.

Brew2.1 provides support for 3D image processing in multimedia services (i3d, i3dmodel, and i3dutil). However, due to unsatisfactory results, these three interfaces are discarded in later versions. Brew2.1 also provides support for Open gl es (Figure 11-11 ).

 

 

Compared with brew2.x, brew3.x greatly changes and overwrites the internal implementation of many interfaces. As a transitional version of 3.0 is not commercially available in China, brew3.1.5 is a stable commercial version, while brew3.1.5sp01 further enhances brew3.1.5 and solves some problems.

For multimedia services, ibitmapdev provides many methods to process device bitmaps. In terms of communication services, iport provides a common interface for sending and receiving two-way data streams. In terms of system services, iaclockctl allows you to create analog clock display, and irscpool allows you to manage the resource access lifecycle. Ithread provides a method similar to multithreading to make parallel processing more convenient. In terms of network, iwebeng allows users to develop their own protocol stacks (based on the Client/Server mode protocol stacks ).

In terms of file system services, OSS is fond of supporting more than 4 GB of file space, supports reading and writing of MMC/SD and other external memory cards, and unifies the path of images, music, videos, themes, texts, sounds, and links, added ACL directory access permission control. Brew 3. resource Management in X provides a general method for controlling resource access. It can coordinate and manage resource acquisition and release. When the resource status changes, it sends a notification to the registered object, you can dynamically determine the priority of an application when using related resources (Figure 11-12 ).

At the same time, brew3.x supports the complex text message function to fully implement the text message protocol is-637. For text message sending and receiving, you can configure and read attributes such as the recipient's number (Mo), Sender's number (MT), and time information. The text message content includes ASCII, Unicode, and binary. In terms of SMS management, you can store and read text messages on mobile phones and Ruim cards, delete text messages, update text messages, and achieve unified management.

 

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/wireless_com/archive/2010/07/12/5728889.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.