Font Size: a A A

Research And Practice Of BREW-Platfor Mbased Mobile Application Development

Posted on:2012-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:C GaoFull Text:PDF
GTID:2218330338952967Subject:Software engineering
Abstract/Summary:PDF Full Text Request
This paper introduces the basic structure of the BREW program, common application interface, buttons and event definition, how to use the timer and the resource editor. I plan to focus on procedural framework, and further studies on popular application development framework, how to program more efficiently, the program is becoming clearer, enhanced scalability and easy maintenance.BREW platform describes the basic concepts and features, as well as the structure and some common BREW interface. BREW application management has the core IShell interfaces, helper functions for the application to provide helper methods.IDisplay device interface function is used to draw text on the screen, bitmaps and simple geometry. IFileMgr interface function is used to create, delete and rename files or directories, and provides access to relevant information tools. ISound interface is used to provide basic voice services.This article studies the BREW platform for mobile application development technology used in the actual phone features of the program and how to optimize the preparation of the BREW program. For example, design patterns used in the callback function, object oriented, message processing and so on. BREW mobile applications and desktop applications, the similarities and differences, made some notes and collision detection algorithm. Optimization of the importance of BREW applications and methods. Optimization process optimization is divided into two aspects of size and speed, and memory optimization is very important.There are practical examples of projects which prepared to study how to write the actual program. In the actual program, use the status transmission mechanism, through inheritanceSTATE classes to achieve a common approach to jump back and forth between the various states, while the GAME class is the core engine of the entire process, providing the frame cycle, and event handling, and other core functions. The game logic functions and other operations in the mode of drawing of the Proc () and Draw () methods which add the appropriate code.
Keywords/Search Tags:BREW, ProgramStructure, IShell, MobileGames
PDF Full Text Request
Related items