找回密码
 注册
搜索
查看: 672|回复: 1

MTK 10a添加资源错误。。

[复制链接]
发表于 2011-8-2 11:08:18 | 显示全部楼层 |阅读模式
  <img src="attachments/dvbbs/2011-8/2011821163133294.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />


如图

添加字符串和菜单资源
#include "mmi_features.h"
#include "CustResDef.h"
#include "gui_config.h"

/* Need this line to tell parser that XML start, must after all #include. */
<?xml version="1.0" encoding="UTF-8"?>

<APP id="APP_MYAPP">
                        <INCLUDE file="GlobalResDef.h,GlobalMenuItems.h"/>
                        <INCLUDE file="mmi_rp_all_defs.h"/>
                        <INCLUDE file="mmi_rp_app_mainmenu_def.h">
                       
                        #if defined(__MY_APP__)
                                        <STRING id="STR_TEST_MYAPP" />
                                       
                                        <IMAGE id="IMG_TEST_MYAPP" >CUST_IMG_BASE_PATH"\\\\sky\\\\sky.gif"</IMAGE>
                                       
                                        <MENU id="MENU_TEST_MYAPP" str="STR_TEST_MYAPP" img="IMG_TEST_MYAPP" highlight="highlight_mainmenu_test" >
                                                               
                                        </MENU>
                        #endif

</APP>



不知道这错误的原因是什么!无法查错,,,跪求指点!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2011-8-2 11:09:46 | 显示全部楼层
<img src="attachments/dvbbs/2011-8/2011821191161765.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />

添加资源的res 文件代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-10-8 07:38 , Processed in 0.056744 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表