MTK Menu resources to add code related to the switch machine

Source: Internet
Author: User

Today finally solves the problem that has been troubling for a long time:

When entering the phone interface, there is only the menu name, but there is no GIF animation corresponding to the menu.

In CustResDef.h, you can load the resources of the menu:

#elif defined (__mmi_mainlcd_128x128__)

#define Cust_img_path ". ////.. customer////images////neptunecolor128x128 "

             #define CUST_IMG_BASE_PATH             &NB Sp   ". ////.. Customer////images////neptunecolor128x128 "For the menu has nine Gongge, Page, list three display way, defines which kind of display method, will call the related animation to the menu display way mainly uses Cfg_ Mmi_mainmenu_type, __mmi_mainmenu_type__ Two macros to decide sometimes, although the # define CFG_MMI_MAINMENU_TYPE (__page__), however, if __mmi_mainmenu_ When the type__ definition is still nine, the menu that is displayed is probably nine Gongge instead of a page. So you need to Cfg_mmi_mainmenu_type, __mmi_mainmenu_type__ two macros are defined as the page way. Today's harvest is to know the menu display format selection about the code, the next time you encounter no menu animation problems, it is easier to know the problem is note: If you modify Cfg_mmi_mainmenu_type, __mmi_mainmenu_type__ two macros, You will need a new, if you use          remake, you may not have the expected results. The key word for the switch ring is  power_on_tone, Power_off_tone; When the switching machine sound is not output from the audio amplifier, or there is no switch sound (when the audio amplifier is set up in the afe.c), it can be case  Power_on_tone Add the code to enable the audio amplifier to implement the operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.