|
|
Microsoft Visual Studio Project Setup for QUALCOMM BREW™ Applications
May 2004 by Lauren E. Darcey
This article will describe how to manually configure a simple Microsoft Visual Studio Project for a QUALCOMM BREW™ Application. The QUALCOMM BREW™ Addins for Visual Studio does some of this for you now.
Prerequisite: Installing the appropriate BREW™ SDKs.
Project Setup Steps:
- Create an empty VC Solution (under MDEV)
- Create an empty Win32 DLL Project (Choose Empty Project Option)
- Update the Project Settings - Include directory to have the SDK includes
- Update the Project Settings - Update the C/C++ Preprocessor directives to include AEE_SIMULATOR
- Update the Project Settings - Add the required BREW™ SDK files to the project. (AEEModGen.c and AEEAppGen.c)
- Update the Project Settings - Set the Debugging Command to the appropriate BREW™ emulator or simulator, e.g. C:\Program Files\BREW SDK v2.1.0\Bin\BREW_Emulator.exe
- Update the Project Settings - Set your output directory to the appropriate area in your Applets directory (set in the emulator/simulator).
- Update the Project Settings - Update your Post-Build Event to copy your latest mif and bar files to the appropriate areas in your Applets directory.
- Create a temp BID file for your project. This is a simple text file with a class id in it. Include your BID file in your Headers directory
- Create a MIF file for your applet - Create a new class, choose BID from file and point at BID file. Under General settings, set any special priviledges (File access, etc.)
- Write your source
- Build and hit F5 to launch your application within the emulator or simulator.
|
|
Back to the Monthly Archive
For more information, contact writing@mamlambo.com.
|