CN101169715A - Control adding method - Google Patents
Control adding method Download PDFInfo
- Publication number
- CN101169715A CN101169715A CNA2007101780284A CN200710178028A CN101169715A CN 101169715 A CN101169715 A CN 101169715A CN A2007101780284 A CNA2007101780284 A CN A2007101780284A CN 200710178028 A CN200710178028 A CN 200710178028A CN 101169715 A CN101169715 A CN 101169715A
- Authority
- CN
- China
- Prior art keywords
- control
- interface
- new
- data structure
- add
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000005516 engineering process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a control addition method, which comprises creating a control addition interface and adding a data structure of a new control to a control management data structure through the control addition interface, so as to add the data structure of the new control to a control list. In such case, a binary runtime environment for wireless (BREW) dialog box can perform drawing and other management to the new control in the control list; and the management manner for the new control is the same as that for the originally existing control, so as to assure safe and seamless addition of the new control. Based on this, even re-drawing the BREW dialog box, the newly added control can obtain unified management the same as the original control, instead of being erased from the screen like in the prior art. Obviously, the inventive control addition method can effectively improve the flexibility and the safety of control addition, and can significantly improve the degree of customer satisfaction.
Description
Technical field
The present invention relates to user interface (UI) technology of the communications field, be specifically related to a kind of control adding method.
Background technology
(Binary Runtime Environment for Wireless, BREW) platform is the basic platform based on the last value-added service developing operation of cdma network " wireless Internet flat pad " that Qualcomm releases calendar year 2001 to vedio on radio binary operation environment.BREW is mainly used in moving communicating field, the free PC operating system of the similar opening of BREW, and other manufacturers can design every application on this platform.As a mobile phone application platform, BREW can support tens kinds of data services such as high speed Internet access, download games, wireless shopping.
In present UI technology, software architectures such as BREW dialog box are the important elements among the UI.Can comprise a plurality of controls (as: child control etc.) on the BREW dialog box, as: title control, edit control, bottom soft key control etc.; Usually the control that these is contained in the BREW dialog box is managed with the unity of form of BREW control management data structures, and shows with suitable manner, thereby constructs the UI that the user finally sees.
The main deficiency of current BREW dialog box is that it does not support dynamically to add control.In this case, all controls must be in BREW control management data structures predefined good, disposable then being compiled in the final program.Obviously, the dirigibility of this control way to manage is low-down.Therefore, when operating personnel will add control in type BREW control management data structures, unique operable way was exactly to draw the control that makes new advances on terminal screen usually rigidly; But in a single day because the control of these new draftings is not under the unified management of BREW control management data structures, therefore repaint the BREW dialog box, the new control that adds will be wiped from screen.Be not wiped free of if wish the new control that adds, then need to carry out a series of complex definitions and setting.
Obviously, the dirigibility of present control adding method and security are low excessively, operate also more complicated, are unfavorable for the development of UI design, also can reduce user satisfaction.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of control adding method, to improve dirigibility and the security that control adds, improves user satisfaction.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of control adding method, this method comprises:
Create control and add interface; Add interface, the data structure of adding new control to the control management data structures by this control.
The method that described establishment control adds interface is:
Add at least one interface in the interface table: control adds interface; And, add the function that the pairing interface function explanation of interface control adds interface by this control: add new control data structure to described control management data structures.
The method of adding described new control data structure is:
Call the described control of having created and add interface, insert the data structure of new control by this interface to the control management data structures.
Described control management data structures is realized with tabulation or storehouse form.
Described control management data structures is stored in the control table.
Described control is the child control that the BREW dialog box is managed.
Add before the described new control data structure, this new control data structure further is set.
Further load the BREW dialog box that is used to manage described new control, this new control is comprised the bookkeeping of searching, handling by this BREW dialog box.
As seen, control adding method provided by the present invention is created control and is added interface, and adds interface adds data structure from new control to the control management data structures by this control; Therefore, the data structure of new control can be added in the control table.In this case, the BREW dialog box just can management such as draw to the new control in the control table; And, be the same at way to manage that new control carried out with way to manage at the original control that just exists, guaranteed new control safety and seamless interpolation.Based on this, even repaint the BREW dialog box, the new control that adds also equally obtains unified management together with former control, rather than is wiped from screen as prior art.
Obviously, control adding method provided by the present invention can effectively improve dirigibility and security that control adds, and can obviously improve user satisfaction.
Description of drawings
Fig. 1 is that control of the present invention adds general flow chart;
Fig. 2 a adds control management data structures principle schematic before the control for the present invention;
Fig. 2 b adds control management data structures principle schematic behind the control for the present invention.
Embodiment
Below in conjunction with accompanying drawing the technology of the present invention is described in detail.
Referring to Fig. 1, Fig. 1 is that control of the present invention adds general flow chart, and this flow process may further comprise the steps:
Step 101: create control and add interface.
Particularly, the BREW dialog box module of carrying out the control management provides external interface table, and the form with interface function in this table is writing down the service that BREW dialog box module can provide to the external world.Therefore, can add at least one interface in described external interface table: control adds interface.The function that described control adds interface is: add new control data structure to the control management data structures, this function is added the pairing interface function of interface by control and is illustrated.
Step 102: add interface by control, add new control data structure to the control management data structures.
Particularly, the BREW dialog box is when being loaded operation, can from resource file, parse singly by the control it, the control data structure that analytic application goes out constructs an internal list and (is commonly referred to: the control table, the data structure that comprises each control in this control table), then described control is all registered in this control table, with all controls in the control table are searched, bookkeeping such as processing.
In the time will adding control, just need call the described control of having created and add interface, the data structure of adding new control by this interface to the control management data structures.Certainly, the described data structure of new control pre-sets.
Need to prove: described control table is a kind of logical concept, and it specifically might be realized as tabulation, storehouse or other forms; And the control data structure in the control table normally exists with the form of chained list.
After having finished step 101 and step 102, the data structure of new control is just added the control table to and has been suffered.In this case, the BREW dialog box just can management such as draw to the new control in the control table; And, be the same at way to manage that new control carried out with way to manage at the original control that just exists, guaranteed new control safety and seamless interpolation.Based on this, even repaint the BREW dialog box, the new control that adds also equally obtains unified management together with former control, rather than is wiped from screen as prior art.
Obviously, control adding method shown in Figure 1 can effectively improve dirigibility and security that control adds, and can obviously improve user satisfaction.
Respectively referring to Fig. 2 a and Fig. 2 b, wherein, Fig. 2 a adds control management data structures principle schematic before the control for the present invention, and Fig. 2 b adds control management data structures principle schematic behind the control for the present invention.Among Fig. 2 a, prepare the data structure of new control is inserted in the control table of chain sheet form; Among Fig. 2 b, the data structure of new control is inserted in the control table of chain sheet form.The realization that new control from Fig. 2 a to Fig. 2 b adds is to add the interface realization by calling the control that has created.
By the above as seen, add interface owing to created control, and add interface adds data structure from new control to the control management data structures by this control; Therefore, the data structure of new control can be added in the control table.In this case, the BREW dialog box just can management such as draw to the new control in the control table; And, be the same at way to manage that new control carried out with way to manage at the original control that just exists, guaranteed new control safety and seamless interpolation.Based on this, even repaint the BREW dialog box, the new control that adds also equally obtains unified management together with former control, rather than is wiped from screen as prior art.
Obviously, control adding method provided by the present invention can effectively improve dirigibility and security that control adds, and can obviously improve user satisfaction.
Claims (8)
1. a control adding method is characterized in that, this method comprises:
Create control and add interface; Add interface, the data structure of adding new control to the control management data structures by this control.
2. method according to claim 1 is characterized in that, the method that described establishment control adds interface is:
Add at least one interface in the interface table: control adds interface; And, add the function that the pairing interface function explanation of interface control adds interface by this control: add new control data structure to described control management data structures.
3. method according to claim 2 is characterized in that, the method for adding described new control data structure is:
Call the described control of having created and add interface, insert the data structure of new control by this interface to the control management data structures.
4. according to each described method of claim 1 to 3, it is characterized in that described control management data structures is realized with tabulation or storehouse form.
5. according to each described method of claim 1 to 3, it is characterized in that described control management data structures is stored in the control table.
6. according to each described method of claim 1 to 3, it is characterized in that described control is the child control that vedio on radio binary operation environment BREW dialog box is managed.
7. according to each described method of claim 1 to 3, it is characterized in that, add before the described new control data structure, this new control data structure further is set.
8. according to each described method of claim 1 to 3, it is characterized in that, further load the BREW dialog box that is used to manage described new control, this new control is comprised the bookkeeping of searching, handling by this BREW dialog box.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2007101780284A CN100568178C (en) | 2007-11-23 | 2007-11-23 | A way to add controls |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2007101780284A CN100568178C (en) | 2007-11-23 | 2007-11-23 | A way to add controls |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101169715A true CN101169715A (en) | 2008-04-30 |
| CN100568178C CN100568178C (en) | 2009-12-09 |
Family
ID=39390355
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2007101780284A Expired - Fee Related CN100568178C (en) | 2007-11-23 | 2007-11-23 | A way to add controls |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100568178C (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102207864A (en) * | 2011-05-19 | 2011-10-05 | 中兴通讯股份有限公司 | Method and device for creating list control |
| CN103605519A (en) * | 2013-11-19 | 2014-02-26 | 北京国双科技有限公司 | Application program control adding method and application program control adding device |
| CN103914285A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and device for user interface layout and terminal device |
| CN106201030A (en) * | 2016-07-07 | 2016-12-07 | 徐文波 | A kind of multimedia controlled plate that can customize control |
-
2007
- 2007-11-23 CN CNB2007101780284A patent/CN100568178C/en not_active Expired - Fee Related
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102207864A (en) * | 2011-05-19 | 2011-10-05 | 中兴通讯股份有限公司 | Method and device for creating list control |
| CN102207864B (en) * | 2011-05-19 | 2015-10-21 | 中兴通讯股份有限公司 | A kind of creation method of list control and device |
| CN103914285A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and device for user interface layout and terminal device |
| CN103605519A (en) * | 2013-11-19 | 2014-02-26 | 北京国双科技有限公司 | Application program control adding method and application program control adding device |
| CN103605519B (en) * | 2013-11-19 | 2017-02-15 | 北京国双科技有限公司 | Application program control adding method and application program control adding device |
| CN106201030A (en) * | 2016-07-07 | 2016-12-07 | 徐文波 | A kind of multimedia controlled plate that can customize control |
| CN106201030B (en) * | 2016-07-07 | 2019-02-01 | 徐文波 | A kind of multimedia controlled plate can customize control |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100568178C (en) | 2009-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101058481B1 (en) | System and method for skinning the user interface of an application | |
| US7805729B2 (en) | System and method for an extendable mobile communications device user interface | |
| US10754633B2 (en) | Application installation package generation method and apparatus, and storage medium | |
| US9256479B2 (en) | App icon processing method and communication terminal | |
| US20100151847A1 (en) | Method and system for customizing a user interface of a mobile device | |
| CN102789317A (en) | Method and device for accelerating text input | |
| CN104054050A (en) | Improved configuration of a user interface for a mobile communications terminal | |
| CN109933381B (en) | Kernel loading method and device | |
| CN104978183A (en) | Icon construction method, and terminal equipment | |
| CN103200292A (en) | Menu display method and terminal | |
| CN101252623B (en) | Embedded platform network application browsing system and method | |
| CN101169715A (en) | Control adding method | |
| CN101083819A (en) | Method and apparatus for entering into application by one key | |
| CN109857374A (en) | The development approach and device of mobile application | |
| US8863121B2 (en) | Method and terminal for loading picture resources by JAVA virtual machine | |
| CN105426192A (en) | Information modification method and terminal | |
| CN100441012C (en) | A method for update of mobile terminal subscriber interface | |
| CN102053917B (en) | Smart card capable of reducing memory footprint and instruction processing method thereof | |
| CA2594600A1 (en) | System and method for adaptive theming of a mobile device | |
| CN114840194A (en) | Code and operating system generation method and device, server and electronic equipment | |
| KR101392907B1 (en) | Software management method for mobile phone | |
| CN100474953C (en) | Method for obtaining mobile terminal time information on smart card | |
| CN101299855A (en) | STK/UTK card and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091209 Termination date: 20161123 |