CN109408182B - Method and device for skipping preset page, storage medium and terminal - Google Patents

Method and device for skipping preset page, storage medium and terminal Download PDF

Info

Publication number
CN109408182B
CN109408182B CN201811215301.0A CN201811215301A CN109408182B CN 109408182 B CN109408182 B CN 109408182B CN 201811215301 A CN201811215301 A CN 201811215301A CN 109408182 B CN109408182 B CN 109408182B
Authority
CN
China
Prior art keywords
page
shaking
current page
preset
current
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.)
Active
Application number
CN201811215301.0A
Other languages
Chinese (zh)
Other versions
CN109408182A (en
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.)
Wuba Co Ltd
Original Assignee
Wuba Co 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201811215301.0A priority Critical patent/CN109408182B/en
Publication of CN109408182A publication Critical patent/CN109408182A/en
Application granted granted Critical
Publication of CN109408182B publication Critical patent/CN109408182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a device, a storage medium and a terminal for skipping a preset page, wherein the method comprises the following steps: the method for supporting shaking and the shaking call-back method are realized in a base class, wherein the shaking call-back method is used for jumping a current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a page at the upper level of the current page; setting all pages in an application program inheriting a base class, and setting a current page as a first responder; and under the condition that the shaking event is detected, calling a shaking call-back method by the current page, and jumping from the current page to a preset page. According to the invention, the method for supporting shaking and shaking callback is realized in all base classes, so that the user can quickly jump from the current page to the preset page by shaking the mobile phone, the operation of the user is simplified, and the user experience is improved well.

Description

