CN104571825A - Method and device for adding icon in interface and mobile terminal - Google Patents

Method and device for adding icon in interface and mobile terminal Download PDF

Info

Publication number
CN104571825A
CN104571825A CN 201510028091 CN201510028091A CN104571825A CN 104571825 A CN104571825 A CN 104571825A CN 201510028091 CN201510028091 CN 201510028091 CN 201510028091 A CN201510028091 A CN 201510028091A CN 104571825 A CN104571825 A CN 104571825A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
interface
icon
information
added
adding
Prior art date
Application number
CN 201510028091
Other languages
Chinese (zh)
Inventor
王培�
Original Assignee
华为终端有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Abstract

The embodiment of the invention relates to the field of mobile communication and provides a method for adding an icon in am interface of an Android system. The Android system has N interfaces. The method comprises the following steps: a obtaining adding instruction information; b obtaining space information of an icon to be added according to the adding instruction information; c obtaining residual space information of an M<th> interface according to the adding instruction information; d judging whether the space information of the icon to be added is greater than the residual space information of the M<th> interface or not; if so, executing the step e; if not, executing the step f; e judging whether the M<th> display interface is a final interface to be judged or not; if so, executing the step g; if not, assigning M to be (M+1) returning the step c; f adding the icon into the interface; and g establishing another interface and adding the icon into the new interface, wherein the M and N are natural numbers, and the M is more than or equal to 1 and less than or equal to N.

Description

一种在界面中添加图标的方法、装置及移动终端 Method for adding an icon in the user interface, the mobile terminal apparatus and

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种在Android系统的界面中添加图标的方法、装置及移动终端。 [0001] The present invention relates to communications technologies, and in particular relates to a method to add an icon at the interface of the Android system, and a mobile terminal apparatus.

背景技术 Background technique

[0002]目前以Android系统设备为代表,手持触摸屏终端设备越来越普遍的为用户提供大空间的Home界面,允许用户根据自己的习惯当前屏幕有空间的前提下,将自己常用的喜欢的程序、widget、控件、文件夹等图标放在设备的Home界面上,相当于电脑桌面上的快捷方式,在手持设备功能日益强大的今天,大大方便了用户寻找某一个应用程序。 [0002] currently represented Android system equipment, hand-held touch-screen terminals increasingly common to provide users with a large space of Home interface that allows users according to their habits under the premise of the current screen space, the usual like their program , widget, controls, folders and other icons on the Home screen of the device, which is equivalent shortcut on the desktop, handheld devices increasingly powerful today, greatly facilitate the users looking for a particular application.

[0003] 在实现本发明实施例的过程中,发明人发现现有技术中存在如下技术问题:如果当前屏幕无空间放置则无法添加,需要用户手动腾出放置空间,不方便用户的操作;另外现有技术要求在Home界面上添加图标时,必须保证当前屏幕有足够空间才可被添加,如果空间不足,则用户之前选择要添加的图标的一系列操作都将无效,需要重来一次,不够人性化和智能化。 [0003] In the process of implementing the embodiment of the present invention, the inventors found that the following technical problems in the prior art: If the current screen is no space to place can not be added, the user needs to manually make the placement space, convenient operation by a user; Further in the prior art requires the addition of icons on the Home screen, the current screen must ensure there is sufficient space available to be added, if space is insufficient, select the icon you want to add before the user a series of operations will be invalid, need to do it all over, is not enough humane and intelligent.

发明内容 SUMMARY

[0004] 鉴于此,本发明实施例提供了一种在Android系统的界面中添加图标的方法,所述Android系统有N个界面,其特征在于,所述方法包括: [0004] In view of this, embodiments of the present invention provides a method for adding an icon interface Android system, the Android system has N interface, characterized in that, said method comprising:

[0005] a.获取添加指令信息; . [0005] a Get command information is added;

[0006] b.根据所述添加指令信息,获取待添加图标的空间信息; [0006] b adding information according to the instruction information acquired icon to be added space;

[0007] c.根据所述添加指令信息,获取第M界面的剩余空间信息; [0007] c information according to the instruction information is added to the remaining space, the M acquisition interface.;

[0008] d.判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息:若是,则执行步骤e,若否,则执行步骤f ; . [0008] d is determined whether or not the spatial information to be added is larger than M icon interface remaining space information: If, step E is executed, if no, step F;

[0009] e.判断所述第M显示界面是否为最后一个待判断的界面:若是,则执行步骤g,若否,则M赋值为M+1并返回步骤c ; . [0009] e M determines the second display screen is the last interface is determined to be: If yes, step g, if not, the assignment of M and M + 1 is returned to step C;

[0010] f.在所述界面中添加所述图标,流程结束; . [0010] f is added to the icon in the interface, the flow ends;

[0011] g.新建另一界面,并在新建的界面中添加所述图标,流程结束; . [0011] g of another new interface, and add the new icon in the interface, the flow ends;

[0012] 其中,M、N为自然数,且I彡MSN。 [0012] wherein, M, N are natural numbers, and I San MSN.

[0013] 同时,本发明实施例还提供了一种在Android系统的界面中添加图标的装置,所述Android系统有N个界面,其特征在于,所述装置包括: [0013] Also, embodiments of the present invention further provides an apparatus for adding an icon interface Android system, the Android system has N interface, characterized in that said apparatus comprising:

[0014] 第一获取模块,用于获取添加指令信息; [0014] The first acquiring module, for acquiring the add command information;

[0015] 第二获取模块,用于根据所述添加指令信息,获取待添加图标的空间信息和第M界面的剩余空间信息; [0015] The second acquiring module, configured to add information according to the remaining space of the instruction information acquired icon to be added spatial information and M interface;

[0016] 第一判断模块,用于判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息; [0016] a first determining module, for determining whether said spatial information to be added is greater than the remaining space information icons interface of M;

[0017] 第二判断模块,用于判断所述第M界面是否为最后一个待判断的界面; [0017] The second determining module configured to determine whether the second interface is the last M interface to be judged;

[0018] 添加模块,用于当所述第一判断模块判断出所述待添加图标的空间信息不大于第M界面的剩余空间信息时,在第M界面的剩余空间添加所述图标; [0018] adding module, configured to, when the first determining module determines that the spatial information about the icons to be added is not greater than the remaining space information of the M interface, in the remaining space of said adding M interface icon;

[0019] 其中,M、N为自然数,且I彡M彡N。 [0019] wherein, M, N are natural numbers, and M I San San N.

[0020] 本发明实施例通过判断待添加图标的空间信息是否小于或等于当前显示界面的剩余空间信息来确定是否在当前界面添加所述图标的技术方案,解决了Android设备目前需要用户一次又一次确认是否有足够空间再去添加图标的技术问题,为用户提供友好、人性化的操作体验,使用户在操作中从视觉和易用性两方面均可获得好的体验。 Example [0020] The present invention, the spatial information is determined by the icon to be added is less than or equal to the remaining space information currently displayed screen interface to determine whether to add the icon in the aspect of the current, the current need to solve the Android user equipment over again make sure there is enough space to go to add technical problems icons, to provide users with a friendly, user-friendly operating experience, allowing users in the operation can get a good experience from the ease of use and visual aspects.

附图说明 BRIEF DESCRIPTION

[0021] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings are briefly introduced as required for use in the embodiments describing the embodiments. Apparently, the drawings in the following description are only some embodiments of the present invention. embodiment, those of ordinary skill in the art is concerned, without any creative effort, and may also obtain other drawings based on these drawings.

[0022] 图1是本发明实施例1的方法流程图; [0022] FIG 1 1 is a flowchart of a method of the present invention;

[0023] 图2是本发明实施例2的方法流程图; [0023] FIG 2 is a flowchart of a method of the embodiment 2 of the present invention;

[0024] 图3是本发明实施例3的装置示意图; [0024] FIG. 3 is a schematic view of apparatus of the third embodiment of the present invention;

[0025] 图4是本发明实施例3的另一装置示意图; [0025] FIG. 4 is a schematic view of another embodiment of the apparatus of Example 3 of the present invention;

[0026] 图5是本发明实施例3的另一装置示意图。 [0026] FIG. 5 is a schematic view of another embodiment of the apparatus of Example 3 of the present invention.

具体实施方式 Detailed ways

[0027] 下面结合附图对本发明实施例中的技术方案进行清楚、完整地描述。 [0027] The technical solutions in the embodiments of the drawings will be clearly below in connection with the present invention, fully described. 显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。 Obviously, the described embodiments are merely part of embodiments of the present invention rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0028] 实施例1 [0028] Example 1

[0029] 以具有2个界面的Android系统的手机为例,本发明实施例1提供了一种在Android系统的界面中添加图标的方法,请参见图1,该方法具体包括: [0029] In Android mobile phone system having two interfaces, for example, an embodiment of the present invention provides a method for adding an icon Android system interface, see Figure 1, which method comprises:

[0030] 步骤101、获取添加指令信息;添加指令信息是用户在需要对某个应用程序的图标移动时,由于用户的相关操作,而移动终端系统产生的指令信息。 [0030] Step 101, acquires information adding instruction; adding instruction information is instruction information when the user needs to move the icon of an application, since the relevant user operation, and the mobile terminal generated by the system. 例如,在装有android系统的移动终端(如PC、PDA、手机等)中,用户通过按住拍摄照片的应用程序图标的操作,移动终端便能获取添加指令信息,确定用户需要对该图标进行相应地添加操作。 For example, in the mobile terminal equipped with the android system (such as a PC, PDA, cell phone, etc.), users take pictures by holding down operation of the application icon, the mobile terminal will be able to obtain information on adding instructions, the user needs to determine the icon accordingly, the add operation.

[0031] 步骤102、根据所述添加指令信息,获取待添加图标的空间信息和当前界面的剩余空间信息; [0031] Step 102, according to the remaining space of the add instruction information acquired icon to be added spatial information and the current information of the interface;

[0032] 本发明实施例中所说的图标具体指的是如快捷图标(shortcut),窗口控件(Widget),文件夹,大头贴,书签等等能表示各种应用程序的可视性或者可触摸性的标识。 [0032] Examples of said icons embodiment of the present invention specifically refers to as shortcut icon (Shortcut), a window control (the Widget), folders, stickers, bookmarks, etc. can represent various applications or visibility may be touch of identity. 在移动终端获取添加指令信息之后,根据添加指令信息,获取待添加图标的空间信息。 After acquiring the add command information in a mobile terminal, according to the information adding instruction, obtaining spatial information icon to be added. 空间信息可以是二维平面信息,也可以是三维立体信息。 Spatial information may be a two-dimensional plane information, or may be three-dimensional information. 例如移动终端可以获取该图标的空间信息为2X2平方单位(例如厘米)的图标。 Example, the mobile terminal may obtain spatial information of the icon is a 2X2 square units (e.g., cm) icon. 同时,移动终端可以获取当前界面的剩余空间信息。 Meanwhile, the mobile terminal may obtain the information of the current remaining space interface. 由于待添加图标需要添加在当前界面上,因此移动终端要确定当前界面还剩下多少空间。 As the need to add the icon to be added on the current interface, so the mobile terminal to determine how much space is left in the current interface. 例如移动终端通过系统本身所建立的栅格参数和已经被应用程序图标占去的空间信息,来确定剩余空间信息。 For example, the mobile terminal itself through the grid parameters of the system have been established and accounted for in the application icon to spatial information to determine the remaining spatial information.

[0033] 步骤103、判断所述待添加图标的空间信息是否大于当前界面的剩余空间信息:若是,则执行步骤104 ;若否,则执行步骤105。 [0033] Step 103 determines whether the spatial information icon to be added is larger than the remaining space information of the current interface: if yes, step 104 is performed; if not, step 105 is executed.

[0034] 例如,待添加图标的空间信息是2X2平方单位,剩余空间信息是3X2平方单位,该平方单位以直角坐标系中的横轴一X轴、纵轴一Y轴为参考系。 [0034] For example, spatial information is the icon to be added 2X2 square units, remaining space information is 3X2 square units, the square units to a horizontal axis X-axis of the Cartesian coordinate system, the Y-axis as a longitudinal reference. 移动终端由此进行判断:2<3,2<2。 The mobile terminal thereby determines: 2 <3,2 <2. 这就表示待添加图标的空间信息是小于或等于当前界面的剩余空间信息。 This means that spatial information icon to be added is less than or equal to the remaining space information of a current interface. 因此,移动终端在当前界面添加该图标。 Thus, the mobile terminal interface to add the current icon. 当然,例子中所提到的空间信息是平面信息,在本发明实施例中图标的空间信息以及剩余空间信息也可以是三维立体空间信息。 Of course, the example mentioned spatial information is the information plane, the spatial information in the embodiment of the present invention and the embodiment of an icon remaining space information may be a three-dimensional spatial information. 例如,待添加图标的空间信息是2X2X2立方单位,剩余空间信息是3X2X4立方单位,移动终端进行判断:2 < 3,2 < 2,2 < 4。 For example, spatial information icon to be added is 2X2X2 cubic units, remaining space information is 3X2X4 cubic units, the mobile terminal determines: 2 <3,2 <2,2 <4. 这就表示待添加图标的空间信息是小于或等于当前界面的剩余空间信息。 This means that spatial information icon to be added is less than or equal to the remaining space information of a current interface. 因此,移动终端在当前界面添加该图标,否则的话,移动终端搜寻下一个界面,判断下一个界面是否有足够大的剩余空间信息来添加该图标。 Therefore, the mobile terminal interface added to the current icon, otherwise, the mobile terminal searches the next screen, under one interface to determine whether there is enough remaining space information to add the icon.

[0035] 步骤104、切换至第2界面,获取第2界面的剩余空间信息并执行步骤106。 [0035] Step 104, switch to the second interface, obtain information of the remaining space second interface and step 106 is performed.

[0036] 步骤105、在当前界面添加该图标,流程结束。 [0036] Step 105, the icon in the current interface is added, the process ends.

[0037] 步骤106、判断所述待添加图标的空间信息是否大于第2界面的剩余空间信息:若是,则执行步骤107 ;若否,则执行步骤105。 [0037] Step 106 determines whether the spatial information icon to be added is larger than the remaining space information of the second interface: if yes, execute step 107; if not, step 105 is executed.

[0038] 步骤107、新建第3界面,并将该图标添加在第3界面,流程结束。 [0038] Step 107, the new third interface, and adds the third icon interface, the flow ends.

[0039] 本发明实施例1通过判断待添加图标的空间信息是否小于或等于当前显示界面的剩余空间信息来确定是否在当前界面添加所述图标的技术方案,解决了Android设备目前需要用户一次又一次确认是否有足够空间再去添加图标的技术问题,为用户提供友好、人性化的操作体验,使用户在操作中从视觉和易用性两方面均可获得好的体验。 Example [0039] The present invention is an interface to determine whether to add aspect the icon in the current icon to be added is determined by whether or not information is less than or equal space remaining space information of the currently displayed screen, the current need to solve the Android device once the user has once again to confirm whether there is enough space to add an icon of technical problems, to provide users with a friendly, user-friendly operating experience, allowing users in the operation can get a good experience from the ease of use and visual aspects.

[0040] 实施例2 [0040] Example 2

[0041] 实施例1是以2个界面的Android系统的移动终端为例来进行说明的,下面本发明实施例2通过N个界面的Android系统来具体阐述。 [0041] Example 1 is a mobile terminal Android interface system 2 will be described as an example, the following embodiments of the present invention is specifically illustrated by the Android 2 system of N interface. 请参见图2,本发明实施例2提供了一种在Android系统的界面中添加图标的方法,该方法具体包括: Referring to FIG 2, two embodiments of the present invention provides a method for adding an icon interface Android system, the method comprises:

[0042] 步骤201、获取添加指令信息;添加指令信息是用户在需要对某个应用程序的图标移动时,由于用户的相关操作,而移动终端系统产生的指令信息。 [0042] Step 201, acquiring information adding instruction; adding instruction information is instruction information when the user needs to move the icon of an application, since the relevant user operation, and the mobile terminal generated by the system. 例如,在装有android系统的移动终端(如PC、PDA、手机等)中,用户通过按住拍摄照片的应用程序图标的操作,移动终端便能获取添加指令信息,确定用户需要对该图标进行相应地添加操作。 For example, in the mobile terminal equipped with the android system (such as a PC, PDA, cell phone, etc.), users take pictures by holding down operation of the application icon, the mobile terminal will be able to obtain information on adding instructions, the user needs to determine the icon accordingly, the add operation.

[0043] 步骤202、根据所述添加指令信息,获取待添加图标的空间信息; [0043] Step 202, based on the information adding instruction, obtaining spatial information icon to be added;

[0044] 步骤203、根据所述添加指令信息,获取第M界面的剩余空间信息; [0044] Step 203, according to the remaining space of the information adding instruction, acquiring information of the M interface;

[0045] 本发明实施例中所说的图标具体指的是如快捷图标(shortcut),窗口控件(Widget),文件夹,大头贴,书签等等能表示各种应用程序的可视性或者可触摸性的标识。 [0045] Examples of said icons embodiment of the present invention specifically refers to as shortcut icon (Shortcut), a window control (the Widget), folders, stickers, bookmarks, etc. can represent various applications or visibility may be touch of identity. 在移动终端获取添加指令信息之后,根据添加指令信息,获取待添加图标的空间信息。 After acquiring the add command information in a mobile terminal, according to the information adding instruction, obtaining spatial information icon to be added. 空间信息可以是二维平面信息,也可以是三维立体信息。 Spatial information may be a two-dimensional plane information, or may be three-dimensional information. 例如移动终端可以获取该图标的空间信息为2X2平方单位(例如厘米)的图标。 Example, the mobile terminal may obtain spatial information of the icon is a 2X2 square units (e.g., cm) icon. 同时,移动终端可以获取当前界面的剩余空间信息。 Meanwhile, the mobile terminal may obtain the information of the current remaining space interface. 由于待添加图标需要添加在当前界面上,因此移动终端要确定当前界面还剩下多少空间。 As the need to add the icon to be added on the current interface, so the mobile terminal to determine how much space is left in the current interface. 例如移动终端通过系统本身所建立的栅格参数和已经被应用程序图标占去的空间信息,来确定剩余空间信息。 For example, the mobile terminal itself through the grid parameters of the system have been established and accounted for in the application icon to spatial information to determine the remaining spatial information.

[0046] 步骤204、判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息:若是,则执行步骤205,若否,则执行步骤206 ; [0046] Step 204, determining whether the spatial information to be added is greater than the remaining space information icons interface of M: If so, step 205 is executed, otherwise, step 206 is performed;

[0047] 步骤205、判断所述第M显示界面是否为最后一个待判断的界面:若是,则执行步骤207,若否,则M赋值为M+1并返回步骤203 ; [0047] Step 205, determining whether the first display screen M is the last interface is determined to be: If so, step 207 is executed, and if not, the assignment of M and M + 1 is returned to step 203;

[0048] 步骤206、在所述界面中添加所述图标,流程结束; [0048] Step 206, adding the icon in the interface, the flow ends;

[0049] 步骤207、新建另一界面,并在新建的界面中添加所述图标,流程结束; [0049] Step 207, the other new interface, and add the new icon in the interface, the flow ends;

[0050] 其中,M、N为自然数,且I彡MS N。 [0050] wherein, M, N are natural numbers, and I San MS N.

[0051] 下面以具有3个界面的Android系统的移动终端为例对上述流程进行详细说明。 [0051] In the mobile terminal having the following three Android interface system as an example of the process described in detail above. 终端用户对相应的图标进行操作,移动终端获取添加指令信息,根据该指令信息获取图标的空间信息,和当前界面(可以称之为第I界面)的剩余空间信息。 End-user operating the respective icons, the mobile terminal acquires information adding instruction, obtaining spatial information about the icons, and the instruction information according to the current interface (the interface may be referred to Part I) remaining space information. 然后判断图标的空间信息是否大于当前第I界面的剩余空间信息,如果不是,则直接在当前第I界面添加该图标;如果是,则判断当前第I界面是否是最后一个待判断的界面。 Spatial information is then judged whether the icon is larger than the remaining space information of the current I of the interface, if not, adding the icon directly on the current I of the interface; if yes, determining whether the current interface is the interface I, the last to be judged. 待判断的界面是根据系统所具有的界面和已经进行过判断的界面来计算出来的,在本实施例中,由于判断步骤只判断了第I界面,还有2个界面没有进行判断,因此当前第I界面并不是最后一个待判断的界面。 The interface is judged to be calculated from the system interface and has been subjected determination interface, in the present embodiment, since the first determination step determines only the I interface, there are two interfaces is not judged, so the current the first interface is not the last I interface to be determined. 由此,进行对第2界面的判断:判断图标的空间信息是否大于第2界面的剩余空间信息,如果不是,则直接在第2界面添加该图标;如果是,则判断第2界面是否是最后一个待判断的界面。 Thus, the determination of the second interface: determining spatial information icon is larger than the remaining space information of the second interface, and if not, the icon is added directly to the second interface; if yes, determining whether the second interface is the last an interface to be determined. 在本实施例中,由于判断步骤只判断了第I界面和第2界面,还有第3界面没有进行判断,因此第2界面并不是最后一个待判断的界面。 In the present embodiment, since only the determination step determines the first interface and the second interface I, and the third screen is not judged, so the second interface is not judged to be the last interface. 由此,进行对第3界面的判断:判断图标的空间信息是否大于第3界面的剩余空间信息,如果不是,则直接在第3界面添加该图标;如果是,则判断第3界面是否是最后一个待判断的界面。 Accordingly, determining a third interface: determining spatial information icon is larger than the remaining space information of the third interface, if not, the icon is added directly to the third interface; if yes, determining the third interface is the last an interface to be determined. 由于在本发明实施例中,第3界面是最后一个待判断的界面了,因此说明系统中所具有的3个界面均没有足够的剩余空间信息来添加、放置该图标了。 Since the embodiment of the invention, the third interface is determined to be the last of the interface, the system described thus has three interfaces are not enough free space to add information, the place the icon. 这样,系统新建一个界面一一称之为第4界面。 Thus, a new system call interface eleven fourth interface. 由于第4界面是新建的,没有应用程序的图标放置在该界面上,因此该界面剩余空间信息就是该界面全部空间,并且可以在第4界面上添加该图标。 Since the second interface 4 is new, no application icon is placed on the interface, this interface is the remaining space information of all the interface space, and may add the icon on the fourth interface. 可以理解的是,在本发明实施例中,android系统的移动终端所具有的界面不限于3个,也可以是多个,并且都可以按照上述的方法流程进行对界面添加应用程序图标的操作。 It will be appreciated that, in embodiments of the present invention, the mobile terminal has android system interface not limited to three, but may be a plurality, and the interface can be added to the operation of the application icon in accordance with the above process flow.

[0052] 可选地,在步骤206之后,该方法还包括: [0052] Alternatively, after step 206, the method further comprising:

