CN103577045A - Method for self-defining status bar of mobile phone - Google Patents

Method for self-defining status bar of mobile phone Download PDF

Info

Publication number
CN103577045A
CN103577045A CN201310482929.8A CN201310482929A CN103577045A CN 103577045 A CN103577045 A CN 103577045A CN 201310482929 A CN201310482929 A CN 201310482929A CN 103577045 A CN103577045 A CN 103577045A
Authority
CN
China
Prior art keywords
status bar
application program
icon
described application
mobile phone
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.)
Pending
Application number
CN201310482929.8A
Other languages
Chinese (zh)
Inventor
孙建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310482929.8A priority Critical patent/CN103577045A/en
Publication of CN103577045A publication Critical patent/CN103577045A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for self-defining a status bar of a mobile phone. The method comprises the steps of adding related attributes of selected application programs and the status bar in an Android system; through the related attributes, creating shortcuts of the application programs on the status bar. The method for self-defining the status bar of the mobile phone has the advantages that users can conveniently call the application programs which are self-defined in the status bar, the operation is convenient to perform and the user experience is improved.

Description

A kind of method of user-defined mobile phone status bar
Technical field
The present invention relates to technical field of mobile terminals, more particularly, relate to a kind of method of user-defined mobile phone status bar.
Background technology
At present, switching item in mobile phone state hurdle is all the quick switch of the application program of embedded in mobile phone acquiescence, such as there being the switches such as wifi, data network, bluetooth, screen intensity, offline mode and screen rotation, by clicking the icon of above-mentioned quick switch, can realize the unlatching of corresponding application program or close and control or other adjustment operations.Yet existing mobile phone state hurdle can't add for User Defined the quick switch of application program, such as: the quick switches of QQ application program etc., it is not easy to user's operation, has reduced user's experience sense.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, a kind of method of user-defined mobile phone status bar of the user's of raising experience sense is provided.
For achieving the above object, technical scheme provided by the invention is as follows: a kind of method of user-defined mobile phone status bar, comprises the following steps:
In Android system, add selected application program and the association attributes of status bar;
By described association attributes, on status bar, create the shortcut of described application program.
Furthermore, described step of adding the association attributes of selected application program and status bar in Android system specifically comprises:
In the permissions list of Android system, add a status bar attribute;
The authorization code corresponding with described status bar attribute is set in the AndroidMenifest.xml of selected application program configuration file, to allow described application program to use described status bar attribute.
Furthermore, the described step that creates the shortcut of described application program by described association attributes on status bar specifically comprises:
Calling interface adds the application icon of described application program in status bar icon list to;
In status bar icon list, select the application icon of described application program, and on status bar, show this application icon;
The application icon that described application program is set carries out corresponding icon state demonstration and the processing mode of switch control operation in status bar.
Furthermore, the described application icon of selecting described application program in status bar icon list, and on status bar, show that the step of this application icon specifically comprises:
The show tags of the application icon of described application program is set;
When the show tags of the application icon of the described application program status indication in status bar icon list for can, when status bar shows, showing this application icon on status bar.
Furthermore, the step that the described application icon that described application program is set carries out the processing mode that corresponding icon state shows in status bar specifically comprises:
The color that the color of the application icon of the described application program in backstage closed condition is set to the application icon of grey and the described application program in background operation state is set to colour.
Furthermore, the step that the described application icon that described application program is set carries out the processing mode of corresponding switch control operation in status bar specifically comprises:
Detect the on off state of current described application program;
The trigger action of detection to the application icon of the described application program in status bar, described trigger action comprises click action and long by action;
When described application program is when backstage closed condition application icon that described application program detected have click action, backstage starts described application program;
When described application program is when background operation state application icon that described application program detected have click action, described application program is closed on backstage;
When the application drawing of described application program being detected, indicate longly during by action, directly open the application interface of described application program.
Compared with prior art, beneficial effect of the present invention is:
The present invention by adding the association attributes of selected application program and status bar and create the shortcut of described application program according to described association attributes on status bar in Android system, make user can call easily self-defined application program in status bar, easy to operate, improved user's experience sense.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of user-defined mobile phone status bar of the present invention;
Fig. 2 is the surface chart of status bar icon list of the present invention;
Fig. 3 be the self-defined interpolation of the present invention QQ application program shortcut realize design sketch.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.
A kind of method that the invention provides user-defined mobile phone status bar, is elaborated to the present embodiment below in conjunction with accompanying drawing.
Fig. 1 is method flow diagram of the present invention, please refer to Fig. 1, and the method for the embodiment of the present invention comprises the following steps:
Step S1, in Android system, add selected application program and the association attributes of status bar;
In the present embodiment, particularly, step S1 further comprises:
Step S11, in the permissions list of Android system, add a status bar attribute;
Wherein, in Android system, there is a permissions list, in permissions list, increase status bar attribute a: android.permission.addToStatusBar, this is the equal of the sign of a permission, while having this authority in certain application program, in the code of status bar, can allow to increase so the application icon code of this application program and the judgement branch of corresponding function.
The position of the code of status bar is according to the setting of each platform Huo Ge producer and distinct, such as: frameworks base packages SystemUI src com android systemui statusbar.
Step S12, the authorization code corresponding with described status bar attribute is set in the AndroidMenifest.xml of selected application program configuration file, to allow described application program to use described status bar attribute;
Wherein, the authorization code corresponding with described status bar attribute: android.permission.addToStatusBar can be set to:
<uses-permission android:name=" android.permission.addToStatusBar "/>; There is the application program of this authorization code to have authority that its on off state is put on status bar, can call the code in relevant status bar.
Step S2, by described association attributes, on status bar, create the shortcut of described application program;
In the present embodiment, particularly, step S2 further comprises:
Step S21, calling interface add the application icon of described application program in status bar icon list to;
Wherein, there is the application program of the authorization code corresponding with described status bar attribute calling interface (as: addToStatusBar) realization to add application icon to function in status bar icon list.When user clicks the Edit button in status bar, the application icon adding just can be presented in status bar icon list.
Step S22, in status bar icon list, select the application icon of described application program, and on status bar, show this application icon;
Particularly, step S22 further comprises:
Step S221, the show tags of the application icon of described application program is set;
Wherein, the tag definitions of described demonstration is StatusBarShowTag, as shown in Figure 2, described demonstration be marked at avatar in status bar icon list for choosing option.
Step S222, when the show tags of the application icon of the described application program status indication in status bar icon list for can, when status bar shows, showing this application icon on status bar;
Wherein, if the relevant position in status bar icon list ticks, the state of this show tags StatusBarShowTag is " can show at status bar " state so, accordingly, the value of this show tags StatusBarShowTag is just true, and status bar just can show this application icon, if do not make hook, accordingly, the value of this show tags StatusBarShowTag is just false so, does not show this application icon.
Step S23, the application icon that described application program is set carry out the processing mode that corresponding icon state shows in status bar;
Wherein, the color that the color of the application icon of the described application program in backstage closed condition is set to the application icon of grey and the described application program in background operation state is set to colour.
At this, it should be noted that, the color of the application icon of described application program also can be set to other colors, as long as can obviously distinguish the on off state of described application program, can implement, and non-the present embodiment is limited.
Step S24, the processing mode that the application icon of described application program carries out corresponding switch control operation in status bar is set;
Particularly, step S24 further comprises:
Step S241, detect the on off state of current described application program;
Step S242, the trigger action of detection to the application icon of the described application program in status bar, described trigger action comprises click action and long by action;
Step S243, when described application program is when backstage closed condition application icon that described application program detected have click action, backstage starts described application program;
Step S244, when described application program is when background operation state application icon that described application program detected have click action, described application program is closed on backstage;
Step S245, when the application drawing of described application program being detected, indicate longly during by action, directly open the application interface of described application program.
As shown in Figure 3, this figure is the design sketch of realizing by the shortcut of method of the present invention self-defined interpolation QQ application program on status bar, the quick switch such as the wifi with mobile phone default setting on status bar, data network, bluetooth is the same, and user can realize the unlatching of QQ application program or close by clicking the icon of QQ application program.Certainly, user also can be by other conventional application programs of the self-defined interpolation of method of the present invention.
In sum, the present invention can make user can call easily self-defined application program in status bar, easy to operate, has improved user's experience sense.
At this, it should be noted that, the method for self-defined status bar of the present invention is except being applied in mobile phone, can also be applied in based on Android system and be provided with panel computer, human-computer interaction terminal or other mobile terminal devices of status bar.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
Above-described embodiment is preferably embodiment of the present invention; but embodiments of the present invention are not restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and principle, substitutes, combination, simplify; all should be equivalent substitute mode, within being included in protection scope of the present invention.