Method and device for skipping preset page, storage medium and terminal
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method, an apparatus, a storage medium, and a terminal for skipping a preset page.
Background
With the rapid development of the mobile internet, more and more applications (apps) with complex services and huge functions appear in each large mobile phone application market, and one App with complex service logics usually has a plurality of pages, namely page controllers, and the page controllers are all connected with each other through a navigation stack. However, the number of App function pages is too large, and when a user enters a page corresponding to a bottom layer and switches root views or jumps to some specific pages, the user often backs the pages by clicking a return button for many times or executing a return gesture for many times, and the user experience is poor due to the fact that the operation is too complicated.
Disclosure of Invention
The invention provides a preset page skipping method, a preset page skipping device, a storage medium and a terminal, which are used for solving the problems that in the prior art, when a user enters a page relative to a bottom layer and switches root views or skips certain specific pages, the operation required to be executed is too complicated, and the user experience is poor.
In order to solve the above technical problem, in one aspect, the present invention provides a preset page skipping method, including: the method for supporting shaking and the shaking call-back method are implemented in a base class, wherein the shaking call-back method is used for jumping a current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a previous page of the current page; setting all pages in an application program to inherit the base class, and setting the current page as a first responder; and under the condition that a shaking event is detected, the current page calls the shaking call-back method, and the current page jumps to the preset page.
Further, the detecting a shaking event includes: determining whether the shaking supporting method acquires a predetermined signal, wherein the predetermined signal is a signal generated by an angle sensor in a shaking state; determining that the shake-supporting method detects the shake event in a case where the shake-supporting method acquires a predetermined signal.
Further, when the preset page is a root view, the current page calls the shake callback method, and jumps from the current page to the preset page, including: clearing all the pages in the navigation stack, and jumping from the current page to the root view.
Further, when the preset page is a previous page of the current page, the current page calls the shake callback method, and jumps from the current page to the preset page, including: and jumping to a page corresponding to a page in the stack above the current page in the navigation stack from the current page.
On the other hand, the invention also provides a device for skipping to the preset page, which comprises: the configuration module is used for realizing a method for supporting shaking and a shaking call-back method in a base class, wherein the shaking call-back method is used for jumping a current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a previous page of the current page; the inheritance module is used for setting all pages in the application program to inherit the base class and setting the current page as a first responder; and the call-back module is used for calling the shake call-back method by the current page under the condition that a shake event is detected, and jumping from the current page to the preset page.
Further, the callback module is further configured to: determining whether the shaking supporting method acquires a predetermined signal, wherein the predetermined signal is a signal generated by an angle sensor in a shaking state; determining that the shake-supporting method detects the shake event in a case where the shake-supporting method acquires a predetermined signal.
Further, in a case that the preset page is a root view, the callback module is specifically configured to: clearing all the pages in the navigation stack, and jumping from the current page to the root view.
Further, in a case that the preset page is a previous page of the current page, the callback module is specifically configured to: and jumping to a page corresponding to a page in the stack above the current page in the navigation stack from the current page.
In another aspect, the present invention further provides a storage medium storing a computer program, wherein the computer program is executed by a processor to implement the steps of the method for skipping to a preset page.
On the other hand, the invention further provides a terminal, which at least comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the steps of the method for skipping the preset page when executing the computer program on the memory.
According to the invention, the method for supporting shaking and shaking callback is realized in all base classes, so that the user can quickly jump from the current page to the preset page by shaking the mobile phone, the operation of the user is simplified, and the user experience is improved well.
Drawings
FIG. 1 is a flowchart illustrating a method for skipping a predetermined page according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for skipping to a predetermined page according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a jump device for presetting pages in a third embodiment and a fourth embodiment of the present invention.
Detailed Description
In order to solve the problems that in the prior art, when a user enters a page of a relative bottom layer and switches root views or skips certain specific pages, operations to be executed are too complicated, and user experience is poor, the invention provides a skip method, a device, a storage medium and a terminal for a preset page, and the invention is further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
A first embodiment of the present invention provides a preset page jump method, a flowchart of which is shown in fig. 1, and mainly includes steps S101 to S103:
s101, a method for supporting shaking and a shaking callback method are realized in the base class.
S102, setting all the page inheritance base classes in the application program, and setting the current page as a first responder.
In an application program, there are usually many pages, each of which is carried by a page controller, and different controls are added to the page controller to implement the display and functions of specific contents. In order to implement unified control on all pages, a method for supporting shaking and a call-back method after shaking are implemented in a base class of an application program, it should be understood that the method for supporting shaking is provided by an operating system of a terminal, for example, in an iOS system of apple, the method for supporting shaking is setappplications supported shakeToEdit, and the method is implemented in a base class of App, that is, it can be supported that whether a user generates a shaking operation on a mobile phone in App; the shake callback method is a method executed after a shake event (i.e., an operation of a user shaking a mobile phone) is finished, and specific contents of the method may be set according to an actual situation. Specifically, the preset page may be a page set by a developer and commonly used by a user, or a page manually selected by the user during use, and mainly includes one of the following pages: the root view and the upper-level page of the current page can also set a preset page as a consultation interface according to the requirements of a user.
After the method for supporting shaking and the shaking call-back method are realized in the base class, all pages in the App are set to inherit the base class, that is, all pages can realize the method for supporting shaking and the shaking call-back method, at the moment, the current page in all pages is set as a first responder, namely, the page currently displayed to the user or being operated by the user is set as a first responder of a shaking event, and when the user shakes the mobile phone, the current page can timely know that the shaking event is detected.
S103, under the condition that the shaking event is detected, the current page calls a shaking call-back method, and the current page jumps to a preset page.
When a user shakes the mobile phone, the current page serves as a first responder, the occurrence of a shaking event is detected, and at the moment, after the shaking event is ended, namely after the user stops shaking the mobile phone, the current page immediately jumps to a preset page from the current page by calling a shaking call-back method.
Specifically, the specific content of the shake callback method may also be different according to the specific content of the preset page. In the case that the preset page is the root view, the specific content of the shake call-back method is to empty all in-stack pages in the navigation stack, and after all in-stack pages in the navigation stack are emptied, App directly jumps back to the root view from the current page.
And under the condition that the preset page is the previous level page of the current page, the specific content of the shaking call-back method is to jump from the current page to a page corresponding to the page in the stack above the current page in the navigation stack. Because the navigation stack records the connection relation of service logics among all pages, when a user clicks to enter a current page through a previous page, the navigation stack can record in pages in the stack in sequence, and therefore when a preset page is the previous page of the current page, the user can jump to the previous level of the current page only according to the previous page in the navigation stack.
According to the method for supporting the shaking and the shaking call-back in all the base classes, a user can quickly jump from a current page to a preset page through the operation of shaking the mobile phone, the operation of the user is simplified, and the user experience is well improved.
A second embodiment of the present invention provides a preset page jump method, a flowchart of which is shown in fig. 2, and mainly includes steps S201 to S204:
s201, a method for supporting shaking and a shaking call-back method are realized in the base class.
S202, setting all the page inheritance base classes in the application program, and setting the current page as a first responder.
In an application program, there are usually many pages, each of which is carried by a page controller, and different controls are added to the page controller to implement the display and functions of specific contents. In order to realize the unified control of all pages, a method for supporting shaking and a callback method after the shaking are realized in a base class of an application program, and the method is realized in a base class of an App, namely, whether a user shakes a mobile phone or not is detected in the App can be supported; the shake callback method is a method executed after a shake event is ended, and specific contents of the method can be set according to actual conditions. Specifically, the preset page may be a page set by a developer and commonly used by a user, or a page manually selected by the user during use, and mainly includes one of the following pages: the root view and the upper-level page of the current page can also set a preset page as a consultation interface according to the requirements of a user.
After the method for supporting shaking and the shaking call-back method are realized in the base class, all pages in the App are set to inherit the base class, that is, all pages can realize the method for supporting shaking and the shaking call-back method, at the moment, the current page in all pages is set as a first responder, namely, the page currently displayed to the user or being operated by the user is set as a first responder of a shaking event, and when the user shakes the mobile phone, the current page can timely know that the shaking event is detected.
S203, determining whether the method supporting shaking detects a predetermined signal, if so, executing the step S204, otherwise, executing the step S203 again.
S204, determining that the shaking event is detected by the method supporting shaking, calling a shaking call-back method by the current page, and jumping from the current page to a preset page.
After the method for supporting shaking is implemented in the base class, the current page can obtain whether a shaking event is generated currently or not through the method for supporting shaking. When a user shakes the mobile phone, the angle sensor in the mobile phone correspondingly detects the constant change of the angle and outputs a preset signal, and the shaking supporting method detects whether a shaking event occurs by detecting whether the preset signal exists or not and acquiring the preset signal.
When the preset signal is obtained, the shaking event is determined to occur, and at the moment, after the shaking event is ended, namely after the user stops shaking the mobile phone, the current page immediately jumps to the preset page from the current page by calling the shaking call-back method. If the predetermined signal is not present, the shaking event does not occur, and at this time, no operation is performed and step S203 is executed again, that is, the detection of whether the shaking event occurs is repeated until the shaking event occurs.
Specifically, the specific content of the shake callback method may also be different according to the specific content of the preset page. In the case that the preset page is the root view, the specific content of the shake call-back method is to empty all in-stack pages in the navigation stack, and after all in-stack pages in the navigation stack are emptied, App directly jumps back to the root view from the current page.
And under the condition that the preset page is the previous level page of the current page, the specific content of the shaking call-back method is to jump from the current page to a page corresponding to the page in the stack above the current page in the navigation stack. Because the navigation stack records the connection relation of service logics among all pages, when a user clicks to enter a current page through a previous page, the navigation stack can record in pages in the stack in sequence, and therefore when a preset page is the previous page of the current page, the user can jump to the previous level of the current page only according to the previous page in the navigation stack.
According to the method for calling back the shaking and the shaking of the mobile phone, the shaking event is detected in real time, and the user can quickly jump from the current page to the preset page under the condition that the user shakes the mobile phone, so that the operation of the user is simplified, and the user experience is well improved.
A third embodiment of the present invention provides a device for skipping to a preset page, which is installed in a mobile terminal having an application program, and a schematic structural diagram of the device is shown in fig. 3, and mainly includes: the configuration module 10 is configured to implement a method for supporting shaking and a shaking callback method in a base class, where the shaking callback method is used to jump a current page to a preset page, and the preset page at least includes one of the following: a root view and a page at the upper level of the current page; an inheritance module 20, coupled to the configuration module 10, configured to set all page inheritance base classes in the application program, and set the current page as a first responder; and the callback module 30 is coupled with the inheritance module 20 and is used for calling a shake callback method from the current page to jump to a preset page under the condition that a shake event is detected.
In an application program, there are usually many pages, each of which is carried by a page controller, and different controls are added to the page controller to implement the display and functions of specific contents. In order to realize the unified control of all pages, a method for supporting shaking and a call-back method after the shaking are realized in a base class of an application program through a configuration module 10, and the method is realized in the base class of an App, so that whether a user shakes a mobile phone or not can be detected in the App; the shake callback method is a method executed after a shake event is ended, and specific contents of the method can be set according to actual conditions. Specifically, the preset page may be a page set by a developer and commonly used by a user, or a page manually selected by the user during use, and mainly includes one of the following pages: the root view and the upper-level page of the current page can also set a preset page as a consultation interface according to the requirements of a user.
After the method for supporting shaking and the shaking call-back method are implemented in the base class, all pages in the App are set to inherit the base class through the inheritance module 20, that is, all pages can implement the method for supporting shaking and the shaking call-back method, and the current page in all pages is set as a first responder, that is, the page currently displayed to the user or being operated by the user is set as a first responder of a shaking event, and when the user shakes the mobile phone, the current page can timely know that the shaking event is detected.
When a user shakes the mobile phone, the current page serves as a first responder, the occurrence of a shaking event is detected through the call-back module 30, and after the shaking event is ended, namely after the user stops shaking the mobile phone, the user immediately jumps to a preset page from the current page by calling a shaking call-back method.
Specifically, the specific content of the shake callback method may also be different according to the specific content of the preset page. Under the condition that the preset page is the root view, the callback module 30 calls a shaking callback method to empty all in-stack pages in the navigation stack, and after all in-stack pages in the navigation stack are emptied, the App directly jumps back to the root view from the current page.
And under the condition that the preset page is the previous level page of the current page, the specific content of the shaking call-back method is to jump from the current page to a page corresponding to the page in the stack above the current page in the navigation stack. Since the navigation stack records the connection relationship of the service logic among all the pages, when a user clicks to enter the current page through the previous page, the navigation stack sequentially records the pages in the stack, so that when the preset page is the previous page of the current page, the callback module 30 can jump to the previous level of the current page only according to the previous page in the stack in the navigation stack.
According to the method for supporting the shaking and the shaking call-back in all the base classes, a user can quickly jump from a current page to a preset page through the operation of shaking the mobile phone, the operation of the user is simplified, and the user experience is well improved.
A fourth embodiment of the present invention provides a device for skipping to a preset page, which is installed in a mobile terminal having an application program, and a schematic structural diagram of the device is shown in fig. 3, and mainly includes: the configuration module 10 is configured to implement a method for supporting shaking and a shaking callback method in a base class, where the shaking callback method is used to jump a current page to a preset page, and the preset page at least includes one of the following: a root view and a page at the upper level of the current page; an inheritance module 20, coupled to the configuration module 10, configured to set all page inheritance base classes in the application program, and set the current page as a first responder; a callback module 30, coupled to the inheritance module 20, for determining whether a predetermined signal is obtained by a method supporting shaking, wherein the predetermined signal is a signal generated by the angle sensor in a shaking state; and under the condition that the shaking supporting method acquires a preset signal, determining that the shaking supporting method detects a shaking event, and under the condition that the shaking event is detected, calling a shaking call-back method from the current page to jump to a preset page from the current page.
Since the operations performed by the configuration module 10 and the inheritance module 20 are completely the same as those performed by the third embodiment of the present invention, detailed descriptions thereof are omitted in this embodiment.
After the method for supporting shaking is implemented in the base class, the current page can obtain whether a shaking event is generated currently or not through the method for supporting shaking. When a user shakes the mobile phone, the angle sensor inside the mobile phone detects a continuous change of the angle and outputs a predetermined signal, and the callback module 30 detects whether a shaking event occurs by determining whether a predetermined signal is acquired by a method supporting shaking.
Under the condition that the shaking event is determined to occur, after the shaking event is ended, namely after the user stops shaking the mobile phone, the current page calls a shaking call-back method through the call-back module 30, and the current page immediately jumps to a preset page. If the predetermined signal does not exist, the shaking event does not occur, at this time, no operation is performed and the detection of whether the shaking event occurs is repeated until the shaking event occurs.
Specifically, the specific content of the shake callback method may also be different according to the specific content of the preset page. Under the condition that the preset page is the root view, the callback module 30 calls a shaking callback method to empty all in-stack pages in the navigation stack, and after all in-stack pages in the navigation stack are emptied, the App directly jumps back to the root view from the current page.
And under the condition that the preset page is the previous level page of the current page, the specific content of the shaking call-back method is to jump from the current page to a page corresponding to the page in the stack above the current page in the navigation stack. Since the navigation stack records the connection relationship of the service logic among all the pages, when a user clicks to enter the current page through the previous page, the navigation stack sequentially records the pages in the stack, so that when the preset page is the previous page of the current page, the callback module 30 can jump to the previous level of the current page only according to the previous page in the stack in the navigation stack.
According to the method for calling back the shaking and the shaking of the mobile phone, the shaking event is detected in real time, and the user can quickly jump from the current page to the preset page under the condition that the user shakes the mobile phone, so that the operation of the user is simplified, and the user experience is well improved.
A fifth embodiment of the present invention provides a storage medium storing a computer program that, when executed by a processor, implements steps S11 to S13 as follows:
s11, implementing a method for supporting shaking and a shaking call-back method in the base class, wherein the shaking call-back method is used for jumping the current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a page at the upper level of the current page;
s12, setting all page inheritance base classes in the application program, and setting the current page as a first responder;
and S13, under the condition that the shaking event is detected, calling a shaking call-back method by the current page, and jumping from the current page to a preset page.
In this embodiment, the storage medium may be installed in a mobile terminal having an application program, such as a mobile phone, a tablet computer, and the like. Since the specific steps of the method for skipping to the preset page have been described in detail in the first embodiment, no further description is given in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
A sixth embodiment of the present invention provides a terminal including at least a memory having a computer program stored thereon, and a processor that implements the following steps S21 to S23 when executing the computer program on the memory:
s21, implementing a method for supporting shaking and a shaking call-back method in the base class, wherein the shaking call-back method is used for jumping the current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a page at the upper level of the current page;
s22, setting all page inheritance base classes in the application program, and setting the current page as a first responder;
and S23, under the condition that the shaking event is detected, calling a shaking call-back method by the current page, and jumping from the current page to a preset page.
In this embodiment, the terminal may be a device such as a mobile phone or a tablet computer with an application program. Since the specific steps of the method for skipping to the preset page have been described in detail in the first embodiment, no further description is given in this embodiment.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (8)

