CN100568178C - A kind of control adding method - Google Patents
A kind of control adding method Download PDFInfo
- Publication number
- CN100568178C CN100568178C CNB2007101780284A CN200710178028A CN100568178C CN 100568178 C CN100568178 C CN 100568178C CN B2007101780284 A CNB2007101780284 A CN B2007101780284A CN 200710178028 A CN200710178028 A CN 200710178028A CN 100568178 C CN100568178 C CN 100568178C
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of control adding method, create control and add interface, 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, and vedio on radio binary operation environment (Binary RuntimeEnvironment for Wireless, 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
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 (7)
1, the control adding method in a kind of vedio on radio binary operation environment binary runtime environment for wireless 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; 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.
2, method according to claim 1 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.
According to each described method of claim 1 to 2, it is characterized in that 3, described control management data structures is realized with tabulation or storehouse form.
According to each described method of claim 1 to 2, it is characterized in that 4, described control management data structures is stored in the control table.
According to each described method of claim 1 to 2, it is characterized in that 5, described control is the child control that vedio on radio binary operation environment BREW dialog box is managed.
6, according to each described method of claim 1 to 2, it is characterized in that, add before the described new control data structure, this new control data structure further is set.
7, according to each described method of claim 1 to 2, 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 kind of control adding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101780284A CN100568178C (en) | 2007-11-23 | 2007-11-23 | A kind of control adding method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101169715A CN101169715A (en) | 2008-04-30 |
CN100568178C true 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 kind of control adding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100568178C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN103605519B (en) * | 2013-11-19 | 2017-02-15 | 北京国双科技有限公司 | Application program control adding method and application program control adding device |
CN106201030B (en) * | 2016-07-07 | 2019-02-01 | 徐文波 | A kind of multimedia controlled plate can customize control |
-
2007
- 2007-11-23 CN CNB2007101780284A patent/CN100568178C/en not_active Expired - Fee Related
Non-Patent Citations (2)
Title |
---|
在DataWindow中添加控件. 廖明潮.武汉理工大学学报,第25卷第8期. 2003 |
在DataWindow中添加控件. 廖明潮.武汉理工大学学报,第25卷第8期. 2003 * |
Also Published As
Publication number | Publication date |
---|---|
CN101169715A (en) | 2008-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10754633B2 (en) | Application installation package generation method and apparatus, and storage medium | |
US7805729B2 (en) | System and method for an extendable mobile communications device user interface | |
US9256479B2 (en) | App icon processing method and communication terminal | |
KR20080037089A (en) | System and method for skinning the user interface of an application | |
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 | |
CN104978183A (en) | Icon construction method, and terminal equipment | |
CN104615414A (en) | Channel packet customization method and device | |
CN100568178C (en) | A kind of control adding method | |
CN102163156A (en) | Mobile terminal icon replacing method and mobile terminal | |
CN104253872A (en) | Synchronous information updating method, system and terminal | |
CN100441012C (en) | A method for update of mobile terminal subscriber interface | |
CN101252623A (en) | Embedded platform network application browsing system and method | |
CN104657164A (en) | Method and device for updating and processing software | |
US20110219316A1 (en) | Method, system, apparatus and computer-readable medium for transmitting message | |
CN102263847A (en) | Mobile phone mode selection method and mode-selectable mobile phone | |
CN109857374A (en) | The development approach and device of mobile application | |
CN105426192A (en) | Information modification method and terminal | |
CN101083819A (en) | Method and apparatus for entering into application by one key | |
CN101453509A (en) | Processing method for mobile phone information timed sending | |
EP2444897A1 (en) | Method and terminal for loading picture resources to java virtual machine | |
CN102053917B (en) | Smart card capable of reducing memory footprint and instruction processing method thereof | |
CN101626431A (en) | Processing method and processing system capable of adapting to communication mode | |
US20060161839A1 (en) | Method for obtaining communication settings using an application descriptor |
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 |
Granted publication date: 20091209 Termination date: 20161123 |
|
CF01 | Termination of patent right due to non-payment of annual fee |