CN108256047A - Manage method, terminal device and the computer-readable medium of default application - Google Patents
Manage method, terminal device and the computer-readable medium of default application Download PDFInfo
- Publication number
- CN108256047A CN108256047A CN201810029094.3A CN201810029094A CN108256047A CN 108256047 A CN108256047 A CN 108256047A CN 201810029094 A CN201810029094 A CN 201810029094A CN 108256047 A CN108256047 A CN 108256047A
- Authority
- CN
- China
- Prior art keywords
- file
- application
- mentioned
- default application
- default
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/0485—Scrolling or panning
Abstract
The embodiment of the invention discloses a kind of method, terminal device and computer-readable medium for managing default application, this method includes:When detecting the operation for being added to default application file for application icon, detect whether that there are the file types that the corresponding intended application of the application icon supports opening;If in the presence of detecting whether the file type includes the first kind;If the file type does not include the first kind, the intended application is set as opening to the default application of the file of the file type, the first kind belongs to the file type set that already present default application is supported in the default application file.The embodiment of the present invention can be quick to set the corresponding default application of terminal device opening files in different types when detecting the operation for being added to default application file for application icon, can make the setting more convenient and quicker of default application.
Description
Technical field
The present invention relates to field of terminal equipment more particularly to a kind of method, terminal device and calculating for managing default application
Machine readable medium.
Background technology
Workable application is numerous in present terminal equipment, and many applications all have the ability for opening certain type file, example
Such as image, video or the document of certain forms, but in different applications different operation can be performed to file.User can be with
The default application of certain class file is selected, then can give tacit consent to when opening certain class file and be opened using the application.
If want to switch the default application for opening certain class file, need to be configured in the corresponding setting page, usually
Opening second-level menu is needed to be configured, operation is cumbersome.
Invention content
The embodiment of the present invention provides a kind of method, terminal device and computer-readable medium for managing default application, can be with
Make the setting more convenient and quicker of default application.
In a first aspect, an embodiment of the present invention provides a kind of method for managing default application, this method includes:
When detecting the operation for being added to default application file for application icon, detect whether there is described answer
The file type opened is supported with the corresponding intended application of icon;
If in the presence of detecting whether the file type includes the first kind;
If the file type does not include the first kind, the intended application is set as to open other kinds of text
The default application of part, the first kind belong to the file that already present default application is supported in the default application file
Type set, the other types are the type in addition to the first kind in the file type.
Second aspect, an embodiment of the present invention provides a kind of terminal device, which includes performing above-mentioned the
The unit of the method for one side.
The third aspect, an embodiment of the present invention provides another terminal devices, are set including processor, input equipment, output
Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to deposit
Storage supports terminal device to perform the computer program of the above method, and the computer program includes program instruction, the processor
It is configured for calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer-readable medium, the computer-readable medium storage
There is computer program, the computer program includes program instruction, and described program instruction makes the place when being executed by a processor
Manage the method that device performs above-mentioned first aspect.
The embodiment of the present invention by detect for application icon be added to default application file operation when, examine
It surveys and supports the file type opened with the presence or absence of the corresponding intended application of the application icon, if in the presence of detection this document type is
It is no including the first kind, if not including, by the intended application be set as open this document type default application, the first kind
Type belongs to the file type set that already present default application in default application file is supported, it is only necessary to is directed to when detecting
Application icon added to default application file operation when can quickly set terminal device open files in different types
Default application, the setting more convenient and quicker of default application can be made.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described.
Fig. 1 is a kind of schematic flow diagram of method for managing default application provided in an embodiment of the present invention;
Fig. 2 a are a kind of terminal device interface schematic diagrams for including default application file provided in an embodiment of the present invention;
Fig. 2 b are a kind of interface schematic diagrams for setting default application provided in an embodiment of the present invention;
Fig. 2 c are the terminal device interface schematic diagrams that another kind provided in an embodiment of the present invention includes default application file;
Fig. 2 d are the terminal device interface schematic diagrams that another kind provided in an embodiment of the present invention includes default application file;
Fig. 2 e are a kind of file type selection interface schematic diagrames provided in an embodiment of the present invention;
Fig. 3 is the schematic flow diagram of the method for another management default application provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the schematic block diagram of another terminal device provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Herein
" embodiment " is referred to it is meant that a particular feature, structure, or characteristic described may be embodied in the present invention at least in conjunction with the embodiments
In one embodiment.The phrase, which occurs, in each position in the description might not each mean identical embodiment, nor
With the independent or alternative embodiment of other embodiments mutual exclusion.Those skilled in the art explicitly and implicitly understand,
Embodiment described herein can be combined with other embodiments.
Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
The every other embodiment obtained, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing
Different objects rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of having listed or unit are defined in, but optionally further includes the step of not listing or unit or optionally also wraps
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal device including display and touch sensitive surface is described.However, it should manage
Solution, one or more of the other physical User that terminal device can include such as physical keyboard, mouse and/or control-rod connect
Jaws equipment.
Terminal device supports various application programs, such as one or more of following:Drawing application program, demonstration application
Program, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, play and answer
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on the terminal device can use at least one of such as touch sensitive surface
Public physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch
The corresponding information shown in the one or more functions and terminal device of sensing surface.In this way, the public physics of terminal device
Framework (for example, touch sensitive surface) can be supported various using journey with user interface intuitive and transparent for a user
Sequence.
The default application mentioned in the embodiment of the present invention is referred to as default application, default software, it is possible to understand that
The application used to open certain type file acquiescence, when opening this type file, terminal device acquiescence uses the default application
It opens, certainly, an application can also open the default application of multiple types file.Wherein, above-mentioned file can be audio
File, video file, picture file etc..The file of each file class can include multiple file types, above-mentioned file
Type can be understood as the specific form of file, the file type mentioned in the embodiment of the present invention, you can to refer to the specific of file
Form, file format can embody in file extension (suffix), for example, audio file can include CD, WAV, MP3
(Moving Picture Experts Group Audio Layer III), WMA (Windows Media Audio) etc. are specific
The file of form;Above-mentioned file type is it can be appreciated that file class, audio file as escribed above, video file, picture
File is not sub-divided into the specific form of file.
For example, it is A applications that user, which can be audio file setting default application, when opening a target audio file,
Terminal device can use A applications to open the target audio file;User can be that PDF format document setup default application is
B is applied, and when opening a PDF format document, terminal device can use B applications to open the PDF format document.
It is a kind of schematic flow diagram of method for managing default application provided in an embodiment of the present invention referring to Fig. 1, such as Fig. 1
Shown this method may include:
101st, when terminal device detect for application icon added to default application file operation when, detection is
It is no that there are the file types that the corresponding intended application of the application icon supports opening.If in the presence of step 102 being performed, if not depositing
Then terminating this flow.
The application icon mentioned in the embodiment of the present invention refers to the icon of application, and the icon of different application is different from, should
With icon and a mark of identification application, these application icons may be displayed on the desktop of terminal device, and user can be with
Drag operation is carried out to application icon, application icon is moved to the different location on terminal device desktop, the embodiment of the present invention
In the default application file mentioned, refer to for store default application application icon file, it can be understood as on
The set that default application icon is stored in default application file is stated, a default application icon corresponds to the terminal device
The default application of setting, the default application can open the file of at least one type, and above-mentioned default application file can be shown
Show on the desktop of the terminal device, a kind of terminal device interface signal comprising default application file as shown in Figure 2 a
Figure, the desktop of the terminal device show above-mentioned default application file, and this document folder can be in the case where not putting out, at this
Display application icon in file.
The above-mentioned operation added to default application file for application icon can be the dish by the application icon
Single choice selects the operation of default application file that the application icon is added into, i.e. user can open this by touch control operation and answer
With the menu of icon, the application icon is added to above-mentioned default application file by selecting the setting options in the menu;
Alternatively, can select application icon by the operation chosen or frame selects, and then select to be added to above-mentioned default application file
The operation of folder for example, user can carry out pressing operation to application icon, can show the choosing of application icon with triggering terminal equipment
Frame is selected, user can choose application icon (one or more) by the touch control operation to choice box, work as terminal device
Detect that at least one application icon is checked, terminal device shows the option added to default application file, when user touches
Control the above-mentioned option added to default application file, terminal device, which can perform, above-mentioned detects whether that there are the application icons pair
The intended application answered supports the operation for the file type opened.
Optionally, the above-mentioned operation added to default application file for application icon, can be by application icon
The operation being less than with the distance of default application file in target zone is dragged to, above-mentioned target zone can be preset, example
If target zone is 0.5 centimetre, i.e., application icon is dragged to and situation of the distance of default application file less than 0.5 centimetre
Under, terminal device can detect whether that there are the corresponding intended applications of the application icon to support the file type opened.
Optionally, the above-mentioned operation added to default application file for application icon, can be application icon quilt
It is dragged to the operation contacted with the default application file, it can be understood as the application icon is dragged to and above-mentioned acquiescence by user
When application file clamping connection touches, it is understood that be dragged to by user for the application icon and contacted with the default application file
Afterwards, user unclamps the situation of finger in the default application file, and a kind of interface of setting default application as shown in Figure 2 b shows
It is intended to, shows above-mentioned default application file on the screen of the terminal device, user chooses to be dragged using the application icon of T
It is dynamic, the application icon of application T is dragged to after being contacted with default application file and lifts finger, you can set with triggering in the terminal
Standby the step of detecting whether to support the file type opened there are the corresponding intended application of the application icon, above-mentioned intended application is
The corresponding application of trailing application icon, some applications support to open a kind of or multiclass file type file that (such as terminal is set
Standby photo application can open video file and picture file), some applications are not supported to open file (such as alarm clock, calculator
Deng).
Optionally, which can work as the deletion detected for the application icon in above-mentioned default application file
During operation, whether the contact duration for detecting the application icon with above-mentioned default application file reaches preset duration threshold value, if reaching
It arrives, which can detect whether that there are the corresponding intended applications of the application icon to support the file type opened.The end
End equipment is by detecting whether the application icon reaches preset duration threshold value with the contact duration of above-mentioned default application file, i.e.,
User, which needs to drag the application icon, to be contacted with above-mentioned default application file and contact condition is kept to reach preset duration threshold value
(such as 1.5 seconds), which performs subsequent step again, can be to avoid user due to drag operation caused by operation error, i.e.,
The situation that user contacts when accidentally an application icon is dragged with above-mentioned default application file, reducing maloperation causes
Unnecessary default application setting.
Optionally, when detecting the delete operation for the application icon in above-mentioned default application file, the terminal
Equipment can cancel the default application setting of the corresponding intended application of the application icon.It is above-mentioned to be directed to above-mentioned default application file
The delete operation of interior application icon can be the behaviour that above-mentioned default application file is removed by the menu selection of application icon
Make or application icon is hauled out to the operation of above-mentioned default application file, specifically, user can be by by application drawing
Mark hauls out above-mentioned default application file, cancels the default application setting of the application, i.e. the application is no longer some or multiple
The corresponding default application of file of type.
In embodiments of the present invention, above-mentioned dragging application icon to above-mentioned default application file operation, can be by
The application icon is dragged in after the default application file, which shows within default application file, also simultaneously
It is shown in outside default application file, convenient for user's routine use, in this case, if the application icon is dragged out acquiescence and answers
With file or due to the delete operation for detecting the application icon being directed in above-mentioned default application file, which exists
Default application file is deleted, but due to the application icon existing outside default application file, which does not need to
The application icon of hauling-out is shown again.In an alternative embodiment, if application icon is dragged into default application file, the application drawing
Be marked in above-mentioned default application file and show, can no longer be shown in the interface outside default application file, until due to
It is deleted for the delete operation of the application icon in the above-mentioned default application file application icon in default application file.
102nd, the terminal device detects whether above-mentioned file type includes the first kind.If including, step 103 is performed,
If not including, step 104 is performed.
If the terminal device detects the presence of the application icon, corresponding intended application supports the file type opened, the end
End equipment can detect whether above-mentioned file type includes the first kind, wherein, the above-mentioned first kind belongs to default application text
The file type set that already present default application is supported in part folder, i.e., the above-mentioned first kind can be understood as existing acquiescence
Using the file type of set opening file.
Specifically, above-mentioned file type can be one or more, and whether terminal device can detect above-mentioned file type
Including the first kind, if the intended application supports the file type opened for one kind, you can be interpreted as terminal device detection
It is whether this document type has set corresponding default application, can specifically be presented as in the above-mentioned default application file of detection is
The no default application icon that there is the file for opening this document type, if in the presence of above-mentioned file type includes the above-mentioned first kind
Type, if being not present, above-mentioned file type does not include the above-mentioned first kind.
Optionally, if the terminal device detects that there is no the corresponding intended applications of the application icon to support the file opened
Type, the i.e. intended application do not support opening file, and terminal device can export prompt message, and above-mentioned prompt message is used to prompt
The intended application can not be set as default application, and above-mentioned prompt message can be the word letter that terminal device is shown on the screen
Breath, or information of voice prompt.
103rd, the intended application is set as opening the default application of the file of above-mentioned file type by the terminal device.
Specifically, if above-mentioned file type does not include the above-mentioned first kind, which can set the intended application
It is set to the default application for the file for opening above-mentioned file type.For example, the intended application supports the file type opened to have A and B
Two kinds, there is the default application icon for opening C type files in above-mentioned default application file, that is, set and opened C types text
The default application of part, i.e., the above-mentioned first kind include C types, which supports the file type opened not include C types,
The intended application is set as opening the default application of the file of A and B types by the terminal device.
In the embodiment of the present invention, terminal device only needs to detect is added to default application file for application icon
Terminal device can quickly be set to open the default application of files in different types during the operation of folder, in above-described embodiment, passed through
When terminal device detects that application icon is dragged to the operation contacted with default application file, terminal device is quickly set
Open the default application of files in different types, it may not be necessary to be repaiied under normal conditions into the second-level menu in setting function
The operation changed can make the setting more convenient and quicker of default application.
104th, the terminal device judge intended application default application corresponding with the file of the above-mentioned first kind whether phase
Together.If identical, step 106 is performed;If differing, step 105 is performed.
Specifically, if above-mentioned file type include the above-mentioned first kind, the terminal device may determine that the intended application with
Whether the corresponding default application of file of the above-mentioned first kind is identical.
Above-mentioned file type includes the above-mentioned first kind, i.e. the intended application is supported in the file type opened, the first kind
The file of type has set corresponding default application, there are the default application icon in above-mentioned default application file, for example, eventually
The corresponding default application of file that end equipment has set file type to be M is using X, i.e., the above-mentioned first kind includes M types,
The intended application supports the file type opened to have two kinds of M and N, i.e., above-mentioned file type includes above-mentioned first kind M, the terminal
Equipment, which can perform, judges the intended application and step whether identical default application X.
105th, the corresponding acquiescence of file of the above-mentioned first kind should in the above-mentioned default application file of terminal device deletion
With icon, the icon of the intended application is shown in above-mentioned default application file, above-mentioned intended application is set as to open institute
State the default application of the file of the first kind.
If above-mentioned file type includes the above-mentioned first kind, and the intended application is corresponding with the file of the above-mentioned first kind
Default application differ, the terminal device can delete the above-mentioned first kind in above-mentioned default application file file correspond to
Default application icon, the icon of the intended application is shown in above-mentioned default application file, which is set as
Open the default application of the file of the above-mentioned first kind.For example, it is openable using A if the intended application is using A
File type includes B types, and the icon of the corresponding default application C of file of B types has been included in above-mentioned default application file,
The file of B types can be given tacit consent to i.e. in the terminal device opens using using C, and intended application A and above-mentioned default application C is not
Identical, which can delete the icon of application C in above-mentioned default application file, in above-mentioned default application file
Display will apply A be set as opening the default application of the file of B types, i.e., B types in the terminal device using the icon of A
File can be given tacit consent to be opened using using A, it can be understood as the default application position using C is substituted using A.
The terminal device deletes the corresponding default application figure of file of the above-mentioned first kind in above-mentioned default application file
It marks and shows that the icon of the intended application and the terminal device set the intended application in above-mentioned default application file
Being set to two steps of the default application for the file for opening the first kind can be carried out at the same time, and can also exchange sequencing
It performs, for example, above-mentioned intended application can be set as opening the default application of the file of the above-mentioned first kind by the terminal device
Later, the corresponding previous default application icon of file of the above-mentioned first kind in above-mentioned default application file is deleted, and
The icon of the intended application is shown in above-mentioned default application file, above-mentioned previous default application icon is should in the target
With before being arranged to default application, the icon of the corresponding default application of file of the above-mentioned first kind.
For example, a kind of terminal device interface schematic diagram for including default application file as shown in Figure 2 c, the end
End equipment default application file shows tetra- default application icons of A, B, C, D after opening, and is respectively used to open respective file
The file of type, for example, using can be shown on the application icon of A using the corresponding file types of A be X types, i.e. the application
A is the default application for the file for opening X types.If the intended application is just using A, the file type for supporting to open using A
It is identical with the corresponding default application of file (applying A) for opening X types using A including X types and Y types, that is, application has been set
A is the corresponding default application of file of X types, which does not perform step 105, further alternative, the terminal device
It can export and prompt message has been set, it is above-mentioned that prompt message has been set to can be used for prompting to be arranged to X types using A
The corresponding default application of file;Further, due to also supporting to open the file type Y types in addition to X types using A, on
It states and prompt message has been set to can be also used for prompting also to support to open other kinds of file using A, you can to provide a user
Selection, if the default application of the file of X types will be set as using A, user can select that X types will be set as using A
The default application of file, in the case, as shown in Figure 2 d, using A both be open X types file default application and also be
Open the default application of the file of Y types.
106th, the terminal device detects whether the intended application is also supported to open other kinds of file.If so, perform step
Rapid 107;If it is not, terminate this flow.
Wherein, above-mentioned other types refer to the alternative document type in addition to the above-mentioned first kind, which can be with
Detect whether the intended application is also supported to open the other kinds of file in addition to the above-mentioned first kind.If the terminal device detects
It does not support to open other kinds of file to the intended application, i.e. the intended application has been arranged to open the above-mentioned first kind
The default application of file, and the intended application can only be supported to open the file of the above-mentioned first kind, and which can tie
This flow of beam.
107th, the intended application is set as opening the default application of above-mentioned other kinds of file by the terminal device.
If the terminal device detects that the intended application is also supported to open above-mentioned other kinds of file, which can
The intended application to be set as opening to the default application of above-mentioned other kinds of file, i.e. the intended application is configured to open
The default application of the above-mentioned first kind and other kinds of file.Optionally, which can be in above-mentioned default application text
The corresponding file type of the intended application is shown in part folder, such as the intended application figure is shown in above-mentioned default application file
Mark, marks the above-mentioned first kind and above-mentioned other types on the icon.
Set prompt message that the intended application currently selected can be prompted to be arranged to default application by above-mentioned, with
Prompting user do not need to repeat set, in the case where the intended application is also supported to open other kinds of file, can to
Family provides the selection for the default application whether intended application is set as to other kinds of file, and user can also be by the target
Using the default application for being set as other kinds of file, the easy to operate of default application is set.
It is the schematic flow diagram of another default application management method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3 is
It is advanced optimized on the basis of Fig. 1, this method as shown in Figure 3 may include:
301st, when terminal device detect for application icon added to default application file operation when, detection is
It is no that there are the file types that the corresponding intended application of the application icon supports opening.If in the presence of step 302 being performed, if not depositing
Then terminating this flow.
302nd, the terminal device shows that the intended application supports the file type opened.
Wherein, which supports the file type opened to include two kinds and two or more types, which can
The file type opened so that the intended application is shown to support, specifically, which can show a file in interface
Type windows, this document type windows are interior can be easily selected by a user comprising all above-mentioned file types, above-mentioned file type.Example
Such as, as shown in Figure 2 e, intended application is using T, the file type opened is supported to include video and image using T, which sets
It is standby in the case where detecting that the application icon using T is dragged to and is contacted with default application file, which can be with
It shows a file type window, is selected which show two kinds of file types of video and image for user.
303rd, the terminal device receives the selection instruction for the target type in above-mentioned file type, from above-mentioned files classes
The target type is selected in type.
Specifically, above-mentioned selection instruction can be triggered by user, and user can be by clicking on the terminal device screen
One or more of above-mentioned file type target type is selected, i.e. user needs the intended application to be set as selected target
The corresponding default application of type file.The terminal device can receive above-mentioned selection instruction, by above-mentioned selection instruction from above-mentioned
Above-mentioned target type is selected in file type.
304th, the terminal device detects whether the target type includes the above-mentioned first kind.If so, perform step 305;
If it is not, then perform step 306.
Wherein, the above-mentioned first kind belongs to the files classes that already present default application is supported in the default application file
Type set, i.e., the above-mentioned first kind can be understood as the file type of the opening file set by existing default application.Specifically
Ground, the terminal device receive narrowing in the case of the selection instruction of the target type in above-mentioned file type, which sets
Standby to detect whether above-mentioned target type includes the first kind, above-mentioned target type can be one or more, terminal device
It can detect whether above-mentioned target type includes the first kind, if the target type that user selects is one kind, you can be interpreted as
Terminal device detection is whether the target type has set corresponding default application, can specifically be presented as the above-mentioned acquiescence of detection
With the presence or absence of the default application icon for the file for opening this document type in application file folder, if in the presence of above-mentioned target type
Including the above-mentioned first kind, if being not present, above-mentioned target type does not include the above-mentioned first kind.
305th, the terminal device judge intended application default application corresponding with the file of the above-mentioned first kind whether phase
Together.If differing, step 306 is performed;If identical, step 307 is performed.
Specifically, if above-mentioned target type include the above-mentioned first kind, the terminal device may determine that the intended application with
Whether the corresponding default application of file of the above-mentioned first kind is identical.
306th, the intended application is set as opening the default application of the file of above-mentioned target type by the terminal device.
Specifically, if above-mentioned target type does not include the above-mentioned first kind, which can set the intended application
The default application for the file for opening above-mentioned target type is set to, i.e., the text of above-mentioned target type is opened from the terminal device next time
Part starts, and will all be opened using the intended application.
Optionally, if above-mentioned target type include the above-mentioned first kind, and the terminal device judge the intended application with
The corresponding default application of file of the above-mentioned first kind differs, which can be set as the intended application in opening
State the default application of the file of target type.Specifically, which can delete above-mentioned in above-mentioned default application file
The corresponding default application icon of file of the first kind shows the icon of the intended application in above-mentioned default application file,
The intended application is set as opening to the default application of the file of above-mentioned target type.
307th, in the case where above-mentioned target type further includes other types, which is set as the intended application
Open the default application of above-mentioned other kinds of file.
Wherein, above-mentioned other types refer to the alternative document type in addition to the above-mentioned first kind, if above-mentioned target type
Comprising two kinds and two or more types, the target type of other types, i.e. user's selection is further included in addition to the above-mentioned first kind
In, including the above-mentioned first kind and other types, and intended application acquiescence corresponding with the file of the above-mentioned first kind should
With identical, which can be set as the intended application to open above-mentioned other kinds of file default application, the i.e. mesh
Mark application is configured to open the default application of the above-mentioned first kind and other kinds of file.Further, the terminal device
The corresponding file type of the intended application can be shown in above-mentioned default application file, such as in above-mentioned default application file
The intended application icon is shown in folder, the first kind, that is, above-mentioned other types are marked on the icon.
In the case where above-mentioned target type does not include other types, which can terminate this flow.It is if above-mentioned
Target type does not include other types, i.e., the target type that user selects is the above-mentioned first kind, and the intended application is set
The default application for the file for opening the above-mentioned first kind is set to, is not repeated to set.Further, which can export
Prompt message has been set, it is above-mentioned that prompt message has been set to be used for the text that the intended application is prompted to be arranged to above-mentioned target type
The corresponding default application of part does not need to repeat to set, avoids unnecessary step..
Step 301 and step 305 can be respectively with reference to steps in embodiment of the method shown in FIG. 1 in the embodiment of the present invention
101 and the specific descriptions of step 104, details are not described herein.
By the method shown in above-described embodiment, user, which only needs to work as, detects that the acquiescence that is added to for application icon should
It during with the operation of file, such as pulls application icon and enters this document folder, it is possible to which quick setting terminal device is opened different
The default application of type file can make the setting more convenient and quicker of default application, if also, two kinds of intended application support opening
Or two or more file types, the target type of setting can also be selected as needed, which is set as above-mentioned
The corresponding default application of file of target type can manage default application more accurately, more personalized.
It is a kind of structure diagram of terminal device provided in an embodiment of the present invention, as shown in figure 4, the terminal referring to Fig. 4
Equipment includes:First detection unit 410 and setting unit 420, wherein:
First detection unit 410, for detecting the operation added to default application file for application icon
When, it detects whether that there are the corresponding intended applications of the application icon to support the file type opened.
Specifically, the above-mentioned operation added to default application file for application icon, can be by the application
The operation of default application file that the menu selection of the icon application icon is added into, i.e. user can be with by touch control operation
The menu of the application icon is opened, the application icon is added to above-mentioned default application by selecting the setting options in the menu
File;Alternatively, can select application icon by the operation chosen or frame selects, and then select to answer added to above-mentioned acquiescence
With the operation of file, for example, user can carry out pressing operation to application icon, can application drawing be shown with triggering terminal equipment
Target choice box, user can choose application icon (one or more) by the touch control operation to choice box, work as end
End equipment detects that at least one application icon is checked, and terminal device shows the option added to default application file, when
The above-mentioned option added to default application file of user's touch-control, terminal device, which can perform, above-mentioned detects whether that there are the applications
The corresponding intended application of icon supports the operation for the file type opened.
Optionally, the above-mentioned operation added to default application file for application icon, can be by application icon
The operation being less than with the distance of default application file in target zone is dragged to, above-mentioned target zone can be preset, example
If target zone is 0.5 centimetre, i.e., application icon is dragged to and situation of the distance of default application file less than 0.5 centimetre
Under, terminal device can detect whether that there are the corresponding intended applications of the application icon to support the file type opened.Optionally,
It is above-mentioned to be dragged to and set with terminal for the operation added to default application file of application icon or application icon
The operation of default application file contact on standby desktop.
First detection unit 410 is additionally operable to detect whether above-mentioned file type includes the first kind.
Specifically, if there are the corresponding intended applications of the application icon to support the file type opened, detection unit 410 can
To detect whether above-mentioned file type includes the first kind.The above-mentioned first kind belongs to already present in the default application file
The file type set that default application is supported.
Setting unit 420, for the intended application to be set as opening to the default application of the file of above-mentioned file type.
If above-mentioned file type does not include the first kind, which can be set as beating by setting unit 420
Open the default application of the file of above-mentioned file type.
Optionally, which further includes:Display unit 430, should for the display in above-mentioned default application file
Application icon, and show the corresponding above-mentioned file type of above application icon.
Optionally, which further includes second detection unit 440, for detect application icon be dragged to
In the case of default application file contact on terminal device desktop, the application icon and above-mentioned default application file are detected
Contact duration whether reach preset duration threshold value.
If second detection unit 440 detects that the application icon and the contact duration of above-mentioned default application file reach
Preset duration threshold value is stated, first detection unit 410 can detect whether that there are the corresponding intended application supports of the application icon to beat
The file type opened.
Optionally, which further includes:Judging unit 450, for judging the intended application and the above-mentioned first kind
The corresponding default application of file it is whether identical.
Specifically, if first detection unit 410 detects that above-mentioned file type includes the above-mentioned first kind, judging unit
450 judge that intended application default application corresponding with the file of the above-mentioned first kind differs, and display unit 430 can be used for
The corresponding default application icon of file of the above-mentioned first kind in above-mentioned default application file is deleted, in above-mentioned default application text
The icon of the intended application is shown in part folder, which can be set as opening the above-mentioned first kind by setting unit 420
File default application.
Optionally, which further includes prompt unit 460, for exporting prompt message.
Wherein, above-mentioned prompt message is used to prompt the intended application that can not be set as above-mentioned default application.If the first detection
Unit 410 detects that, there is no the file type that above-mentioned intended application supports opening, prompt unit 460 can export prompting letter
Breath.
Optionally, if first detection unit 410 detects that above-mentioned file type includes the above-mentioned first kind, judging unit
450 judge that intended application default application corresponding with the file of the above-mentioned first kind is identical, that is, have set the intended application to be
The corresponding default application of file of the above-mentioned first kind, prompt unit 460 is additionally operable to output and has set prompt message, above-mentioned to have set
It puts prompt message and can be used for the corresponding default application of the file that the intended application is prompted to be arranged to the above-mentioned first kind, it can
Choosing, first detection unit 410 is additionally operable to detect the intended application and whether also supports to open other kinds of file, it is above-mentioned other
Type refers to the alternative document type in addition to the above-mentioned first kind, if first detection unit 410 detects the intended application not
The acquiescence that the other kinds of file of support opening, the i.e. intended application have been arranged to the file for opening the above-mentioned first kind should
With, and the intended application can only be supported to open the file of the above-mentioned first kind, which can terminate this flow.It if should
Intended application also supports to open the other kinds of file in addition to the above-mentioned first kind, and setting unit 420 is additionally operable to the mesh
Mark application is set as opening the default application of above-mentioned other kinds of file.It is above-mentioned that prompt message has been set to can be also used for prompting
The intended application is also supported to open other kinds of file, you can to provide a user the above-mentioned other kinds of option of selection, on
Other types are stated as the file type in addition to the above-mentioned first kind, user can choose whether the intended application being set as
State other kinds of default application, if so, setting unit 420 can the intended application be set as opening above-mentioned other kinds of text
The default application of part.
If first detection unit 410 detects that the intended application supports that the file type opened is including two kinds and two or more
Type, before detecting above-mentioned file type and whether including the first kind, display unit 430 is additionally operable to, and shows that above-mentioned target should
With the file type for supporting to open.The terminal device further includes receiving unit 470 and selecting unit 480, and receiving unit 470 is used
In receiving the selection instruction for the target type in above-mentioned file type, selecting unit 480 is used for from above-mentioned file type
Select above-mentioned target type.
First detection unit 410 is additionally operable to detect whether above-mentioned target type includes the above-mentioned first kind.
If above-mentioned target type does not include the above-mentioned first kind, which can be set as beating by setting unit 420
Open the default application of the file of above-mentioned target type.If above-mentioned target type includes the above-mentioned first kind, and judging unit 450
Judge that intended application default application corresponding with the file of the above-mentioned first kind differs, setting unit 420 can be by the mesh
Mark application is set as the default application for the file for opening above-mentioned target type.Specifically, display unit 430 can be deleted above-mentioned silent
Recognize the corresponding default application icon of file of the above-mentioned first kind in application file folder, shown in above-mentioned default application file
The intended application can be set as opening the silent of the file of above-mentioned target type by the icon of the intended application, setting unit 420
Recognize application.
Setting unit 420 is additionally operable to, in the case where above-mentioned target type further includes other types, which be set
It is set to the default application for opening above-mentioned other kinds of file.
Wherein, above-mentioned other types refer to the alternative document type in addition to the above-mentioned first kind, if first detection unit
410 detect that above-mentioned target type includes two kinds and two or more types, and other types are further included in addition to the above-mentioned first kind,
I.e. in the target type of user's selection, including the above-mentioned first kind and other types, and the intended application and the above-mentioned first kind
The corresponding default application of file of type is identical, which can be set as the intended application to open above-mentioned other kinds of
File default application, the i.e. intended application are configured to open the default application of the above-mentioned first kind and other kinds of file.
Further, display unit 430 can show the corresponding file type of the intended application in above-mentioned default application file,
Such as the intended application icon is shown in above-mentioned default application file, marked on the icon first kind, that is, above-mentioned other
Type.
In the case where first detection unit 410 detects that above-mentioned target type does not include other types, the terminal device
It can terminate this flow.If above-mentioned target type does not include other types, i.e., the target type that user selects is the above-mentioned first kind
Type, and the intended application has been arranged to the default application for the file for opening the above-mentioned first kind, is not repeated to set, and avoids
Unnecessary step.
Optionally, first detection unit 410 are additionally operable to detection for the application icon in above-mentioned default application file
Delete operation.
Setting unit 420 is additionally operable to detect for answering in above-mentioned default application file when first detection unit 410
During with the delete operation of icon, cancel the default application setting of the corresponding intended application of the application icon.
The delete operation of the above-mentioned application icon in above-mentioned default application file, can be by application icon
Menu selection removes the operation of above-mentioned default application file or application icon is hauled out above-mentioned default application file
Operation.
Pass through above-mentioned terminal device, it is only necessary to when detecting the behaviour added to default application file for application icon
Terminal device can quickly be set to open the default application of files in different types and detecting for above-mentioned acquiescence when making
During the delete operation of the application icon in application file folder, the default application for cancelling the corresponding intended application of the application icon is set
It puts, it, can especially by when terminal device detects that application icon is dragged to the operation contacted with default application file
Terminal device quickly to be set to open the default application of files in different types, it may not be necessary to enter setting function under normal conditions
In the operation modified of second-level menu, the setting more convenient and quicker of default application can be made.
It is a kind of terminal device schematic block diagram that another embodiment of the present invention provides referring to Fig. 5.This implementation as depicted
Terminal device in example can include:One or more processors 501;One or more input equipments 502, it is one or more
Output equipment 503 and memory 504.Above-mentioned processor 501, input equipment 502, output equipment 503 and memory 504 are by total
Line 505 connects.Memory 504 is for storing computer program, and the computer program includes program instruction, and processor 501 is used
In the program instruction for performing the storage of memory 504.Wherein, processor 501 is used to perform the program instruction of the storage of memory 504.
Processor 501, for by input equipment 502 detect for application icon be added to default application file
During the operation of folder, detect whether that there are the corresponding intended applications of the application icon to support the file type opened.Above-mentioned be directed to should
Can be that application icon is dragged to and writing from memory on terminal device desktop with the operation added to default application file of icon
Recognize the operation that application file clamping connection touches.
Processor 501 is additionally operable to detect whether above-mentioned file type includes the first kind.
Specifically, if there are the corresponding intended applications of the application icon to support the file type opened, processor 501 can
To detect whether above-mentioned file type includes the first kind.The above-mentioned first kind belongs to already present in the default application file
The file type set that default application is supported.
Processor 501 is additionally operable to be set as opening by the intended application default application of the file of above-mentioned file type.
If above-mentioned file type does not include the first kind, which can be set as opening by processor 501
The default application of the file of above-mentioned file type.
Optionally, output equipment 503, for showing the application icon, and show in above-mentioned default application file
The corresponding above-mentioned file type of above application icon.
Optionally, processor 501 are additionally operable to detecting that application icon is dragged to and terminal by input equipment 502
In the case of default application file contact on equipment desktop, connecing for the application icon and above-mentioned default application file is detected
Whether tactile duration reaches preset duration threshold value.
If detecting, the application icon reaches above-mentioned preset duration threshold value with the contact duration of above-mentioned default application file,
Processor 501 can detect whether that there are the corresponding intended applications of the application icon to support the file type opened.
Optionally, processor 501 is additionally operable to judge that intended application acquiescence corresponding with the file of the above-mentioned first kind should
With whether identical.
Specifically, if processor 501 detects that above-mentioned file type includes the above-mentioned first kind, processor 501 judges should
Intended application default application corresponding with the file of the above-mentioned first kind differs, and output equipment 502 can delete above-mentioned acquiescence
The corresponding default application icon of file of the above-mentioned first kind in application file folder, display should in above-mentioned default application file
The icon of intended application, the acquiescence which can be set as opening the file of the above-mentioned first kind by processor 501 should
With.
Optionally, output equipment 502 are additionally operable to output prompt message.
Wherein, above-mentioned prompt message is used to prompt the intended application that can not be set as above-mentioned default application.If processor 501
It detects that there is no above-mentioned intended applications to support the file type opened, output equipment 502 can export prompt message.
If processor 501 detects that above-mentioned file type includes the above-mentioned first kind, processor 501 judges the intended application
Default application corresponding with the file of the above-mentioned first kind is identical, that is, has set the file that the intended application is the above-mentioned first kind
Corresponding default application, output equipment 502 is additionally operable to output and has set prompt message, above-mentioned that prompt message has been set to can be used for
Prompt the file that the intended application has been arranged to the above-mentioned first kind corresponding default application.Further, processor 501 is gone back
For detecting whether the intended application is also supported to open other kinds of file, above-mentioned other types are referred to except the above-mentioned first kind
Alternative document type outside type.If processor 501 detects that the intended application is not supported to open other kinds of file, i.e. the mesh
Mark application has been arranged to open the default application of the file of the above-mentioned first kind, and the intended application can only be supported in opening
The file of the first kind is stated, processor 501 can terminate this flow.If processor 501 detects that the intended application is also supported to beat
Discharge the other kinds of file other than the above-mentioned first kind from, processor 501 is additionally operable to the intended application being set as in opening
State the default application of other kinds of file.It is above-mentioned that prompt message has been set to can be also used for that the intended application is prompted also to support to beat
Open other kinds of file, you can to provide a user the above-mentioned other kinds of option of selection, above-mentioned other types are except above-mentioned
File type other than the first kind, user can choose whether that the intended application is set as above-mentioned other kinds of acquiescence answers
With if so, the intended application can be set as above-mentioned other kinds of default application by processor 501.
If processor 501 detects that the intended application supports the file type opened to include two kinds and two or more types,
Before detecting above-mentioned file type and whether including the first kind, output equipment 502 is additionally operable to, and shows that above-mentioned intended application is supported
The file type of opening.Processor 501 be additionally operable to receive for the target type in above-mentioned file type selection instruction and
For selecting above-mentioned target type from above-mentioned file type.
Further, processor 501 is additionally operable to detect whether above-mentioned target type includes the above-mentioned first kind.
If above-mentioned target type does not include the above-mentioned first kind, which can be set as opening by processor 501
The default application of the file of above-mentioned target type.If above-mentioned target type includes the above-mentioned first kind, and processor 501 judges
Intended application default application corresponding with the file of the above-mentioned first kind differs, and processor 501 can be by the intended application
It is set as opening the default application of the file of above-mentioned target type.Specifically, output equipment 502 can delete above-mentioned default application
The corresponding default application icon of the file of the above-mentioned first kind in file, the target is shown in above-mentioned default application file
The icon of application, so processor 501 intended application can be set as to opening the acquiescence of the file of above-mentioned target type should
With.
Processor 501 is additionally operable to, in the case where above-mentioned target type further includes other types, which be set
To open the default application of above-mentioned other kinds of file.Wherein, above-mentioned other types are referred in addition to the above-mentioned first kind
Alternative document type, if processor 501 detects that above-mentioned target type includes two kinds and two or more types, except above-mentioned first
Other types are further included outside type, i.e., in the target type of user's selection, including the above-mentioned first kind and other types, and should
Intended application default application corresponding with the file of the above-mentioned first kind is identical, which can be set the intended application
To open above-mentioned other kinds of file default application, i.e. the intended application is configured to open the above-mentioned first kind and other classes
The default application of the file of type.
In the case where processor 501 detects that above-mentioned target type does not include other types, which can tie
This flow of beam.If above-mentioned target type does not include other types, i.e., the target type that user selects is the above-mentioned first kind, and is somebody's turn to do
Intended application has been arranged to the default application for the file for opening the above-mentioned first kind, is not repeated to set, and it is unnecessary to avoid
The step of.
Optionally, processor 501 is additionally operable to detecting the behaviour added to default application file for application icon
When making, cancel the default application setting of the corresponding intended application of the application icon.
The delete operation of the above-mentioned application icon in above-mentioned default application file, can be by application icon
Menu selection removes the operation of above-mentioned default application file or application icon is hauled out above-mentioned default application file
Operation.
Pass through above-mentioned terminal device, it is only necessary to when detecting the behaviour added to default application file for application icon
Terminal device can quickly be set to open the default application of files in different types and detecting for above-mentioned acquiescence when making
During the delete operation of the application icon in application file folder, the default application for cancelling the corresponding intended application of the application icon is set
It puts, especially by when terminal device detects that application icon is dragged to the operation contacted with default application file, soon
Speed setting terminal device opens the default application of files in different types, it may not be necessary to enter under normal conditions in setting function
The operation that second-level menu is modified can make the setting more convenient and quicker of default application.
A kind of computer-readable medium is provided in another embodiment of the invention, and above computer readable medium is also meter
Calculation machine readable storage medium storing program for executing or computer storage media are stored with computer program, and above computer program includes program instruction,
The embodiment of the method for above-mentioned Fig. 1 and management default application shown in Fig. 3 is realized when being executed by processor.
The computer readable storage medium can be the method for the management default application described in aforementioned any embodiment
The internal storage unit of relevant device or system, such as the hard disk or memory of terminal device.The computer readable storage medium
It can also be the External memory equipment of terminal device, such as the plug-in type hard disk being equipped on terminal device, intelligent memory card
(Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Into
One step, the computer-readable medium can also both include the internal storage unit of terminal device or be set including external storage
It is standby.The computer-readable medium is used to store the computer program and other program sum numbers needed for the terminal device
According to.The computer-readable medium can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
The specific work process of end equipment and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only
Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple module or components can be tied
It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit (module) illustrated as separating component may or may not be it is physically separate, as
The component that unit is shown may or may not be physical unit, you can be located at a place or can also be distributed
Onto multiple network element.Some or all of unit therein can be selected according to the actual needs to realize implementation of the present invention
The purpose of example scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can store program
The medium of instruction.
Claims (10)
- A kind of 1. method for managing default application, which is characterized in that including:When detect for application icon added to default application file operation when, detect whether that there are the application drawings It marks corresponding intended application and supports the file type opened;If in the presence of detecting whether the file type includes the first kind;If the file type does not include the first kind, the intended application is set as opening to the text of the file type The default application of part, the first kind belong to the file that already present default application is supported in the default application file Type set.
- 2. according to the method described in claim 1, it is characterized in that, described detect that the acquiescence that is added to for application icon should With the operation of file, including;Detect that application icon is dragged to the operation contacted with the default application file;It is described detect the operation added to default application file for application icon after, the method further includes:Whether the contact duration for detecting the application icon with the default application file reaches preset duration threshold value;It detects whether that there are the corresponding intended applications of the application icon if reaching, described in execution to support the file type opened Step.
- 3. according to the method described in claim 2, it is characterized in that, the feelings of the first kind are not included in the file type Under condition, the method further includes:The application icon is shown in the default application file, and shows the corresponding file of the application icon Type.
- 4. according to the method described in claim 2, it is characterized in that, the method further includes:If the file type includes the first kind, judge that the intended application is corresponding with the file of the first kind Whether default application is identical;If intended application default application corresponding with the file of the first kind differs, the default application text is deleted The corresponding default application icon of file of the first kind, the target is shown in the default application file in part folder The intended application is set as opening the default application of the file of the first kind by the icon of application.
- 5. according to the method described in claim 1, it is characterized in that, the intended application supports the file type opened to include two Kind and two or more types, before whether the detection file type includes the first kind, the method further includes:Show that the intended application supports the file type opened;The selection instruction for the target type in the file type is received, the target class is selected from the file type Type;Whether the detection file type includes including the first kind:Detect whether the target type includes described first Type.
- 6. according to claim 1-5 any one of them methods, which is characterized in that the method further includes:When detecting the delete operation for the application icon in the default application file, cancel the application icon pair The default application setting for the intended application answered.
- 7. method according to claim 1 or 2, which is characterized in that the method further includes:If detecting that there is no the intended applications to support the file type opened, prompt message is exported, the prompt message is used The default application can not be set as in prompting the intended application.
- 8. a kind of terminal device, which is characterized in that perform the method as described in claim 1-7 any claims including being used for Unit.
- 9. a kind of terminal device, which is characterized in that including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, performs claim 1-7 such as and appoint Method described in one.
- 10. a kind of computer-readable medium, which is characterized in that the computer storage media is stored with computer program, described Computer program includes program instruction, and described program instruction makes the processor perform such as claim when being executed by a processor 1-7 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810029094.3A CN108256047A (en) | 2018-01-11 | 2018-01-11 | Manage method, terminal device and the computer-readable medium of default application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810029094.3A CN108256047A (en) | 2018-01-11 | 2018-01-11 | Manage method, terminal device and the computer-readable medium of default application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108256047A true CN108256047A (en) | 2018-07-06 |
Family
ID=62727162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810029094.3A Withdrawn CN108256047A (en) | 2018-01-11 | 2018-01-11 | Manage method, terminal device and the computer-readable medium of default application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108256047A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521924A (en) * | 2018-11-27 | 2019-03-26 | 麒麟合盛网络技术股份有限公司 | A kind of method and apparatus of auxiliary user's selection target application |
CN110175052A (en) * | 2019-04-16 | 2019-08-27 | 努比亚技术有限公司 | A kind of method, apparatus and computer readable storage medium of file opening |
-
2018
- 2018-01-11 CN CN201810029094.3A patent/CN108256047A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521924A (en) * | 2018-11-27 | 2019-03-26 | 麒麟合盛网络技术股份有限公司 | A kind of method and apparatus of auxiliary user's selection target application |
CN109521924B (en) * | 2018-11-27 | 2020-06-30 | 麒麟合盛网络技术股份有限公司 | Method and device for assisting user in selecting target application |
CN110175052A (en) * | 2019-04-16 | 2019-08-27 | 努比亚技术有限公司 | A kind of method, apparatus and computer readable storage medium of file opening |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6549754B2 (en) | Gesture graphical user interface for managing simultaneously open software applications | |
US10108330B2 (en) | Automatic highlighting of formula parameters for limited display devices | |
CN102763058B (en) | For accessing the device of optional key, method and graphical user interface | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN103645825B (en) | The processing method and processing device of message | |
CN105373326B (en) | Data processing system and method | |
CN107861679A (en) | A kind of operation processing method, terminal and computer-readable recording medium | |
CN107765944A (en) | A kind of screen touch method, terminal device and computer-readable medium | |
CN102216897B (en) | Apparatus and method for conditionally enabling or disabling soft buttons | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
EP3485358B1 (en) | Electronic device and method thereof for managing applications | |
CN108241464A (en) | A kind of method, terminal and computer readable storage medium for showing chat message | |
CN107908349A (en) | Display interface amplification method, terminal and computer-readable recording medium | |
CN108255402A (en) | Check the method, terminal and computer readable storage medium of footmark content of announcement | |
CN103809840A (en) | Method and device for operating terminal equipment and terminal equipment | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
WO2016173307A1 (en) | Message copying method and device, and smart terminal | |
CN106873888A (en) | A kind of method and terminal for showing user interface | |
CN108256047A (en) | Manage method, terminal device and the computer-readable medium of default application | |
CN108280146A (en) | A kind of control method, terminal device and the computer-readable medium of push content | |
US11112938B2 (en) | Method and apparatus for filtering object by using pressure | |
CN110286991A (en) | A kind of information processing method and device | |
CN106445283A (en) | Emoticon acquisition method and terminal | |
CN107506113A (en) | A kind of control method of display interface, terminal and computer-readable medium | |
CN106557223A (en) | Mobile terminal fast operational approach and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180706 |