1. A preset page jump method is characterized by comprising the following steps:
the method for supporting shaking and the shaking call-back method are implemented in a base class, wherein the shaking call-back method is used for jumping a current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a previous page of the current page;
setting all pages in an application program to inherit the base class, and setting the current page as a first responder;
under the condition that a shaking event is detected, the current page calls the shaking call-back method, and the current page jumps to the preset page from the current page;
under the condition that the preset page is a root view, the current page calls the shake callback method, and jumps to the preset page from the current page, and the method comprises the following steps:
clearing all the pages in the navigation stack, and jumping from the current page to the root view.
2. The jump method of claim 1, wherein the detecting of the shaking event comprises:
determining whether the shaking supporting method acquires a predetermined signal, wherein the predetermined signal is a signal generated by an angle sensor in a shaking state;
determining that the shake-supporting method detects the shake event in a case where the shake-supporting method acquires a predetermined signal.
3. The jump method according to claim 1 or 2, wherein, in a case where the preset page is a page one level higher than the current page, the current page calls the shake callback method to jump from the current page to the preset page, including:
and jumping to a page corresponding to a page in the stack above the current page in the navigation stack from the current page.
4. A jump device for a preset page, comprising:
the configuration module is used for realizing a method for supporting shaking and a shaking call-back method in a base class, wherein the shaking call-back method is used for jumping a current page to a preset page, and the preset page at least comprises one of the following steps: a root view and a previous page of the current page;
the inheritance module is used for setting all pages in the application program to inherit the base class and setting the current page as a first responder;
the call-back module is used for calling the shake call-back method by the current page under the condition that a shake event is detected, and jumping from the current page to the preset page;
and when the preset page is the root view, the callback module is specifically configured to:
clearing all the pages in the navigation stack, and jumping from the current page to the root view.
5. The jump apparatus as recited in claim 4, wherein said callback module is further to:
determining whether the shaking supporting method acquires a predetermined signal, wherein the predetermined signal is a signal generated by an angle sensor in a shaking state;
determining that the shake-supporting method detects the shake event in a case where the shake-supporting method acquires a predetermined signal.
6. The jumping apparatus of claim 4 or 5, wherein, in a case that the preset page is a page at a previous stage of the current page, the callback module is specifically configured to:
and jumping to a page corresponding to a page in the stack above the current page in the navigation stack from the current page.
7. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for skipping to a preset page according to any one of claims 1 to 3.
8. A terminal comprising at least a memory, a processor, said memory having a computer program stored thereon, characterized in that said processor, when executing the computer program on said memory, implements the steps of the method for skipping of a preset page according to any of claims 1 to 3.
CN201811215301.0A 2018-10-18 2018-10-18 Method and device for skipping preset page, storage medium and terminal Active CN109408182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811215301.0A CN109408182B (en) 2018-10-18 2018-10-18 Method and device for skipping preset page, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811215301.0A CN109408182B (en) 2018-10-18 2018-10-18 Method and device for skipping preset page, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN109408182A CN109408182A (en) 2019-03-01
CN109408182B true CN109408182B (en) 2022-04-05

