`
freesoftman
  • 浏览: 314444 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

phoneme feature研究

阅读更多
文档内容来源---Documentation Home phoneME™ Feature MR3


一. 项目简介:phoneME™ Feature is an open source version of the Sun Java™ Wirless Client Software, a high-performance platform, based on an optimized implementation of the Connected Limited Device Configuration (CLDC) and Mobile Information Device Profile (MIDP) software stack, which includes support for many Java Specification Requests (JSRs).



二.名词解释:
PCSL:一个被CLDC,phoneME Feature software client依赖的底层库,contains several individual services, including file, network, memory, and print
CLDC:Connected Limited Device Configuration
MIDP:Mobile Information Device Profile
JSR:Java Specification Requests
MIDlet:类似与Applet,专指运行在Mobile Information Device上的Java应用程序
JavaCall:统一的操作系统移植接口,全部由C实现

三.下载源代码
    1.phoneme_feature-mr3-rel-src-b01-17_jul_2008.zip
    2.Downloading the Lime and Qsound Binary Zip Archive Files
    3.或使用SVN从代码库获取代码
        % svn co https://phoneme.dev.java.net/svn/phoneme/components/component_name/trunk component_name
        % svn update


四. phoneME Feature 编译环境的建立:
1.变量%COMPONENTS_DIR%代表该工程的路径,如/home/chocolate/phoneME_feature
2.如果是在Windows平台下开发,则需要Cygwin (Cyg4Me).
    具体安装过程---
    a.下载解压cyg4me1_1_full.zip到C:\cyg4me
    b.运行C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT设置VC6相关编译环境变量
    c.编译模块、工程锁必须的环境变量有:
        $ set COMPONENTS_DIR=C:/InstallDir/phoneME_feature
        $ set BUILD_OUTPUT_DIR=%COMPONENTS_DIR%/build_output
        $ set JDK_DIR=C:/java/j2sdk1.4.2
        $ set CYG4ME=C:\cyg4me
        $ set PATH=%CYG4ME%\bin;%JDK_DIR%/bin;%PATH%

3.系统变量设定---set TARGET_CPU=i386
命令行变量设定---make TARGET_CPU=i386 all

4.软件包选择性的编译---
For example, to build the JavaCall porting layer to include JSR 120 (Wireless Messaging APIs), the make command-line looks like this:
$ make USE_JSR_120=true JSR_120_DIR=%COMPONENTS_DIR%/jsr120
注意:部分JSR包的编译可能存在对其他包的依赖

5.使用make -c选项进行特定路径、模块的编译,
例如,单独编译JavaCall模块----
$ make -C %COMPONENTS_DIR%/midp/build/javacall flag1 flag2 flag3

五. 编译JavaCall Porting Layer
(编译方式同GNU Make,先设定变量%BuildDir%,即Makefile所在的路径,其他模块的编译大同小异)
    BuildDir=%COMPONENTS_DIR%/javacall-com/configuration/phoneMEFeature/win32_emul            
    $ make -C %BuildDir% JAVACALL_DIR=%COMPONENTS_DIR%/javacall PROJECT_JAVACALL_DIR=%COMPONENTS_DIR%/javacall-com JAVACALL_OUTPUT_DIR=%        BUILD_OUTPUT_DIR%/javacall TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/tools
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics