xuyizhu的专栏

嵌入式软件开发

徐亦朱ID:xuyizhu
6865次访问,排名14153好友6人,关注者12
自知、自胜、强行。
xuyizhu的文章
原创 13 篇
翻译 0 篇
转载 6 篇
评论 11 篇
xuyizhu的公告
Read the fucking source code.
最近评论
lasttimes:好东西是要支持的。
MTK资料少啊。出个错GOOGLE都找不到。

验证码是WOSB。。。。
hjq0904:继续关注中。。

版主写的不错,学习了,先谢谢
hjq0904:继续关注中。。

版主写的不错,学习了,先谢谢
hjq0904:继续关注中。。

版主写的不错,学习了,先谢谢
hjq0904:继续关注中。。

版主写的不错,学习了,先谢谢
文章分类
收藏
    相册
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    转载 MTK平台学习--设计一个应用程序(整理转发)收藏

    新一篇: MTK平台学习--对MTK按键事件的简单分析 | 旧一篇: MTK平台学习--在Organizer模块中编写一个简单地APP


    1.   To design an application one must follow the sequence as described:
         A. Write an Initialization function to register the various event handlers.
         B. Write a populate function to register various string and image elements for the
            application.
         C. Write highlight handlers for function registered.菜单项的功能,当用户选择菜单项后执行的函数。
         D. Write the Entry functions。入口函数
         E. Write the Exit function。出口函数
         F. Write the business logic to call between various entry functions.

    2.   手机程序初始化
         A. there are three functions which allow to add init functions because not every application needs to be initialized if the SIM is not present..
              a. InitializeAll
              b. InitAllApplications
              c. InitInsertSimApp
         B. Here are the steps to show when these three functions are called..
              a. Power on the handset..
              b. InitializeAll() is called..
              c. Start to play power on animation..
              d. SIM is present or not present notification to MMI..
              e. Stop playing power on animation..
              f. If SIM is present, InitAllApplications() is called. If SIM is not present, InitInsertSimApp() is called..
         C.   There is a simple rule of where to add your initialization function..
              a. If your application always works no matter SIM is present or not, please add it in InitializeAll()..
              b. If your application is SIM-dependent, please add it in InitAllApplications() or InitInsertSimApp()..
             
    3.   程序入口,程序导读
         -》MMI任务入口:
         ..\plutommi\mmi\Framework\Tasks\TasksSrc中文件MMITask.c函数MMI_task。
         -》MMI任务的建立:
         ..\plutommi\mmi\Framework\Osl\OslSrc中文件pixtelMMI.c函数WinMain调用InitApplication函数,
         在该函数中建立MMI任务,建立任务的接口函数为:osl_create_task。
         -》MMI任务信息:
         {"MMI TASK"(任务名称), "MMI Q"(队列名称), 127(优先级), 4096(堆栈大小),
         MAX_PRT_NODES(队列结点个数), MMI_task(任务入口)},
         -》MMI模块入口:
         ..\plutommi\mmi中为MMI各个模块的代码。
         比如闹钟模块,源代码在..\plutommi\mmi\Alarm\AlarmSrc中,
                       头文件在..\plutommi\mmi\Alarm\AlarmInc中。
         首先找到初始化闹钟的函数AlmInit,该函数定义在选择闹钟菜单项时调用函数HighlightAlmMenu进入闹钟功能。

    发表于 @ 2008年03月05日 13:36:00|评论(loading...)|编辑

    新一篇: MTK平台学习--对MTK按键事件的简单分析 | 旧一篇: MTK平台学习--在Organizer模块中编写一个简单地APP

    评论

    #gauyeah309 发表于2008-04-29 17:38:16  IP: 222.66.66.*
    踩一脚
    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © xuyizhu