CN105549838A - Method for utilizing gesture sliding to trigger removal of current Activity - Google Patents
Method for utilizing gesture sliding to trigger removal of current Activity Download PDFInfo
- Publication number
- CN105549838A CN105549838A CN201510539160.8A CN201510539160A CN105549838A CN 105549838 A CN105549838 A CN 105549838A CN 201510539160 A CN201510539160 A CN 201510539160A CN 105549838 A CN105549838 A CN 105549838A
- Authority
- CN
- China
- Prior art keywords
- screen
- current activity
- sliding
- application program
- interface
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a method for utilizing gesture sliding to trigger removal of current Activity. The method is characterized by comprising the steps: starting up an application program and enabling a first Activity interface; pressing one end of one side of a screen, and slowly sliding to the other side of the screen; when sliding over one third of the width of the screen, performing a finish () method by the application program; removing the current Activity interface, and returning a second Activity interface. The purpose of implementation of the technical scheme provided by the invention is to provide a gesture operation of sliding from the left to the right to return the last layer and remove the current Activity, resulting in achieving an effect of clicking a return button; therefore, user operations are facilitated and the user experience is improved.
Description
Technical field
The invention belongs to field of mobile terminals, particularly a kind of gesture slide trigger destroys the method for current Activity.
Background technology
Open after an activity browsed in present software at every turn, return to and all will click return push-button, if mobile phone screen is the upper left corner of return push-button at mobile phone screen or the button in other corners greatly, user also goes click to return by right-hand operated at every turn will be particularly troublesome.And therefore point that length difference is easily overdue hits other buttons or link, the Consumer's Experience caused is poor.
Summary of the invention
For the deficiency that above-mentioned prior art exists, the object of this invention is to provide a kind of gesture operation, there is right slip just can turn back to last layer from left-hand, destroy current Activity, realize the effect clicking return push-button, a kind of gesture slide trigger with above-mentioned advantage destroys the method for current Activity, has following technical characteristic:
Gesture slide trigger destroys a method of current Activity, it is characterized in that, comprising:
S1. open application program and enter an Activity interface;
S2. by one end of screen one side, then slowly slide to opposite side;
S3., when sliding into the width of screen 1/3rd, application program performs finish() method;
S4. destroy face, current Activity interface and turn back to the 2nd Activity interface.
Described when slide width less than screen 1/3rd time, so application program can not perform finish() method, screen stops an Activity interface.
When the width sliding into screen 1/3rd and when exceeding the width of screen 1/3rd, application program continues to perform finish() method.
The beneficial effect implementing technical solution of the present invention is handled easily, improves user experience.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) that a kind of gesture slide trigger of the present invention destroys the method for current Activity.
Fig. 2 is the embodiment schematic diagram of Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
As shown in Figure 1, Fig. 1 is the embodiment schematic diagram that a kind of gesture slide trigger of the present invention destroys the method for current Activity.
S1. first open software, user enters subpage frame when wanting to return, and user can be reached by gesture and return effect.
S2. user first handle by screen Far Left, then slowly slide to the right, during as user habit left-handed operation, also by screen rightmost, then slowly can slide left.
S3. when sliding into the width of screen 1/3rd, application program performs finish() method.
S4. destroy current Activity interface to turn back to another Activity interface and turn back to last layer.
If user from screen Far Left to the right sliding distance do not reach 1/3rd of screen, so program can not perform finish() method, do not destroy current Activity interface and still stay current page.
As shown in Figure 2, Fig. 2 is a kind of embodiment schematic diagram, as shown in Figure 2 a, the application program (APP) of starting hand-set, screen shows ActivityA interface, now, as shown in Figure 2 b, operating handset enters the ActivityB page, as now user wants to return to a upper interface A ctivityA, click screen Far Left, as shown in Figure 2 c, when slip moves to screen 1/3 position to the right, application program backstage can perform finish() method, destroy ActivityB interface, as shown in Figure 2 d, return to the ActivityA interface of upper level.
The benefit of said method is, does not need to click the return push-button being positioned at screen one jiao, can realize returning to upper level interface, and only need pointing slides slightly can complete, and substantially increases Consumer's Experience.Technical scheme involved in the present invention, can be applied in the application (APP) in mobile phone.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.
Claims (3)
1. gesture slide trigger destroys a method of current Activity, it is characterized in that, comprising:
S1. open application program and enter an Activity interface;
S2. by one end of screen one side, then slowly slide to opposite side;
S3., when sliding into the width of screen 1/3rd, application program performs finish() method;
S4. destroy face, current Activity interface and turn back to the 2nd Activity interface.
2. method according to claim 1, is characterized in that, when slide width less than screen 1/3rd time, so application program can not perform finish() method, screen stops an Activity interface.
3. method according to claim 1, is characterized in that, when the width sliding into screen 1/3rd and when exceeding the width of screen 1/3rd, application program performs finish() method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510539160.8A CN105549838A (en) | 2015-08-29 | 2015-08-29 | Method for utilizing gesture sliding to trigger removal of current Activity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510539160.8A CN105549838A (en) | 2015-08-29 | 2015-08-29 | Method for utilizing gesture sliding to trigger removal of current Activity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105549838A true CN105549838A (en) | 2016-05-04 |
Family
ID=55829050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510539160.8A Pending CN105549838A (en) | 2015-08-29 | 2015-08-29 | Method for utilizing gesture sliding to trigger removal of current Activity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105549838A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155521A (en) * | 2016-06-28 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of method and apparatus carrying out returning operation in terminal |
CN106383635A (en) * | 2016-10-14 | 2017-02-08 | 福建中金在线信息科技有限公司 | Display method and apparatus for previous interface of current display interface |
CN110502301A (en) * | 2019-08-19 | 2019-11-26 | 广东小天才科技有限公司 | Switching method, device, terminal and the storage medium of Activity |
CN111142773A (en) * | 2019-12-25 | 2020-05-12 | 中消云(北京)物联网科技研究院有限公司 | Operation control method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008227706A (en) * | 2007-03-09 | 2008-09-25 | Sharp Corp | Display control unit |
CN102243889A (en) * | 2010-05-13 | 2011-11-16 | 北京三星通信技术研究有限公司 | Mobile terminal and method for executing application program according to user input |
CN102609191A (en) * | 2012-01-14 | 2012-07-25 | 广东欧珀移动通信有限公司 | Browsing interaction method for incoming messages of touchscreen cellphones |
CN102685961A (en) * | 2011-03-07 | 2012-09-19 | 联想(北京)有限公司 | Method for controlling lamp effect on electronic device and electronic device |
CN102800338A (en) * | 2011-05-27 | 2012-11-28 | 上海三旗通信科技股份有限公司 | Interface display and function control mode of music player |
CN103699224A (en) * | 2013-12-16 | 2014-04-02 | 苏州佳世达光电有限公司 | Gesture sensing method and system |
CN104156136A (en) * | 2013-05-15 | 2014-11-19 | 上海渐华科技发展有限公司 | Karaoke song requesting and control method based on optical finger navigation |
-
2015
- 2015-08-29 CN CN201510539160.8A patent/CN105549838A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008227706A (en) * | 2007-03-09 | 2008-09-25 | Sharp Corp | Display control unit |
CN102243889A (en) * | 2010-05-13 | 2011-11-16 | 北京三星通信技术研究有限公司 | Mobile terminal and method for executing application program according to user input |
CN102685961A (en) * | 2011-03-07 | 2012-09-19 | 联想(北京)有限公司 | Method for controlling lamp effect on electronic device and electronic device |
CN102800338A (en) * | 2011-05-27 | 2012-11-28 | 上海三旗通信科技股份有限公司 | Interface display and function control mode of music player |
CN102609191A (en) * | 2012-01-14 | 2012-07-25 | 广东欧珀移动通信有限公司 | Browsing interaction method for incoming messages of touchscreen cellphones |
CN104156136A (en) * | 2013-05-15 | 2014-11-19 | 上海渐华科技发展有限公司 | Karaoke song requesting and control method based on optical finger navigation |
CN103699224A (en) * | 2013-12-16 | 2014-04-02 | 苏州佳世达光电有限公司 | Gesture sensing method and system |
Non-Patent Citations (1)
Title |
---|
GEMINI: "Android实现SwipeBack(右滑退出)效果", 《HTTPS://SEGMENTFAULT.COM/A/1190000002977515》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155521A (en) * | 2016-06-28 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of method and apparatus carrying out returning operation in terminal |
CN106383635A (en) * | 2016-10-14 | 2017-02-08 | 福建中金在线信息科技有限公司 | Display method and apparatus for previous interface of current display interface |
CN110502301A (en) * | 2019-08-19 | 2019-11-26 | 广东小天才科技有限公司 | Switching method, device, terminal and the storage medium of Activity |
CN111142773A (en) * | 2019-12-25 | 2020-05-12 | 中消云(北京)物联网科技研究院有限公司 | Operation control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9007314B2 (en) | Method for touch processing and mobile terminal | |
CN103488419B (en) | The operating method and communication terminal of communication terminal | |
CN103076973B (en) | A kind of windows switching method, system and intelligent terminal | |
CN105549838A (en) | Method for utilizing gesture sliding to trigger removal of current Activity | |
CN103905590B (en) | Mobile device and its dial panel | |
CN104615343A (en) | Terminal printscreen method and device | |
CN104331239A (en) | Method and system for operating handheld equipment through one hand | |
CN103955329A (en) | Intelligent terminal, mobile terminal and operating method thereof | |
CN103106002A (en) | Method of fast closing background application program and touch type mobile terminal thereof | |
CN103809852A (en) | Method and device for displaying multiple application programs on same screen at same time | |
CN102572047B (en) | The method that mobile phone display list selects process is fast realized by gesture | |
CN105607807A (en) | Mobile terminal based text processing method and system | |
CN103092496B (en) | A kind of method, device and mobile device controlling browser | |
CN104657053A (en) | Method for realizing particular functions by multi-point gestures at touch screen terminal | |
CN104536648A (en) | Intelligent terminal, mobile terminal and operating method of mobile terminal | |
CN105242835A (en) | Terminal and touch technology based menu selection method and apparatus | |
US10579254B2 (en) | Method and apparatus for realizing human-machine interaction | |
CN105573655A (en) | Terminal operation method and device and terminal | |
CN103105931B (en) | A kind of mobile terminal and the method for switching the mobile terminal application | |
CN104615352A (en) | Mobile terminal desktop, mobile terminal and operation method for mobile terminal desktop | |
CN102778999B (en) | Mobile terminal and full screen handwriting processing method thereof | |
CN107656686A (en) | Profile switching method and device | |
CN104468972A (en) | Incoming call processing method | |
CN105511762A (en) | Page control method and terminal | |
CN105677200A (en) | Mobile terminal control method and device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160504 |