CN109408182A - A kind of jump method, device, storage medium and the terminal of the default page - Google Patents

A kind of jump method, device, storage medium and the terminal of the default page Download PDF

Info

Publication number
CN109408182A
CN109408182A CN201811215301.0A CN201811215301A CN109408182A CN 109408182 A CN109408182 A CN 109408182A CN 201811215301 A CN201811215301 A CN 201811215301A CN 109408182 A CN109408182 A CN 109408182A
Authority
CN
China
Prior art keywords
page
shake
default
current
current page
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.)
Granted
Application number
CN201811215301.0A
Other languages
Chinese (zh)
Other versions
CN109408182B (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

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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses jump method, device, storage medium and the terminals of a kind of default page, this method comprises: realizing the method for supporting to shake in base class and shaking callback method, wherein, it shakes callback method to be used to current page jumping to the default page, presets the page and include at least following one: the upper level page of Root View, current page;All pages in application program are set and inherit base class, and set the first respondent for current page;In the case where detecting shake event, current page, which calls, shakes callback method, jumps to the default page from current page.The present invention supports to shake and shake callback method by realizing in all base class, and user is made to pass through the operation for shaking mobile phone, and quickly jumping from current page to the default page can be realized, and simplifies the operation of user, and the user experience is improved well.

Description

A kind of jump method, device, storage medium and the terminal of the default page
Technical field
The present invention relates to field of mobile communication, more particularly to jump method, device, the storage medium of a kind of default page And terminal.
Background technique
With the high speed development of mobile Internet, the huge application program of more and more business sophisticated functions (App, Application it) appears in major mobile phone application market, is often had much along with complicated one App of service logic The page, that is, page controller, and pass through the connection that navigation stack carries out service logic between each page controller. But App function pages quantity is excessive, if after user enters the page of an opposite bottom, carry out Root View switching or When jumping of certain specific webpages usually can return to the gesture progress page by repeatedly clicking to return to key or be performed a plurality of times It retracts, excessively cumbersome due to operating, user experience is poor.
Summary of the invention
The present invention provides jump method, device, storage medium and the terminal of a kind of default page, to solve the prior art If carrying out switching or when the jumping of certain specific webpages of Root View after middle user enters the page of an opposite bottom, The operation needed to be implemented is excessively cumbersome, the poor problem of user experience.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of jump method of default page, comprising: in base The method for supporting to shake is realized in class and shakes callback method, wherein the shake callback method is for jumping current page To the default page, the default page includes at least following one: the upper level page of Root View, the current page;Setting All pages inherit the base class in application program, and set the first respondent for current page;Detecting shake thing In the case where part, the current page calls the shake callback method, jumps to the default page from the current page.
Further, described to detect shake event, comprising: to determine whether the method for supporting shake gets predetermined letter Number, wherein the prearranged signals is the signal that angular transducer generates in the state of shake;In the method for supporting to shake In the case where getting prearranged signals, determine that the method for supporting shake detects the shake event.
Further, in the case where the default page is Root View, the current page calls the shake readjustment side Method jumps to the default page from the current page, comprising: empty the page in all stacks in navigation stack, work as from described Preceding page jump is to Root View.
Further, in the case where the default page is the upper level page of the current page, the current page The shake callback method is called, jumps to the default page from the current page, comprising: jump from the current page The corresponding page of the page in a upper stack for the page in stack current in the navigation stack.
On the other hand, device is jumped the present invention also provides a kind of default page, comprising: configuration module, in base class It is middle to realize the method for supporting to shake and shake callback method, wherein the shake callback method is for jumping to current page The default page, the default page include at least following one: the upper level page of Root View, the current page;After backing Block inherits the base class for all pages in application program to be arranged, and sets the first respondent for current page;Readjustment Module, in the case where detecting shake event, the current page calls the shake callback method, from described current Page jump is to the default page.
Further, the callback module, is also used to: determine whether the method for supporting shake gets prearranged signals, Wherein, the prearranged signals is the signal that angular transducer generates in the state of shake;The method shaken is supported to obtain described In the case where getting prearranged signals, determine that the method for supporting shake detects the shake event.
Further, in the case where the default page is Root View, the callback module is specifically used for: emptying navigation stack The page in interior all stacks jumps to Root View from the current page.
Further, in the case where the default page is the upper level page of the current page, the callback module It is specifically used for: jumps in the navigation stack in current stack the corresponding page of the page in a upper stack for the page from the current page Face.
On the other hand, the present invention also provides a kind of storage medium, it is stored with computer program, which is characterized in that computer The step of jump method of the above-mentioned default page is realized when program is executed by processor.
On the other hand, the present invention also provides a kind of terminals, include at least memory, processor, are stored with meter on memory Calculation machine program, processor realize the step of the jump method of the above-mentioned default page when executing the computer program on memory Suddenly.
The present invention supports to shake and shake callback method by realizing in all base class, makes user by shaking mobile phone Operation can be realized quickly jumping from current page to the default page, simplify the operation of user, and improve use well Family experience.
Detailed description of the invention
Fig. 1 is the flow chart that the jump method of the page is preset in first embodiment of the invention;
Fig. 2 is the flow chart that the jump method of the page is preset in second embodiment of the invention;
Fig. 3 is the structural schematic diagram for jumping device that the page is preset in third embodiment of the invention and fourth embodiment.
Specific embodiment
In order to solve after if user in the prior art enters the page of an opposite bottom, carry out Root View switching or When jumping of the certain specific webpages of person, the operation needed to be implemented is excessively cumbersome, the poor problem of user experience, the present invention provides A kind of jump method, device, storage medium and the terminal of the default page, below in conjunction with attached drawing and embodiment, to the present invention into Row is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, this is not limited Invention.
The first embodiment of the present invention provides a kind of jump method of default page, and flow chart is as shown in Figure 1, main Including step S101 to S103:
S101 realizes the method for supporting to shake in base class and shakes callback method.
S102 is arranged all pages in application program and inherits base class, and sets the first respondent for current page.
In an application program, it will usually there is the large number of page, each page is carried by page controller, The display of particular content and the realization of function are carried out by adding different controls in page controller.In order to realize to institute There is being uniformly controlled for the page, the readjustment side after method and shake for supporting to shake is realized in the base class of application program Method, it should be understood that, support that the method shaken is provided by the operating system of terminal, such as in the iOS system of apple, It supports that the method shaken is setApplicationSupportsShakeToEdit, above-mentioned side is realized in the base class of App Method can be supported to detect whether user produces shake operation to mobile phone in App;Shaking callback method is shake event The method executed after (i.e. the operation of user's shake mobile phone), the particular content of method can be set according to the actual situation It is fixed, in the present embodiment, shakes callback method and be used to current page jumping to the default page.Specifically, the default page can be with It mainly include following for the common page of user of developer's setting, or the page manually selected when in use by user One of page: default page setup can also be consulting circle according to user demand by the upper level page of Root View, current page Face etc..
After realizing the method for supporting to shake in base class and shaking callback method, all pages in App are set and are inherited State base class, that is to say, that all pages may be implemented the method for supporting to shake and shake callback method, and all pages are arranged at this time As the first respondent, i.e. current presentation is used as to the page that user or user are operating and shakes thing current page in face First respondent of part, when user shakes mobile phone, current page can be known in time detects shake event.
S103, in the case where detecting shake event, current page, which calls, shakes callback method, jumps from current page To the default page.
When shaking mobile phone, current page detects that shake event occurs, is shaking at this time user as the first respondent After event, i.e., user stops after shaking mobile phone, and current page shakes callback method by calling, and jumps immediately from current page Go to the default page.
Specifically, different according to the particular content of the default page, the particular content for shaking callback method is also likely to be present not Together.In the case where the default page is Root View, the particular content for shaking callback method is in all stacks emptied in navigation stack The page is emptying in all stacks in navigation stack after the page, and App directly jumps back to Root View from current page, above-mentioned to empty The method of the page in all stacks in navigation stack can be method provided by the operating system of mobile terminal, such as in apple IOS system in can realize that popToRootViewController method, can also be with as callback method is shaken in base class By developer or user setting other methods.
In the case where the default page is the upper level page of current page, the particular content for shaking callback method is from working as The corresponding page of the page in a upper stack for the page in current stack in preceding page jump to navigation stack.Due to navigation stack have recorded it is all The connection relationship of service logic between the page, when user clicks to enter current page by the upper level page, navigation stack It can successively be recorded in the page in stack, therefore when the default page is the upper level page of current page, it is only necessary to according to The page in a upper stack in navigation stack, can jump to the upper level of current page.
Callback method is supported to shake and be shaken to the present embodiment by realizing in all base class, makes user by shaking mobile phone Operation, can be realized from current page to the default page quickly jumping, simplify the operation of user, and improve well User experience.
The second embodiment of the present invention provides a kind of jump method of default page, and flow chart is as shown in Fig. 2, main Including step S201 to S204:
S201 realizes the method for supporting to shake in base class and shakes callback method.
S202 is arranged all pages in application program and inherits base class, and sets the first respondent for current page.
In an application program, it will usually there is the large number of page, each page is carried by page controller, The display of particular content and the realization of function are carried out by adding different controls in page controller.In order to realize to institute There is being uniformly controlled for the page, the readjustment side after method and shake for supporting to shake is realized in the base class of application program Method realizes the above method in the base class of App, can support that the shake whether user produces to mobile phone is detected in App grasps Make;Shaking callback method is the method executed after shake event, the particular content of method can according to the actual situation into Row setting shakes callback method and is used to current page jumping to the default page in the present embodiment.Specifically, the page is preset It can be the common page of user of developer's setting, or the page manually selected when in use by user, mainly include With one of lower page: default page setup can also be to consult according to user demand by the upper level page of Root View, current page Ask interface etc..
After realizing the method for supporting to shake in base class and shaking callback method, all pages in App are set and are inherited State base class, that is to say, that all pages may be implemented the method for supporting to shake and shake callback method, and all pages are arranged at this time As the first respondent, i.e. current presentation is used as to the page that user or user are operating and shakes thing current page in face First respondent of part, when user shakes mobile phone, current page can be known in time detects shake event.
S203 is determined and is supported whether the method shaken detects prearranged signals, if detecting prearranged signals, thens follow the steps Otherwise S204 re-execute the steps S203.
S204 is determined and the method shaken is supported to detect shake event, and current page, which calls, shakes callback method, from current Page jump is to the default page.
After realizing the method for supporting to shake in base class, the method that current page can be shaken by support gets and works as It is preceding whether to have the generation of shake event.For user when shaking mobile phone, the angular transducer of interior of mobile phone, which can correspond to, detects angle Constantly variation, and scheduled signal is exported, support the method shaken by detecting whether there is and obtain scheduled signal, to examine It surveys and shake event whether occurs.
When obtaining prearranged signals, i.e., there is shake event in determination, and at this time after shake event, i.e., user stops shaking It starts after machine, current page shakes callback method by calling, and jumps to the default page immediately from current page.It is pre- if it does not exist Determine signal, then do not occur shake event, do nothing and re-execute the steps S203 at this time, that is, repeating detection is It is no shake event occur, until the event of shake occurs.
Specifically, different according to the particular content of the default page, the particular content for shaking callback method is also likely to be present not Together.In the case where the default page is Root View, the particular content for shaking callback method is in all stacks emptied in navigation stack The page is emptying in all stacks in navigation stack after the page, and App directly jumps back to Root View from current page, above-mentioned to empty The method of the page in all stacks in navigation stack can be method provided by the operating system of mobile terminal, such as in apple IOS system in can realize that popToRootViewController method, can also be with as callback method is shaken in base class By developer or user setting other methods.
In the case where the default page is the upper level page of current page, the particular content for shaking callback method is from working as The corresponding page of the page in a upper stack for the page in current stack in preceding page jump to navigation stack.Due to navigation stack have recorded it is all The connection relationship of service logic between the page, when user clicks to enter current page by the upper level page, navigation stack It can successively be recorded in the page in stack, therefore when the default page is the upper level page of current page, it is only necessary to according to The page in a upper stack in navigation stack, can jump to the upper level of current page.
The present embodiment supports shake and shake callback method by realizing in all base class, and whether real-time detection occurs Shake event can be realized quickly jumping from current page to the default page, simplify in the case where user shakes mobile phone The operation of user, and the user experience is improved well.
What the third embodiment of the present invention provided a kind of default page jumps device, is installed on the shifting with application program In dynamic terminal, structural schematic diagram is as shown in figure 3, specifically include that configuration module 10, for realizing what support was shaken in base class Method and shake callback method, wherein shake callback method and be used to current page jumping to the default page, preset the page at least Including following one: the upper level page of Root View, current page;Module 20 is inherited, is coupled with configuration module 10, for being arranged All pages inherit base class in application program, and set the first respondent for current page;Callback module 30, and after backing Block 20 couples, in the case where detecting shake event, current page calling shake callback method to be jumped from current page To the default page.
In an application program, it will usually there is the large number of page, each page is carried by page controller, The display of particular content and the realization of function are carried out by adding different controls in page controller.In order to realize to institute There is being uniformly controlled for the page, realize the method for supporting to shake in the base class of application program by configuration module 10 and shakes knot Callback method after beam realizes the above method in the base class of App, can support to detect whether user produces pair in App The shake operation of mobile phone;Shaking callback method is the method executed after shake event, and the particular content of method can root It is set according to actual conditions, in the present embodiment, shakes callback method and be used to current page jumping to the default page.Specifically Ground, the default page can be the common page of user of developer's setting, or the page manually selected when in use by user Face mainly includes with one of lower page: the upper level page of Root View, current page can also will be preset according to user demand Page setup is consulting interface etc..
After realizing the method for supporting to shake in base class and shaking callback method, institute in App is set by inheriting module 20 There is the page to inherit above-mentioned base class, that is to say, that all pages may be implemented the method for supporting to shake and shake callback method, And the current page in all pages is set as the first respondent, i.e. the page that is being operated to user or user of current presentation First respondent of the face as shake event, when user shakes mobile phone, current page can be known in time detects shake event.
When shaking mobile phone, current page detects shake event by callback module 30 and goes out user as the first respondent It is existing, and after shake event, i.e., user stops after shaking mobile phone, shakes callback method by calling, vertical from current page Jump to the default page.
Specifically, different according to the particular content of the default page, the particular content for shaking callback method is also likely to be present not Together.In the case where the default page is Root View, callback module 30 calls shake callback method to empty all stacks in navigation stack The interior page is emptying in all stacks in navigation stack after the page, and App directly jumps back to Root View from current page.
In the case where the default page is the upper level page of current page, the particular content for shaking callback method is from working as The corresponding page of the page in a upper stack for the page in current stack in preceding page jump to navigation stack.Due to navigation stack have recorded it is all The connection relationship of service logic between the page, when user clicks to enter current page by the upper level page, navigation stack It can successively be recorded in the page in stack, therefore when the default page is the upper level page of current page, callback module 30 It only needs that the upper level of current page can be jumped to according to the page in the upper stack in navigation stack.
Callback method is supported to shake and be shaken to the present embodiment by realizing in all base class, makes user by shaking mobile phone Operation, can be realized from current page to the default page quickly jumping, simplify the operation of user, and improve well User experience.
What the fourth embodiment of the present invention provided a kind of default page jumps device, is installed on the shifting with application program In dynamic terminal, structural schematic diagram is as shown in figure 3, specifically include that configuration module 10, for realizing what support was shaken in base class Method and shake callback method, wherein shake callback method and be used to current page jumping to the default page, preset the page at least Including following one: the upper level page of Root View, current page;Module 20 is inherited, is coupled with configuration module 10, for being arranged All pages inherit base class in application program, and set the first respondent for current page;Callback module 30, and after backing Block 20 couples, and supports whether the method shaken gets prearranged signals for determining, wherein prearranged signals is that angular transducer exists The signal generated in the state of shake;In the case where supporting the method shaken to get prearranged signals, determines and support shake Method detects shake event, and in the case where detecting shake event, current page, which calls, shakes callback method, from current page Face jumps to the default page.
The operation as performed by configuration module 10 and succession module 20 is identical with third embodiment of the invention, It is no longer described in detail in the present embodiment.
After realizing the method for supporting to shake in base class, the method that current page can be shaken by support gets and works as It is preceding whether to have the generation of shake event.For user when shaking mobile phone, the angular transducer of interior of mobile phone, which can correspond to, detects angle Constantly variation, and scheduled signal is exported, callback module 30 supports whether the method shaken gets scheduled letter by determining Number, to detect whether to occur shake event.
In the case where shake event occurs in determination, after shake event, i.e., user stops after shaking mobile phone, current page Face is called by callback module 30 and shakes callback method, jumps to the default page immediately from current page.Make a reservation for letter if it does not exist Number, then do not occur shake event, do nothing at this time and repeat to detect whether to occur shake event, until shaking Until event occurs.
Specifically, different according to the particular content of the default page, the particular content for shaking callback method is also likely to be present not Together.In the case where the default page is Root View, callback module 30 calls shake callback method to empty all stacks in navigation stack The interior page is emptying in all stacks in navigation stack after the page, and App directly jumps back to Root View from current page.
In the case where the default page is the upper level page of current page, the particular content for shaking callback method is from working as The corresponding page of the page in a upper stack for the page in current stack in preceding page jump to navigation stack.Due to navigation stack have recorded it is all The connection relationship of service logic between the page, when user clicks to enter current page by the upper level page, navigation stack It can successively be recorded in the page in stack, therefore when the default page is the upper level page of current page, callback module 30 It only needs that the upper level of current page can be jumped to according to the page in the upper stack in navigation stack.
The present embodiment supports shake and shake callback method by realizing in all base class, and whether real-time detection occurs Shake event can be realized quickly jumping from current page to the default page, simplify in the case where user shakes mobile phone The operation of user, and the user experience is improved well.
Fifth embodiment of the invention provides a kind of storage medium, is stored with computer program, and computer program is processed Following steps S11 to S13 is realized when device executes:
S11, realization supports the method shaken and shakes callback method in base class, wherein shake callback method is used for will Current page jumps to the default page, presets the page and includes at least following one: the upper level page of Root View, current page;
S12 is arranged all pages in application program and inherits base class, and sets the first respondent for current page;
S13, in the case where detecting shake event, current page, which calls, shakes callback method, jumps from current page To the default page.
In the present embodiment, storage medium may be mounted in the mobile terminal with application program, such as mobile phone, plate electricity Brain etc..Since the specific steps of the jump method of the default page being described in detail in the first embodiment, It repeats no more in the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.Optionally, in the present embodiment, processor has been deposited according in storage medium The program code of storage executes the method and step of above-described embodiment record.Optionally, the specific example in the present embodiment can refer to Example described in above-described embodiment and optional embodiment, details are not described herein for the present embodiment.Obviously, the technology of this field Personnel should be understood that each module of the above invention or each step can be realized with general computing device, they can be with It is concentrated on a single computing device, or is distributed over a network of multiple computing devices, optionally, they can be used Computing device executable program code is realized, is held it is thus possible to be stored in storage device by computing device Row, and in some cases, can with the steps shown or described are performed in an order that is different from the one herein, or by they point It is not fabricated to each integrated circuit modules, or makes multiple modules or steps in them to single integrated circuit module It realizes.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The sixth embodiment of the present invention provides a kind of terminal, includes at least memory, processor, is stored on memory Computer program, processor realize following steps S21 to S23 when executing the computer program on memory:
S21, realization supports the method shaken and shakes callback method in base class, wherein shake callback method is used for will Current page jumps to the default page, presets the page and includes at least following one: the upper level page of Root View, current page;
S22 is arranged all pages in application program and inherits base class, and sets the first respondent for current page;
S23, in the case where detecting shake event, current page, which calls, shakes callback method, jumps from current page To the default page.
In the present embodiment, terminal can be the equipment such as mobile phone, tablet computer with application program.Due to real first It applies in example and the specific steps of the jump method of the default page is described in detail, therefore, in the present embodiment no longer It repeats.
Although for illustrative purposes, the preferred embodiment of the present invention has been disclosed, those skilled in the art will recognize It is various improve, increase and replace be also it is possible, therefore, the scope of the present invention should be not limited to the above embodiments.

Claims (10)

1. a kind of jump method of the default page characterized by comprising
Realization supports the method shaken and shakes callback method in base class, wherein the shake callback method is used for will be current Page jump to the default page, the default page includes at least following one: the upper level page of Root View, the current page Face;
All pages in application program are set and inherit the base class, and set the first respondent for current page;
In the case where detecting shake event, the current page calls the shake callback method, from the current page Jump to the default page.
2. jump method as described in claim 1, which is characterized in that described to detect shake event, comprising:
Determine whether the method for supporting shake gets prearranged signals, wherein the prearranged signals is that angular transducer exists The signal generated in the state of shake;
In the case where the method for supporting shake gets prearranged signals, determine that the method for supporting shake detects institute State shake event.
3. jump method as claimed in claim 1 or 2, which is characterized in that in the case where the default page is Root View, The current page calls the shake callback method, jumps to the default page from the current page, comprising:
The page in all stacks in navigation stack is emptied, jumps to Root View from the current page.
4. jump method as claimed in claim 1 or 2, which is characterized in that in the default page be the current page In the case where the upper level page, the current page calls the shake callback method, jumps to from the current page described The default page, comprising:
The corresponding page of the page in a upper stack for the page is jumped in the navigation stack in current stack from the current page.
5. a kind of default page jumps device characterized by comprising
Configuration module, for realizing the method for supporting to shake in base class and shaking callback method, wherein the shake readjustment side Method is used to jump to current page the default page, and the default page includes at least following one: Root View, the current page The upper level page in face;
Module is inherited, inherits the base class for all pages in application program to be arranged, and set first for current page Respondent;
Callback module, in the case where detecting shake event, the current page calls the shake callback method, from The current page jumps to the default page.
6. jumping device as claimed in claim 5, which is characterized in that the callback module is also used to:
Determine whether the method for supporting shake gets prearranged signals, wherein the prearranged signals is that angular transducer exists The signal generated in the state of shake;
In the case where the method for supporting shake gets prearranged signals, determine that the method for supporting shake detects institute State shake event.
7. jumping device Ru described in claim 5 or 6, which is characterized in that in the case where the default page is Root View, The callback module is specifically used for:
The page in all stacks in navigation stack is emptied, jumps to Root View from the current page.
8. jumping device Ru described in claim 5 or 6, which is characterized in that in the default page be the current page In the case where the upper level page, the callback module is specifically used for:
The corresponding page of the page in a upper stack for the page is jumped in the navigation stack in current stack from the current page.
9. a kind of storage medium, is stored with computer program, which is characterized in that real when the computer program is executed by processor The step of jump method of the existing default page described in any one of Claims 1-4.
10. a kind of terminal includes at least memory, processor, is stored with computer program on the memory, feature exists In the processor is realized described in any one of Claims 1-4 pre- when executing the computer program on the memory If the step of jump method of the page.
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 true CN109408182A (en) 2019-03-01
CN109408182B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579936A (en) * 2019-09-29 2021-03-30 腾讯科技(深圳)有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN109408182B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US10877639B2 (en) Page shortcut display method, apparatus, terminal, and server, and storage medium
US11119627B2 (en) Information display method, device, apparatus and storage medium
US9582980B2 (en) Intentional monitoring
EP3355187A1 (en) Loading method and device for terminal application (app)
US9152308B2 (en) Organizing graphical representations on computing devices
US9436533B2 (en) System for monitoring and tracking application crashes occurring on different mobile devices
EP3531290B1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN110889039B (en) Method and device for pushing books in reading application
CN109324977A (en) Detection method, device and the electronic equipment of application program Caton
CN110673924B (en) Multi-architecture container cloud mirror image selection method, device, equipment and storage medium
CN108347532B (en) Function access method, device, terminal equipment and storage medium
CN108647143A (en) MOCK interface test methods, device, computer equipment and storage medium
CN106294041A (en) Method, device and the mobile terminal of a kind of BUG information reporting
US20200081740A1 (en) Resource allocation optimization support system and resource allocation optimization support method
WO2016118769A1 (en) Processing application interface
CN106294051A (en) A kind of motor detecting method and terminal
CN108694413A (en) Adaptively sampled unbalanced data classification processing method, device, equipment and medium
CN109408182A (en) A kind of jump method, device, storage medium and the terminal of the default page
US10826310B2 (en) Resource statistics collection method and apparatus and terminal
CN110113391A (en) A kind of client loading method, device and a kind of client operation method, device
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN111866129A (en) Method, device and medium for determining service availability index based on cloud platform
US20150054847A1 (en) Status display controller, status display control method, and recording medium that stores program
CN108446851A (en) A kind of electric vehicle changes electric worksheet processing method and computing device
CN106095690A (en) The method of testing of application and mobile terminal

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