Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of customizing method and system of the HMI interface based on Android system, be intended to solve its background picture of existing navigation terminal and theme colors single, cannot the problem of self-defined adjustment.
Technical scheme of the present invention is as follows:
Based on the customizing method at the HMI interface of Android system, wherein, comprise step:
A, when navigation terminal system acceptance is to the regulating command of theme colors, display screen is divided into two viewing areas, left and right, the preview interface that on the left side viewing area shows topics, viewing area shows the palette of multiple color on the right; When palette receives selection instruction, on the left side viewing area is updated to the theme preview interface of selected color;
B, when navigation terminal system acceptance is to the regulating command of background picture, recall preset picture, and the preview interface of the selected background picture of display;
C, after confirmation theme colors and background picture, theme colors and background picture carried out being sent to each application program with the form of broadcast, each application program receives synchronized update theme colors and background picture after broadcast.
The customizing method at the described HMI interface based on Android system, wherein, described step C also comprises:
The Controls of system reads up-to-date theme colors and background picture, and synthesizes one and have Showing Picture of fade effect.
The customizing method at the described HMI interface based on Android system, wherein, it is selective that described palette has 16 kinds of colors.
The customizing method at the described HMI interface based on Android system, wherein, picture preset in described step B is stored in advance in navigation terminal or by obtaining in exterior storage medium.
The customizing method at the described HMI interface based on Android system, wherein, described step C specifically comprises:
The Controls of C1, system inherits View type, and monitors the broadcast of theme colors and background picture change;
C2, when listen to theme colors and background picture change broadcast time, each application program quotes Controls, realizes theme colors and the background picture real-time change of each application program.
Based on the self-defined system at the HMI interface of Android system, wherein, comprising:
Theme colors adjustment module, for when navigation terminal system acceptance is to the regulating command of theme colors, display screen is divided into two viewing areas, left and right, the preview interface that on the left side viewing area shows topics, viewing area shows the palette of multiple color on the right; When palette receives selection instruction, on the left side viewing area is updated to the theme preview interface of selected color;
Background picture adjustment module, for when navigation terminal system acceptance is to the regulating command of background picture, recalls preset picture, and the preview interface of the selected background picture of display;
Update module, for after confirmation theme colors and background picture, carries out being sent to each application program with the form of broadcast by theme colors and background picture, and each application program receives the rear synchronized update theme colors of broadcast and background picture.
The self-defined system at the described HMI interface based on Android system, wherein, described update module also comprises:
Synthesis unit, the Controls for system reads up-to-date theme colors and background picture, and synthesizes one and have Showing Picture of fade effect.
The self-defined system at the described HMI interface based on Android system, wherein, it is selective that described palette has 16 kinds of colors.
The self-defined system at the described HMI interface based on Android system, wherein, preset picture is stored in advance in navigation terminal or by obtaining in exterior storage medium.
The self-defined system at the described HMI interface based on Android system, wherein, described update module specifically comprises:
Monitoring unit, the Controls for system inherits View type, and monitors the broadcast of theme colors and background picture change;
Updating block, for when listening to the broadcast of theme colors and background picture change, each application program quotes Controls, realizes theme colors and the background picture real-time change of each application program.
Beneficial effect: pass through the present invention, user can be supplied to and freely define the theme colors of different colours and the function of different background pictures, like this after user selects certain theme colors and background picture, each APP(application program) synchronized update theme colors and background picture.The present invention can better meet car owner carrys out the navigation of self-defined multimedia terminal at any time HMI interface according to the hobby of oneself.
Embodiment
The invention provides a kind of customizing method and system of the HMI interface based on Android system, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the customizing method preferred embodiment at a kind of HMI interface based on Android system of the present invention, and as shown in the figure, it comprises step:
S1, when navigation terminal system acceptance is to the regulating command of theme colors, display screen is divided into two viewing areas, left and right, the preview interface that on the left side viewing area shows topics, viewing area shows the palette of multiple color on the right; When palette receives selection instruction, on the left side viewing area is updated to the theme preview interface of selected color;
S2, when navigation terminal system acceptance is to the regulating command of background picture, recall preset picture, and the preview interface of the selected background picture of display;
S3, after confirmation theme colors and background picture, theme colors and background picture carried out being sent to each application program with the form of broadcast, each application program receives synchronized update theme colors and background picture after broadcast.
In embodiments of the present invention, theme colors and background picture can self-definedly be selected, and after having confirmed theme colors and background picture, each application program will receive the broadcast of theme colors and background picture renewal, and after receiving broadcast, synchronized update theme colors and background picture.
Specifically, in step sl, when regulating the theme colors of navigation terminal, first can click theme colors and regulating button, sending the regulating command of theme colors; When navigation terminal system acceptance is to the regulating command of theme colors, display screen (display interface) is divided into two viewing areas, left and right, two viewing areas respectively account for half, the preview interface that on the left side viewing area shows topics, and viewing area shows the palette of multiple color on the right; It is selective that this palette has 16 kinds of colors, comprises red, yellow, blue, green, purple, grey, orange etc.Particularly, palette is arranged multiple color block, each color block has different colors, owing to there being 16 kinds of colors selective above, so color block should have 16 mutually, and size shape is identical, proper alignment, as the mode according to 4 × 4 arranges (interval is all identical up and down).
When palette receives selection instruction, so on the left side viewing area is updated to the theme preview interface of selected color, thus gives this selected color of user's preview as the effect of theme colors, is convenient to user and makes the selection more meeting demand.After choosing required theme colors, click the confirmation instruction of below.Viewing area, the left side is carried out reducing display by display screen, when needs full screen display, can click (as clicking) this theme preview interface, like this can the effect of preview when normally using, and is convenient to user and determines whether to select this background color.Again click (as clicking) and then can turn back to previous status (viewing area, the left side).
In step s 2, when the background picture of navigation terminal is regulated, click background picture and regulate button, send the regulating command of background picture, when navigation terminal system acceptance is to the regulating command of background picture, recall preset picture, and the preview interface of the selected background picture of display, thus select suitable background picture to user.Recalling preset picture can be recall from the internal storage of navigation terminal, also can be obtain from exterior storage medium, and exterior storage medium can be connect navigation terminal by USB/HDD.After choosing background picture, can click and confirm instruction.
When implementing, by file browser open 5 preset background pictures or selection " more .... " open new interface, select from the exterior storage medium that USB or HDD connects, the picture chosen can show " √ ", representing arranges successfully, press that " " button returns homepage to HOME, can see that homepage background has been updated to that selected pictures.
In step s3, after confirmation theme colors and background picture, the color and background picture that its effect is not only system theme all there occurs change, and the theme colors of each application program and background picture also synchronized update.
Specifically, be theme colors and background picture are carried out being sent to each application program with the form of broadcast, after each application program receives broadcast, obtain theme colors and the background picture of system, synchronized update is theme colors and background picture separately.
Described step S3 also comprises:
The Controls of system reads up-to-date theme colors and background picture, and synthesizes one and have Showing Picture of fade effect.
Namely theme colors merges mutually with background picture, becomes and has Showing Picture of fade effect, and Showing Picture after each like this application program all can use a kind of like this synthesis, realizes the object of effect needed for theme colors and background picture simultaneously.
The step that each application synchronization upgrades specifically comprises:
The Controls of S31, system inherits View type, and monitors the broadcast of theme colors and background picture change;
S32, when listen to theme colors and background picture change broadcast time, each application program quotes Controls, realizes theme colors and the background picture real-time change of each application program.
Controls inherits View type, and with the addition of the function monitoring change of background broadcast; When system broadcasts, theme colors and background picture change, then Controls listens to broadcast, each application program quotes Controls, realize drawing and upgrading theme colors and background picture.
When again receiving the broadcast of change of background, repeat above-mentioned renewal rewards theory.
System and application program all quote Controls as a setting, realize the unitarity of whole system and application program background.And synchronized update that can be real-time.Font and the display mode of certain theme also can customize adjustment, and each application program also by the above-mentioned mode quoting Controls to realize synchronized update.
Such as definable old man's pattern, when user selects old man's pattern, then the variant font of system is large, and such as become a font, accordingly, application program also realizes synchronized update by Controls.Under old man's pattern, the volume of system also can increase thereupon, such as, increase to max volume, and to facilitate old man to identify, the sound of application program also can realize synchronized update, amplification of volume thereupon, such as, increase to max volume.
Conveniently click simultaneously, also the icon of application program suitably can be amplified, such as, amplify 1/2, convenient when clicking like this, it is more accurate to click.
In addition, also can arrange automatic shaping modes, under automatic shaping modes, the theme colors of system and background picture will regulate automatically, and correspondingly, each application program also will carry out synchronized update automatically.Under this automatic shaping modes, can arrange and automatically change theme colors and background picture every 1 cycle, automatic synchronization also upgrades by certain each application program.The cycle changed can be temporally arrange, such as, every 1 day or every 1 week.Certainly, also can change according to weather condition, obtain up-to-date weather condition, then select suitable theme colors and background picture.
Based on said method, the present invention also provides a kind of self-defined system of the HMI interface based on Android system, and it comprises:
Theme colors adjustment module 100, for when navigation terminal system acceptance is to the regulating command of theme colors, display screen is divided into two viewing areas, left and right, the preview interface that on the left side viewing area shows topics, viewing area shows the palette of multiple color on the right; When palette receives selection instruction, on the left side viewing area is updated to the theme preview interface of selected color;
Background picture adjustment module 200, for when navigation terminal system acceptance is to the regulating command of background picture, recalls preset picture, and the preview interface of the selected background picture of display;
Update module 300, for after confirmation theme colors and background picture, carries out being sent to each application program with the form of broadcast by theme colors and background picture, and each application program receives the rear synchronized update theme colors of broadcast and background picture.
Further, described update module 300 also comprises:
Synthesis unit, the Controls for system reads up-to-date theme colors and background picture, and synthesizes one and have Showing Picture of fade effect.
Further, to have 16 kinds of colors selective for described palette.
Further, preset picture is stored in advance in navigation terminal or by obtaining in exterior storage medium.
Further, described update module 300 specifically comprises:
Monitoring unit 310, the Controls for system inherits View type, and monitors the broadcast of theme colors and background picture change;
Updating block 320, for when listening to the broadcast of theme colors and background picture change, each application program quotes Controls, realizes theme colors and the background picture real-time change of each application program.
Ins and outs about above-mentioned modular unit are existing in method above to be described in detail, therefore repeats no more.
In sum, pass through the present invention, user can be supplied to and freely define the theme colors of different colours and the function of different background pictures, like this after user selects certain theme colors and background picture, each APP(application program) synchronized update theme colors and background picture.The present invention can better meet car owner carrys out the navigation of self-defined multimedia terminal at any time HMI interface according to the hobby of oneself.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.