Claims (6)

1. a method for user-defined mobile phone status bar, is characterized in that, the method comprises the following steps:
In Android system, add selected application program and the association attributes of status bar;
By described association attributes, on status bar, create the shortcut of described application program.
2. the method for user-defined mobile phone status bar according to claim 1, is characterized in that, described step of adding the association attributes of selected application program and status bar in Android system specifically comprises:
In the permissions list of Android system, add a status bar attribute;
The authorization code corresponding with described status bar attribute is set in the AndroidMenifest.xml of selected application program configuration file, to allow described application program to use described status bar attribute.
3. the method for user-defined mobile phone status bar according to claim 1 and 2, is characterized in that, the described step that creates the shortcut of described application program by described association attributes on status bar specifically comprises:
Calling interface adds the application icon of described application program in status bar icon list to;
In status bar icon list, select the application icon of described application program, and on status bar, show this application icon;
The application icon that described application program is set carries out corresponding icon state demonstration and the processing mode of switch control operation in status bar.
4. the method for user-defined mobile phone status bar according to claim 3, is characterized in that, the described application icon of selecting described application program in status bar icon list, and on status bar, show that the step of this application icon specifically comprises:
The show tags of the application icon of described application program is set;
When the show tags of the application icon of the described application program status indication in status bar icon list for can, when status bar shows, showing this application icon on status bar.
5. the method for user-defined mobile phone status bar according to claim 3, is characterized in that, the step that the described application icon that described application program is set carries out the processing mode of corresponding icon state demonstration in status bar specifically comprises:
The color that the color of the application icon of the described application program in backstage closed condition is set to the application icon of grey and the described application program in background operation state is set to colour.
6. the method for user-defined mobile phone status bar according to claim 3, is characterized in that, the step that the described application icon that described application program is set carries out the processing mode of corresponding switch control operation in status bar specifically comprises:
Detect the on off state of current described application program;
The trigger action of detection to the application icon of the described application program in status bar, described trigger action comprises click action and long by action;
When described application program is when backstage closed condition application icon that described application program detected have click action, backstage starts described application program;
When described application program is when background operation state application icon that described application program detected have click action, described application program is closed on backstage;
When the application drawing of described application program being detected, indicate longly during by action, directly open the application interface of described application program.
CN201310482929.8A 2013-10-15 2013-10-15 Method for self-defining status bar of mobile phone Pending CN103577045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310482929.8A CN103577045A (en) 2013-10-15 2013-10-15 Method for self-defining status bar of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310482929.8A CN103577045A (en) 2013-10-15 2013-10-15 Method for self-defining status bar of mobile phone

Publications (1)

Publication Number Publication Date
CN103577045A true CN103577045A (en) 2014-02-12

Family

ID=50048940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310482929.8A Pending CN103577045A (en) 2013-10-15 2013-10-15 Method for self-defining status bar of mobile phone

Country Status (1)

Country Link
CN (1) CN103577045A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970423A (en) * 2014-05-26 2014-08-06 厦门美图之家科技有限公司 Quick setting method of common functions of smart phone
CN104636148A (en) * 2015-03-09 2015-05-20 广东欧珀移动通信有限公司 Method and device for managing operation option of mobile terminal
CN104820631A (en) * 2014-10-29 2015-08-05 小米科技有限责任公司 Presentation method and presentation apparatus of state of external device, and user terminal
CN104936041A (en) * 2015-06-10 2015-09-23 福建新大陆通信科技股份有限公司 Method and system for customizing set top box status bar
WO2015139407A1 (en) * 2014-03-18 2015-09-24 深圳市金立通信设备有限公司 Application management method and terminal
CN105094791A (en) * 2014-05-22 2015-11-25 北京奇虎科技有限公司 Status bar notification storage method and status bar notification storage device
CN105872680A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device in support of customizing desktop
CN105867721A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 Shortcut switch control method and apparatus
CN106534538A (en) * 2016-11-17 2017-03-22 珠海市魅族科技有限公司 Status bar control method and device for intelligent terminal
CN106815041A (en) * 2016-11-24 2017-06-09 北京奇虎科技有限公司 The loading method and device of application program entry information in task manager
CN107037958A (en) * 2016-10-28 2017-08-11 努比亚技术有限公司 The switching method and terminal of a kind of application program
CN107168609A (en) * 2017-06-06 2017-09-15 广东欧珀移动通信有限公司 status bar display method, device and terminal
CN107315515A (en) * 2017-06-20 2017-11-03 努比亚技术有限公司 Color change method, terminal and the computer-readable recording medium of status bar icon
CN107632748A (en) * 2017-08-29 2018-01-26 维沃移动通信有限公司 A kind of information processing method and mobile terminal
WO2018018293A1 (en) * 2016-07-24 2018-02-01 张鹏华 Information pushing method during application switching and switching system
CN107885422A (en) * 2017-10-24 2018-04-06 南京粤讯电子科技有限公司 Display content method to set up, mobile terminal and the storage device of mobile terminal
CN107943385A (en) * 2017-11-03 2018-04-20 腾讯科技(深圳)有限公司 Parameter adjusting method and parameter adjustment control
CN109324849A (en) * 2018-07-05 2019-02-12 四川驹马科技有限公司 A kind of vehicle device split screen method and its system for realizing quick application switching
CN110471524A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 Display control method and terminal device
CN110568972A (en) * 2019-08-28 2019-12-13 重庆爱奇艺智能科技有限公司 Method and device for presenting shortcut
CN111356983A (en) * 2017-09-11 2020-06-30 深圳传音通讯有限公司 Electronic device, control method thereof, and computer-readable storage medium
CN112087545A (en) * 2017-10-31 2020-12-15 华为技术有限公司 Managing multiple free windows in a notification bar drop down menu
CN113495768A (en) * 2020-04-02 2021-10-12 成都鼎桥通信技术有限公司 Method and device for setting shortcut key in status bar pull-down menu of user interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235732A1 (en) * 2009-03-13 2010-09-16 Sun Microsystems, Inc. System and method for interacting with status information on a touch screen device
CN102855051A (en) * 2012-08-15 2013-01-02 中兴通讯股份有限公司 Method and device for processing application shortcut
CN103150081A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Method for creating user-defined shortcut icon in notification bar of mobile terminal, and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235732A1 (en) * 2009-03-13 2010-09-16 Sun Microsystems, Inc. System and method for interacting with status information on a touch screen device
CN102855051A (en) * 2012-08-15 2013-01-02 中兴通讯股份有限公司 Method and device for processing application shortcut
CN103150081A (en) * 2013-02-25 2013-06-12 广东欧珀移动通信有限公司 Method for creating user-defined shortcut icon in notification bar of mobile terminal, and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QUQUCANYANG: "Android_2.3状态栏中添加menu_home和back快捷键的方法", 《百度文库》, 28 April 2012 (2012-04-28) *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015139407A1 (en) * 2014-03-18 2015-09-24 深圳市金立通信设备有限公司 Application management method and terminal
CN105094791A (en) * 2014-05-22 2015-11-25 北京奇虎科技有限公司 Status bar notification storage method and status bar notification storage device
CN105094791B (en) * 2014-05-22 2018-10-23 北京奇虎科技有限公司 The storage method and device of status bar notice
CN103970423A (en) * 2014-05-26 2014-08-06 厦门美图之家科技有限公司 Quick setting method of common functions of smart phone
CN104820631A (en) * 2014-10-29 2015-08-05 小米科技有限责任公司 Presentation method and presentation apparatus of state of external device, and user terminal
CN104636148A (en) * 2015-03-09 2015-05-20 广东欧珀移动通信有限公司 Method and device for managing operation option of mobile terminal
CN104636148B (en) * 2015-03-09 2018-05-29 广东欧珀移动通信有限公司 The option of operation management method and device of a kind of mobile terminal
CN104936041A (en) * 2015-06-10 2015-09-23 福建新大陆通信科技股份有限公司 Method and system for customizing set top box status bar
CN105867721A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 Shortcut switch control method and apparatus
CN105872680A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Method and device in support of customizing desktop
WO2018018293A1 (en) * 2016-07-24 2018-02-01 张鹏华 Information pushing method during application switching and switching system
CN107037958A (en) * 2016-10-28 2017-08-11 努比亚技术有限公司 The switching method and terminal of a kind of application program
CN106534538B (en) * 2016-11-17 2020-03-06 珠海市魅族科技有限公司 Status bar control method and device of intelligent terminal
CN106534538A (en) * 2016-11-17 2017-03-22 珠海市魅族科技有限公司 Status bar control method and device for intelligent terminal
CN106815041B (en) * 2016-11-24 2020-12-08 北京安云世纪科技有限公司 Method and device for loading application program entry information in task manager
CN106815041A (en) * 2016-11-24 2017-06-09 北京奇虎科技有限公司 The loading method and device of application program entry information in task manager
CN107168609A (en) * 2017-06-06 2017-09-15 广东欧珀移动通信有限公司 status bar display method, device and terminal
CN107315515A (en) * 2017-06-20 2017-11-03 努比亚技术有限公司 Color change method, terminal and the computer-readable recording medium of status bar icon
CN107632748A (en) * 2017-08-29 2018-01-26 维沃移动通信有限公司 A kind of information processing method and mobile terminal
CN111356983A (en) * 2017-09-11 2020-06-30 深圳传音通讯有限公司 Electronic device, control method thereof, and computer-readable storage medium
CN107885422A (en) * 2017-10-24 2018-04-06 南京粤讯电子科技有限公司 Display content method to set up, mobile terminal and the storage device of mobile terminal
CN112087545A (en) * 2017-10-31 2020-12-15 华为技术有限公司 Managing multiple free windows in a notification bar drop down menu
CN107943385A (en) * 2017-11-03 2018-04-20 腾讯科技(深圳)有限公司 Parameter adjusting method and parameter adjustment control
CN109324849A (en) * 2018-07-05 2019-02-12 四川驹马科技有限公司 A kind of vehicle device split screen method and its system for realizing quick application switching
CN110471524A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 Display control method and terminal device
CN110568972A (en) * 2019-08-28 2019-12-13 重庆爱奇艺智能科技有限公司 Method and device for presenting shortcut
CN110568972B (en) * 2019-08-28 2021-06-15 重庆爱奇艺智能科技有限公司 Method and device for presenting shortcut
CN113495768A (en) * 2020-04-02 2021-10-12 成都鼎桥通信技术有限公司 Method and device for setting shortcut key in status bar pull-down menu of user interface

Similar Documents

Publication Publication Date Title
CN103577045A (en) Method for self-defining status bar of mobile phone
JP6139673B2 (en) User interface management method, user interface management apparatus, program, and recording medium
US20140237378A1 (en) Systems and method for implementing multiple personas on mobile technology platforms
CN105940365B (en) A kind of notification information processing method, device and terminal
CN108153466A (en) Operating method, mobile terminal and storage medium based on double screen
CN103197888A (en) Display control method and device of parameter interface
CN104885047A (en) Terminal and terminal operating method
CN104750450A (en) File sharing method in IM (Instant Messaging) and terminal
KR20130093043A (en) Method and mobile device for user interface for touch and swipe navigation
CN106506401A (en) A kind of flow managing method and mobile terminal
CN101873383B (en) Terminal operation configuration method and terminal
CN104731500B (en) A kind of information processing method and electronic equipment
CN105335048A (en) Electron equipment with concealed application icon and application icon conceal method
CN106354373A (en) Icon moving method and mobile terminal
EP3485358B1 (en) Electronic device and method thereof for managing applications
CN102346651A (en) Music file processing method and device
CN105094550A (en) Movement operation method and device for desktop icons
CN104484098A (en) Control method of mobile terminal touch screen operation and mobile terminal
JP5858896B2 (en) Electronic device, control method, and control program
CN104754111A (en) Control method for mobile terminal application and control device
CN112445564B (en) Interface display method, electronic device and computer readable storage medium
US20170003875A1 (en) Display Processing Method for Transient Interface, and Terminal
CN110471587A (en) Exchange method, interactive device, terminal and computer readable storage medium
CN102929506B (en) A kind of quick interpolation desktop elements is to the method for desktop
CN105472679B (en) Network switching method and device of communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140212

RJ01 Rejection of invention patent application after publication