Family

ID=65467690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811215301.0A Active CN109408182B (en) 2018-10-18 2018-10-18 Method and device for skipping preset page, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109408182B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579936B (en) * 2019-09-29 2023-11-14 腾讯科技(深圳)有限公司 Page processing method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981739A (en) * 2012-11-01 2013-03-20 广东欧珀移动通信有限公司 Intelligent terminal and method of achieving screen page switching of the same
CN103645799A (en) * 2013-11-15 2014-03-19 北京洋浦伟业科技发展有限公司 Information feedback method and device
CN105930341A (en) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 Method and apparatus for switching web pages
CN107229665A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981739A (en) * 2012-11-01 2013-03-20 广东欧珀移动通信有限公司 Intelligent terminal and method of achieving screen page switching of the same
CN103645799A (en) * 2013-11-15 2014-03-19 北京洋浦伟业科技发展有限公司 Information feedback method and device
CN107229665A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN105930341A (en) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 Method and apparatus for switching web pages
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN109408182A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
JP6571277B2 (en) Method and apparatus for loading terminal application
US20140304631A1 (en) Method and device for arranging icons
US20090064143A1 (en) Subscribing to Progress Indicator Treshold
CN110222263B (en) Application program maintenance control method, device, server, terminal and storage medium
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
CN110673924B (en) Multi-architecture container cloud mirror image selection method, device, equipment and storage medium
US20160248843A1 (en) Data upload method using shortcut
CN107220066B (en) Method and device for releasing application software in application store
CN106294041A (en) Method, device and the mobile terminal of a kind of BUG information reporting
CN110968280A (en) Application layout restoration method, device, equipment and storage medium
CN109901881A (en) Plug-in loading method, device, computer equipment and the storage medium of application program
CN104346279A (en) Method and device for software testing
US9858118B2 (en) Information processing device and information processing method to present tasks
CN109408182B (en) Method and device for skipping preset page, storage medium and terminal
CN110222264B (en) Application program maintenance control method, device, terminal, server and storage medium
CN108984339A (en) Data reconstruction method and Related product
CN112456264A (en) Elevator calling system and method
JP7512540B1 (en) Message Urgent Method, Apparatus, System and Storage Medium
CN110389789A (en) A kind of application control method, equipment and computer readable storage medium
CN113112217B (en) Business process configuration method, device, electronic equipment and computer readable medium
CN110046237B (en) Conversational interactive processing method and device
CN108845845B (en) Shortcut key creation method and device, electronic equipment and storage medium
JP7331132B2 (en) Application program installation method, operation method, electronic device, computer readable medium
CN114090069A (en) Application program installation package file processing method and electronic equipment
CN110244974B (en) Application program maintenance control method, device, server, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant