In mobile phones that support brew, there are many brew-related parameters, as well as many specific functions and API-related parameters on mobile phones. Knowing these parameters helps mobile phone manufacturers to port brew to their mobile phones and develop applications conveniently. For CP/SP, understanding the detailed information of the target mobile phone platform is not only conducive to the development of special applications, but also convenient for application transplantation. In brew 3. in earlier versions of X, many of the information cannot be obtained through the brew device configurator or brew simulator, but is provided by the mobile phone manufacturer through a separate document, these documents are generally in pdf format. 1. Carrier-related parameters
These parameters are generally provided by the carrier, and are implanted into the mobile phone by the mobile phone manufacturer. These parameters are generally related to the brew distribution system and security.
1. There are two ads-related parameters: IP address and domain name. If the IP address is 0, the mobile phone uses the domain name; otherwise, the IP address is used directly. If a domain name is used, the carrier must provide the address of the DNS server (generally two, one master and one slave). The mobile phone will connect to the DNS server and resolve the domain name to an IP address. By using IP addresses directly, mobile phone users can shorten the time for establishing data connections, but this is not conducive to future ads location changes.
2. The carrier ID is a 32-bit carrier ID used for authentication and billing. The sub-identification is allowed to distinguish the local branch of the carrier.
3. bkey is a 16-byte key used to authenticate communication between the mobile phone and ads. Similar to akey, it can be associated with min/ESN to ensure more secure system. If the bkey is set to zero, the system uses the min algorithm.
Generate a shared key to complete security authentication.
4. The akey or bkey is a identifier to identify whether the mobile store uses the akey or bkey to verify the communication between the mobile phone and the ads download server.
5. User authentication marks are used to notify the mobile store of the connection between authentication and ads at the user level. You can only use Sid, or combine SID with password.
6. The application execution policy indicates which applications are allowed to run on the mobile phone. Including
A) True-BREW application (certified by brew Certification
Center ),
B) application specified by the carrier
C) A or B
D) both A and B meet
C is generally used.
7. Test the disable policy, which is an identifier used to identify whether to prohibit the installation of applications with the test signature on the mobile phone.
8. Sid is a 32-byte integer. The carrier uses Sid to distinguish end users. For convenience, many carriers generally use min
As Sid.
2. Basic device information
The basic information of the mobile phone includes the mobile phone model, platform number, brew version number, chipset model, compiled version, processor model, file system and flash memory type, serial port support type, and whether the Ruim card is supported, whether brew debuger, BREW application manager, pek, uione, homescreen, IPv6, and wireless LAN are supported.
Brew
The size of an application is limited by the amount of space available in the idle file system and the amount of available Ram. Brew applications are loaded into RAM during execution. Any remaining RAM can be used for memory allocation, resource loading, and control creation, the number of available Ram depends on the type of the mobile phone and the configuration of the mobile phone manufacturer.
3. Display Information
The mobile phone displays a lot of information, including support for Chinese fonts, support for true-type fonts, screen size and color depth, LCD type, and support for backlights.
Due to the unique luminous principle, the LCD screen cannot reach the brightness of the traditional display. As a result, many color-rich patterns cannot display the original effect under the strong light, this is especially evident when mobile phones are used outdoors. At the same time, the number of colors that a mobile phone can provide is also an important bottleneck that limits the performance of the artist. The screen sizes of mobile phones vary from 80x30 pixels to x 40 pixels, just like CGA, TTS, and even VGA in PC development. Therefore, the developers of Sino-US engineers should consider the screen adaptive problem at the beginning of the design, for example, at the resolution of 128 x l28 and X, how to display the same image without changing the image.
4 input support
Mobile phone revenue has many bottlenecks for users. An excellent input method can bring a lot of convenience to users. For a powerful 3G mobile phone, if it has a convenient and fast input method, it is undoubtedly a part that cannot be ignored by 3G mobile phone manufacturers. The support for input methods is very important. If the mobile phone manufacturer provides its own input method framework, it is generally necessary to provide the relevant aeetext. h file for description.
The mobile phone manufacturer should determine the layout of the mobile phone keyboard, whether the BREW application manager can be activated with one click, whether the keyboard lock is supported, and whether simultaneous buttons are supported.
In addition, the touch screen must be clearly identified. Note that pen events are different in brew2.x and brew 3.x.
5. Network Information
Mobile phone network information generally includes two aspects: telecom network information and Internet information. Telecommunications Network Information refers to IS-95A, IS-95B, CDMA 1X, EV-DO, UMTS and so on, at the same time specify the corresponding wireless frequency 800 MHz, 1500 MHz, 1800 MHz, MHz and so on.
Internet information includes the number of TCP and UDP supported by mobile phones at the same time. Early brew mobile phones support at least one TCP and one UDP connection, brew
2. x mobile phones support at least three TCP and four UDP at the same time. Brew 3. x mobile phones support more connections at the same time.
6. Telephone-related information
Because brew directly provides support for telephone services on mobile phones, there are also a lot of phone-related information on mobile phones. Mobile phone manufacturers can provide different phone ringtone formats and classification standards, and provide different phone book recording formats and capacities. However, they generally need to provide corresponding header files for instructions.
The mobile phone also needs to provide whether to support the call record service, the service when the mobile phone is on/off, whether to support the call processing service, and whether to support the interaction between BREW and other applications, such as brew.
Call WAP, MMS call brew, and so on.
7 hardware support
Generally, mobile phones have a flash-based file system, while early mobile phone storage was based on EEPROM. If the mobile phone has other special services supported by hardware, it is best to display it in the brew function of the mobile phone. For example, whether GpsOne is supported, whether slide or flip events are supported, whether camera services are supported, whether game controllers are supported, and whether External keyboards are supported.
Camera has become one of the essential features of mobile phones. Compared with traditional digital cameras, which are large in size and inconvenient to store, accept, and transmit, mobile phone camera is more convenient and flexible, and can transmit images, photos, and videos (for example: bluetooth, infrared, email, etc. Moreover, with the development of mobile phone hardware and software, the performance of mobile phone cameras will be greatly improved, and even in some aspects, traditional digital cameras can be completely replaced.
Bluetooth is a widely used near-distance wireless technology. If a mobile phone supports Bluetooth, it is also supported by brew.
8. Software Support
Software Support in mobile phones first refers to the degree of support for APIs in the brew SDK. If it is not supported by some APIs, it must be verified with the carrier's mobile phone specification first, then, list the known issues and try to solve them.
Various mobile phone services should also be clarified, such as whether screen protection is supported, whether the wallpaper service is supported, and whether the user standby interface of the uione technology is supported.
Pre-installed applications (mainly dynamic pre-installed applications) or self-started applications should also be listed.
9 multimedia support
Multimedia services are very important in mobile phones and also an important aspect of special mobile phones. Mobile phone manufacturers should specify the audio file formats supported by mobile phones: Midi, MP3, qcp, PMD, EVRC-B, smaf, phrase, AAC, AAC +, ADPCM, and so on.
MMF (smaf format) is used to add voice effects to the Midi platform. MMF is a file in smaf format, smaf is the abbreviation of syntheticmusic mobileapplication format, and is the multimedia data format developed by Yamaha. The smaf specification is defined as a multimedia document format that can be played on a portable splitter. Compared with standard MIDI documents of the same type, smaf has the advantages of small size and strong performance. In fact, MMF is a type of MIDI file. In essence, the working principle of MMF is similar to that of Midi. PMD (cmx format) allows a file to contain text, images, animations, and sounds. All these elements are integrated into a small file and can be transmitted between handheld devices. The PMD file contains audio and/or video. Brew2.x or a later version can play the PMD files of mixed audio and video. brewi. X can only play audio files. You need OEM support to play the PMD file on your mobile phone.
The same is true for image files. The formats of image files include JPEG, BMP, BCI, cmx, and PNG. When PNG is used to store a grayscale image, the depth of the grayscale image can be up to 16 bits. When the color image is stored, the depth of the color image can be up to 48 bits, it can also store up to 16-bit Q-channel data. PNG uses a lossless data compression algorithm derived from lz77, with streamability reading/writing performance. The image file format allows continuous reading and writing of image data, this feature is suitable for generating and displaying images during communication. At the same time, the display feature of successive approximation enables the image to be displayed on the terminal while the image files are transmitted on the communication link. After the entire outline is displayed, the image details are gradually displayed, that is, first display the image with low resolution, and then gradually improve its resolution.