icfans

减少或者优化OMA Download流程

0
阅读(2167)

[DESCRIPTION]
OMA Download方式下载文件要经过以下步骤:
1. The terminal displays the OMA-DD content with yes/no option as download permission.
2. The terminal displays choices to download/display information
3. The terminal ask for filename -> left softkey menu -> accept
4. Download progressing.
5. Use it now yes/no option
6. Display/use ? the content
有客户希望减少或合并以上步骤以优化用户体验。
[SOLUTION]来自半导体社区
以09A0936版本为例:
step1:
参考mmi_da_oma_dd_presetting()
//Start to download without confirmation ,set the value as false
step2:
mmi_da_recv_wap_file_dl_ind()
-〉mmi_da_scr_show_choice_screen(), 拿掉mmi_da_scr_show_choice_screen() 直接跑
mmi_da_http_confirm_start_to_download_callback()函数
合并step5&step6:
拿掉step5的show confirm screen(),直接跑yes handler.
mmi_da_entry_dispatch_confirm() 是show confirm screen的函数。
yes handler是 mmi_da_job_dispatch_to_app()
补充: 如果是COSMOS 或者11B12.16MP及其之后的DL Agent APP与service分离之后的Pluto版本,对应的接口为 srv_开
头,而不是 mmi_