[0053] 步骤2061、在添加所述图标后,按照图标使用频率对当前显示界面中的所有图标进行排序。 [0053] Step 2061, after addition of the icon, the icon according to frequency of use to sort all icons currently displayed interface. 在添加的界面上可以有多种应用程序的图标放置。 On the Add icon interface can be placed in a variety of applications. 用户对这些图标以及刚刚添加进来的图标进行排序后放置,可以使得那些最经常用到的应用程序图标放置在最显眼或者最前列的位置,用户便于对其进行操作。 After placing the user to sort the icons and just add in the icon, you can make those most frequently used application icons are placed in the most prominent position or in the forefront, the user easy to manipulate.

[0054] 本发明实施例通过判断待添加图标的空间信息是否小于或等于当前显示界面的剩余空间信息来确定是否在当前界面添加所述图标的技术方案,解决了Android设备目前需要用户一次又一次确认是否有足够空间再去添加图标的技术问题,为用户提供友好、人性化的操作体验,使用户在操作中从视觉和易用性两方面均可获得好的体验。 Example [0054] The present invention, the spatial information is determined by the icon to be added is less than or equal to the remaining space information currently displayed screen interface to determine whether to add the icon in the aspect of the current, the current need to solve the Android user equipment over again make sure there is enough space to go to add technical problems icons, to provide users with a friendly, user-friendly operating experience, allowing users in the operation can get a good experience from the ease of use and visual aspects.

[0055] 实施例3 [0055] Example 3

[0056] 本发明实施例3提供了一种在Android系统的界面中添加图标的装置,所述Android系统有N个界面,请参见图3,该装置包括: [0056] Embodiment 3 of the present invention provides an apparatus for adding an icon interface Android system, the Android system has N interface, see Figure 3, the apparatus comprising:

[0057] 第一获取模块301,用于获取添加指令信息; [0057] a first obtaining module 301, configured to acquire instruction information is added;

[0058] 第二获取模块302,用于根据所述添加指令信息,获取待添加图标的空间信息和第M界面的剩余空间信息; [0058] The second acquiring module 302 is configured to add information based on the remaining space of the instruction information acquired icon to be added spatial information and M interface;

[0059] 第一判断模块303,用于判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息; [0059] a first determining module 303, configured to judge whether spatial information to be added is greater than the remaining space information icons interface of M;

[0060] 第二判断模块304,用于判断所述第M界面是否为最后一个待判断的界面; [0060] The second determination module 304 for determining the M first interface is the last interface to be judged;

[0061] 添加模块305,用于当所述第一判断模块判断出所述待添加图标的空间信息不大于第M界面的剩余空间信息时,在第M界面的剩余空间添加所述图标; [0061] adding module 305, when the first judging module determines that the spatial information about the icons to be added is not greater than the remaining space information of the M interface, in the remaining space of said adding M interface icon;

[0062] 其中,M、N为自然数,且I彡MS N。 [0062] wherein, M, N are natural numbers, and I San MS N.

[0063] 进一步地,参见图4,该装置还可以包括: [0063] Further, referring to FIG. 4, the apparatus may further comprise:

[0064] 建立模块306,用于当第二判断模块判断出所述第M界面是最后一个待判断的界面时,新建另一界面; [0064] establishing module 306, configured to, when the second judging module determines that the first M interface is judged to be the last interface, another new interface;

[0065] 所述添加模块305还用于在新建的界面中添加所述图标。 [0065] The adding module 305 is further configured to add the new icon in the interface.

[0066] 进一步地,参见图5,该装置还可以包括: [0066] Further, referring to FIG. 5, the apparatus may further comprise:

[0067] 排序模块307,用于根据所述添加模块305添加图标后的界面,按照图标使用频率对当前界面中的所有图标进行排序。 [0067] The ranking module 307, according to the interface module 305 to add the add icon, the icon according to frequency of use to sort all of the icons of the current interface. 在添加的界面上可以有多种应用程序的图标放置。 On the Add icon interface can be placed in a variety of applications. 用户对这些图标以及刚刚添加进来的图标进行排序后放置,可以使得那些最经常用到的应用程序图标放置在最显眼或者最前列的位置,用户便于对其进行操作。 After placing the user to sort the icons and just add in the icon, you can make those most frequently used application icons are placed in the most prominent position or in the forefront, the user easy to manipulate.

[0068] 本发明实施例通过判断待添加图标的空间信息是否小于或等于当前显示界面的剩余空间信息来确定是否在当前界面添加所述图标的技术方案,解决了Android设备目前需要用户一次又一次确认是否有足够空间再去添加图标的技术问题,为用户提供友好、人性化的操作体验,使用户在操作中从视觉和易用性两方面均可获得好的体验。 Example [0068] The present invention, the spatial information is determined by the icon to be added is less than or equal to the remaining space information currently displayed screen interface to determine whether to add the icon in the aspect of the current, the current need to solve the Android user equipment over again make sure there is enough space to go to add technical problems icons, to provide users with a friendly, user-friendly operating experience, allowing users in the operation can get a good experience from the ease of use and visual aspects.

[0069] 实施例4 [0069] Example 4

[0070] 本发明实施例4公开了一种Android系统的移动终端,包括:基带芯片、触摸显示屏、天线等,该移动终端还包括实施例3中的在界面添加图标的装置。 Example [0070] The present invention discloses a mobile terminal 4 Android system, comprising: a baseband chip, touch screen, antenna, etc., the mobile terminal further includes the device icon in Example 3 was added interface. 具体的,该移动终端可以是具有Android系统的手机、PDA(个人数字助理)、家庭信息机(Home informat1nDisplay, HID)、移动互联网设备(Mobile Internet Device, HID)等终端设备。 Specifically, the mobile terminal may be a Android phone, PDA (personal digital assistant), home information machine (Home informat1nDisplay, HID), mobile Internet devices (Mobile Internet Device, HID) and other devices.

[0071] 本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 [0071] Those of ordinary skill in the art will be appreciated, to achieve the above embodiments of the method that all or part of the processes may be related hardware instructed by a computer program, the program may be stored in a computer readable storage medium. when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnIyMemory,ROM)或随机存储记忆体(Random AccessMemory, RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory (Read-OnIyMemory, ROM) or a random access memory (Random AccessMemory, RAM) and the like.

[0072] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0072] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, the, equivalent substitutions, improvements should be included in the within the scope of the present invention.

Claims (8)

1.一种在Android系统的界面中添加图标的方法,所述Android系统有N个界面,其特征在于,所述方法包括: a.获取添加指令ί目息; b.根据所述添加指令信息,获取待添加图标的空间信息; c.根据所述添加指令信息,获取第M界面的剩余空间信息; d.判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息:若是,则执行步骤e,若否,则执行步骤f; e.判断所述第M显示界面是否为最后一个待判断的界面:若是,则执行步骤g,若否,则M赋值为M+1并返回步骤c ; f.在所述界面中添加所述图标,流程结束; g.新建另一界面,并在新建的界面中添加所述图标,流程结束; 其中,M、N为自然数,且I彡MS N。 1. A method of adding an icon interface Android system, the Android system has N interface, characterized in that, said method comprising: a destination information obtaining adding instruction ί; B is added according to the instruction information. ., the spatial information acquired icon to be added; C is added according to the instruction information, obtaining the M remaining space information of the interface; if the spatial information of the icon to be added is determined larger than M d interface remaining space information: if, step E is executed, if no, performing step f; e M determines the second display screen is the last interface is determined to be: if, step g, if not, the M and M + 1 is assigned return step c; f is added to the icon in the interface, the flow ends;.. g another new interface, and add the new icon in the interface, the flow ends; wherein, M, N are natural numbers, and I San MS N.
2.如权利要求1所述的方法,其特征在于,在添加所述图标后,按照图标使用频率对当前显示界面中的所有图标进行排序。 2. The method according to claim 1, wherein, after the addition of the icon, the icon according to frequency of use to sort all icons currently displayed interface.
3.如权利要求1所述的方法,其特征在与,通过系统本身所建立的栅格参数和已经被应用程序图标占去的空间信息,来确定所述剩余空间信息。 The method according to claim 1, characterized in that the grid parameters established by the system itself and has occupied the application icon to spatial information, determining the remaining space information.
4.如权利要求1所述的方法,其特征在于,所述图标为快捷图标、窗口控件Widget、文件夹、书签。 4. The method according to claim 1, wherein the icon shortcut icon, window controls Widget, folder, bookmark.
5.—种在Android系统的界面中添加图标的装置,所述Android系统有N个界面,其特征在于,所述装置包括: 第一获取模块,用于获取添加指令信息; 第二获取模块,用于根据所述添加指令信息,获取待添加图标的空间信息和第M界面的剩余空间信息; 第一判断模块,用于判断所述待添加图标的空间信息是否大于第M界面的剩余空间信息; 第二判断模块,用于判断所述第M界面是否为最后一个待判断的界面; 添加模块,用于当所述第一判断模块判断出所述待添加图标的空间信息不大于第M界面的剩余空间信息时,在第M界面的剩余空间添加所述图标; 其中,M、N为自然数,且I彡MS N。 5.- species is added in the interface device icon Android system, the Android system has N interface, wherein, said means comprising: a first acquiring module, for acquiring the add command information; a second acquiring module, the information for the addition instruction, acquiring the remaining spatial information and spatial information of the M interface icon to be added; if spatial information of the icon to be added to the first determining module, configured to judge larger than the remaining space information interface M ; second determination means for determining the M th interface interface is the last to be judged; adding module, configured to, when the determining module determines that the first spatial information of the icon to be added is not larger than M interface when the remaining space information, the remaining space of the icon added M interface; wherein, M, N are natural numbers, and I San MS N.
6.如权利要求5所述的装置,其特征在于,所述装置还包括: 排序模块,用于根据所述添加模块添加图标后的界面,按照图标使用频率对当前界面中的所有图标进行排序。 6. The apparatus according to claim 5, characterized in that said apparatus further comprises: a sorting module, the module interface according to the add icon is added, according to frequency of use icons to sort all of the icons of the current interface .
7.如权利要求5或6所述的装置,其特征在于,所述装置还包括: 建立模块,用于当第二判断模块判断出所述第M界面是最后一个待判断的界面时,新建另一界面; 所述添加模块还用于在新建的界面中添加所述图标。 7. The apparatus of claim 5 or claim 6, characterized in that said apparatus further comprises: establishing module, configured to, when the second judging module determines that the first M interface is judged to be the last interface, new another interface; further the adding module for adding the new icon in the interface.
8.—种Android系统的移动终端,包括:基带芯片、触摸显示屏、天线,其特征在于,所述移动终端还包括如权利要求5-7任一项所述的在界面添加图标的装置。 8.- species Android mobile terminal system, comprising: a baseband chip, a touch screen, antenna, wherein, said mobile terminal further comprises means as claimed in claim adding icons interface of any of claims 5-7.
CN 201510028091 2010-04-28 2010-04-28 Method and device for adding icon in interface and mobile terminal CN104571825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510028091 CN104571825A (en) 2010-04-28 2010-04-28 Method and device for adding icon in interface and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510028091 CN104571825A (en) 2010-04-28 2010-04-28 Method and device for adding icon in interface and mobile terminal

Publications (1)

Publication Number Publication Date
CN104571825A true true CN104571825A (en) 2015-04-29

Family

ID=53088038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510028091 CN104571825A (en) 2010-04-28 2010-04-28 Method and device for adding icon in interface and mobile terminal

Country Status (1)

Country Link
CN (1) CN104571825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017067460A1 (en) * 2015-10-22 2017-04-27 北京金山安全软件有限公司 Desktop home screen determining method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025761A (en) * 2007-01-04 2007-08-29 浙江华立通信集团有限公司 Main menu interface and its construcing method
CN101223497A (en) * 2005-07-13 2008-07-16 微软公司 Rich drag drop user interface
CN101627360A (en) * 2007-01-05 2010-01-13 苹果公司 Method, system, and graphical user interface for viewing multiple application windows

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101223497A (en) * 2005-07-13 2008-07-16 微软公司 Rich drag drop user interface
CN101025761A (en) * 2007-01-04 2007-08-29 浙江华立通信集团有限公司 Main menu interface and its construcing method
CN101627360A (en) * 2007-01-05 2010-01-13 苹果公司 Method, system, and graphical user interface for viewing multiple application windows

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017067460A1 (en) * 2015-10-22 2017-04-27 北京金山安全软件有限公司 Desktop home screen determining method and device

Similar Documents

Publication Publication Date Title
CN101770399A (en) Electronic equipment, method and device for switching operating system desktop
CN101867637A (en) Method and terminal for dynamically generating standby interface
CN101853130A (en) Unlocking method and device of touch screen and terminal equipment
CN102945138A (en) Switching method and terminal for application programs
CN102819395A (en) Terminal and icon display method
CN102394673A (en) Ordering method of bluetooth devices and system thereof
CN103076973A (en) Window switching method and system and intelligent terminal
US20120173741A1 (en) Transferring web data between operating system environments
CN102945134A (en) Method and device for quick reply
CN103049289A (en) Method and device for achieving virtual multisystem based on Android system
US20100255882A1 (en) Apparatus and a method for arranging elements on a display
US20130241829A1 (en) User interface method of touch screen terminal and apparatus therefor
US20130024818A1 (en) Apparatus and Method for Handling Tasks Within a Computing Device
CN102118476A (en) Method for displaying menu of mobile phone and mobile phone
CN103064580A (en) Method of hiding application on desktop and calling out hidden application
CN103106005A (en) Method and device for arranging status bar icons of mobile appliance
CN102012783A (en) Method and terminal for controlling terminal wallpaper
CN102946462A (en) Contact information grouping method based on mobile phone and mobile phone
CN103309561A (en) Method and device for processing information
CN101833418A (en) Method and device for adding icon in interface and mobile terminal
CN103488392A (en) Editing method and device used for editable content of touch screen, and terminal
US20130042205A1 (en) Information processing apparatus
CN102789353A (en) Method and device for operating desktop objects on touch screen mobile devices
CN102752441A (en) Mobile terminal with touch screen and control method thereof
CN103064609A (en) Display method and device of extended information

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination