📄 《深入brew开发》——第六章 使用applet和模块 - gemsea的专栏 - csdnblog.htm
字号:
style="TEXT-INDENT: 21pt">一旦这个接口类被实现了,那么任何一个BREW的应用程序都可以注册这个接口的通知事件。在这里,我们并没有详细的讲解如何的实现这个接口类,因为这里的目的是让您了解BREW有这样的一个能力,在后面的章节中,我们会详细的讨论如何创建自定义的通知类。</DIV>
<DIV><STRONG><FONT size=4><A name=_Toc137296221>6.9
</A><SPAN>小结</SPAN></FONT></STRONG></DIV>
<DIV><SPAN> </SPAN>在本章中,主要介绍了使用BREW
Applet和模块的方法,首先讲述了BREW应用程序的组成部分MIF文件和Class
ID的作用,以及他们的特性。接下来介绍了使用BREW的ISHELL_CreateInstance()函数创建接口实例的方法,让您掌握在应用程序中使用接口的方法。再接下来介绍了创建Applet和处理BREW事件的方法,让您懂得IApplet接口中HandleEvent成员函数的作用。重点介绍了BREW应用程序堆栈的管理方式以及IAppHistroy接口的高级特性。最后告诉您,BREW可以创建自己的通知类。总体上来讲,这章的内容从总体上介绍了一下BREW编程的特性,在下一章里,我们将通过实际的例子来讲解创建BREW
Applet的过程。</DIV>
<DIV><STRONG><FONT size=4><A
name=_Toc137296222>思考题</A></FONT></STRONG></DIV>
<DIV><SPAN> 1</SPAN>、Class
ID有什么作用?Applet和接口的Class ID有什么区别吗?</DIV>
<DIV><SPAN> 2</SPAN>、MIF文件有什么作用?</DIV>
<DIV><SPAN>
3</SPAN>、应用程序堆栈管理中,增加历史数据条目的规则是什么?</DIV>
<DIV> </DIV>
<DIV> </DIV> <BR><BR>
<P id=TBPingURL>Trackback:
http://tb.blog.csdn.net/TrackBack.aspx?PostId=1609909</P><BR></DIV>
<DIV class=postFoot>
<SCRIPT src=""></SCRIPT>
[<A title=功能强大的网络收藏夹,一秒钟操作就可以轻松实现保存带来的价值、分享带来的快乐
href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(saveit=window.open('http://wz.csdn.net/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=590,height=300,left=75,top=20,status=no,resizable=yes'));saveit.focus();">收藏到我的网摘</A>]
[<A
href="http://tb.blog.csdn.net/TrackBack.aspx?PostId=1609909">发送Trackback]</A> Gemsea发表于
2007年05月15日 14:32:00 </DIV></DIV><LINK
href="http://blog.csdn.net/Gemsea/Services/Pingback.aspx" rel=pingback><!--<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:dc="http://purl.org/dc/elements/1.1/"xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"><rdf:Descriptionrdf:about="http://blog.csdn.net/Gemsea/archive/2007/05/15/1609909.aspx"dc:identifier="http://blog.csdn.net/Gemsea/archive/2007/05/15/1609909.aspx"dc:title="《深入BREW开发》——第六章 使用Applet和模块"trackback:ping="http://tb.blog.csdn.net/TrackBack.aspx?PostId=1609909" /></rdf:RDF>-->
<SCRIPT>function hide(){showComment();}</SCRIPT>
<BR>
<DIV class=post>
<DIV class=postTitle>相关文章:</DIV>
<UL class=postText>
<LI><A
href="http://blog.csdn.net/sunwhite/archive/2003/04/17/16752.aspx"
target=_blank>BREW常见问题解答(FAQ 1)</A> 2003-04-17 <A
href="http://blog.csdn.net/sunwhite/" target=_blank>sunwhite</A>
<LI><A
href="http://blog.csdn.net/smilelance/archive/2006/03/24/637136.aspx"
target=_blank>新手入门系列(三)——Brew常见错误整理(转贴外加整理)</A> 2006-03-24 <A
href="http://blog.csdn.net/smilelance/" target=_blank>smilelance</A>
<LI><A href="http://blog.csdn.net/lzmtw/archive/2004/11/17/184479.aspx"
target=_blank>应用程序域</A> 2004-11-17 <A href="http://blog.csdn.net/lzmtw/"
target=_blank>lzmtw</A>
<LI><A href="http://blog.csdn.net/sdl111/archive/2006/01/03/569237.aspx"
target=_blank>如何用BREW短消息启动BREW应用程序</A> 2006-01-03 <A
href="http://blog.csdn.net/sdl111/" target=_blank>sdl111</A>
<LI><A
href="http://blog.csdn.net/mobilechannel/archive/2005/01/31/275577.aspx"
target=_blank>CDMA增值业务平台BREW的研究与应用(1)</A> 2005-01-31 <A
href="http://blog.csdn.net/mobilechannel/"
target=_blank>mobilechannel</A>
<DIV align=right><A
href="http://blog.csdn.net/gemsea/relatedarticles/1609909.aspx"
target=_blank>更多内容...</A></DIV></LI></UL></DIV><BR><BR>
<DIV class=post id=csdn_zhaig_ad_yahoo></DIV>
<SCRIPT type=text/javascript>document.write("<img src=http://counter.csdn.net/pv.aspx?id=24 border=0 width=0 height=0>");</SCRIPT>
<SPAN class=PreAndNext id=viewpost.ascx_PreviousAndNextEntriesDown>
<DIV align=center><A
href="http://blog.csdn.net/Gemsea/archive/2007/05/15/1609919.aspx">上一篇: 《深入BREW开发》——第七章
创建新的BREW应用程序</A> | <A
href="http://blog.csdn.net/Gemsea/archive/2007/02/25/1513655.aspx">下一篇: 《深入BREW开发》——第五章
BREW简介</A></DIV></SPAN>
<DIV id=comments><SPAN id=Anthem_Comments.ascx_ltlComments__><SPAN
id=Comments.ascx_ltlComments><BR>
<DIV id=comments>
<H3>评论</H3>没有评论。 </DIV></SPAN></SPAN></DIV>
<SCRIPT type=text/javascript>
ad_width=468;
ad_height=60;
adcss=2;
unionuser=19;
ad_type='j';
count=5;
</SCRIPT>
<SCRIPT language=javascript
src="《深入BREW开发》——第六章 使用Applet和模块 - Gemsea的专栏 - CSDNBlog.files/showads.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript
src="《深入BREW开发》——第六章 使用Applet和模块 - Gemsea的专栏 - CSDNBlog.files/showgm.js"
type=text/javascript></SCRIPT>
<!--done-->
<DIV class=comments>添加新评论 <BR>
<DIV id=Anthem_PostComment.ascx_CommentUpdatePanel__>
<DIV id=PostComment.ascx_CommentUpdatePanel>
<TABLE class=commentsTable id=CommentForm cellSpacing=2 cellPadding=0
border=0>
<TBODY>
<TR>
<TD width=75>大名</TD>
<TD><INPUT id=PostComment.ascx_tbName style="WIDTH: 322px"
maxLength=32 size=40 name=PostComment.ascx:tbName></TD>
<TD><SPAN id=PostComment.ascx_RequiredFieldValidator2
style="VISIBILITY: hidden; COLOR: red" initialvalue=""
evaluationfunction="RequiredFieldValidatorEvaluateIsValid"
errormessage="Please enter your name"
controltovalidate="PostComment.ascx_tbName">Please enter your
name</SPAN></TD></TR>
<TR>
<TD>网址</TD>
<TD><INPUT id=PostComment.ascx_tbUrl style="WIDTH: 322px"
maxLength=256 size=40 name=PostComment.ascx:tbUrl></TD>
<TD></TD></TR>
<DIV id=PostComment.ascx_AntiBotImageRegion></DIV>
<TR>
<TD>校验码:</TD>
<TD colSpan=2><INPUT id=PostComment.ascx_tbAntiBotImage
style="WIDTH: 75px" name=PostComment.ascx:tbAntiBotImage> <SPAN
id=PostComment.ascx_valAntiBotImage
style="DISPLAY: none; COLOR: red"
evaluationfunction="CustomValidatorEvaluateIsValid"
display="Dynamic">检验码无效!</SPAN> <SPAN
id=Anthem_PostComment.ascx_imgAntiBotImage__><IMG
id=PostComment.ascx_imgAntiBotImage alt=""
src="《深入BREW开发》——第六章 使用Applet和模块 - Gemsea的专栏 - CSDNBlog.files/AntiBotImage.htm"
align=absMiddle border=0></SPAN> <SPAN
id=Anthem_PostComment.ascx_lbCreateAntiBotImage__><A
id=PostComment.ascx_lbCreateAntiBotImage
onclick="javascript:Anthem_FireCallBackEvent(this,event,'PostComment.ascx:lbCreateAntiBotImage','',false,'','','',true,null,null,null,true,true);return false;"
href="javascript:__doPostBack('PostComment.ascx$lbCreateAntiBotImage','')">看不清,换一张</A></SPAN>
</TD></TR>
<DIV></DIV>
<TR>
<TD colSpan=3><BR>评论 <SPAN
id=PostComment.ascx_RequiredFieldValidator3
style="VISIBILITY: hidden; COLOR: red" initialvalue=""
evaluationfunction="RequiredFieldValidatorEvaluateIsValid"
errormessage="Please enter a comment"
controltovalidate="PostComment.ascx_tbComment">Please enter a
comment</SPAN><BR><TEXTAREA id=PostComment.ascx_tbComment style="WIDTH: 400px" name=PostComment.ascx:tbComment rows=6 cols=50></TEXTAREA>
</TD></TR>
<TR>
<TD colSpan=3><SPAN id=Anthem_PostComment.ascx_btnSubmit__><INPUT language=javascript class=Button id=PostComment.ascx_btnSubmit onclick="javascript:Anthem_FireCallBackEvent(this,event,'PostComment.ascx:btnSubmit','',true,'','','正在处理...',false,null,null,null,true,true);return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("PostComment.ascx:btnSubmit", "", true, "", "", false, false))" type=submit value=提交 name=PostComment.ascx:btnSubmit></SPAN></TD></TR>
<TR>
<TD colSpan=3><SPAN id=PostComment.ascx_Message
style="COLOR: red"><A
href="http://passport.csdn.net/member/UserLogin.aspx?from=http://blog.csdn.net/Gemsea/archive/2007/05/15/1609909.aspx">登录</A></SPAN></TD></TR></TBODY></TABLE></DIV></DIV></DIV></TD></TR></TBODY></TABLE></DIV><!--done-->
<DIV class=footer>Copyright ©2007 Gemsea 模板提供:<A class=footerlink
href="http://blog.hjenglish.com/">沪江博客</A><BR></DIV>
<SCRIPT
src="《深入BREW开发》——第六章 使用Applet和模块 - Gemsea的专栏 - CSDNBlog.files/counter.js"></SCRIPT>
<SCRIPT type=text/javascript>
<!--
var Page_Validators = new Array(document.getElementById("PostComment.ascx_RequiredFieldValidator2"), document.getElementById("PostComment.ascx_valAntiBotImage"), document.getElementById("PostComment.ascx_RequiredFieldValidator3"));
// -->
</SCRIPT>
<SCRIPT type=text/javascript>
<!--
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
ValidatorOnLoad();
}
function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
else {
return true;
}
}
// -->
</SCRIPT>
</FORM>
<SCRIPT language=javascript type=text/javascript>
<!--
try
{
hide();
}
catch(e){}
//-->
</SCRIPT>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -