CN108366163A - Control method, device, mobile terminal and the computer-readable medium of camera applications - Google Patents
Control method, device, mobile terminal and the computer-readable medium of camera applications Download PDFInfo
- Publication number
- CN108366163A CN108366163A CN201810036917.5A CN201810036917A CN108366163A CN 108366163 A CN108366163 A CN 108366163A CN 201810036917 A CN201810036917 A CN 201810036917A CN 108366163 A CN108366163 A CN 108366163A
- Authority
- CN
- China
- Prior art keywords
- screen
- state
- mobile terminal
- transverse
- vertical
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- 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
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of control method of camera applications, device, mobile terminal and computer-readable medium, belongs to technical field of mobile terminals.This method includes:When the camera applications are run on first screen, detect whether the mobile terminal is in transverse screen state;When the mobile terminal is in transverse screen state, the relative position of second screen and first screen is obtained;Include in the control button of first screen according to the relative position of second screen and first screen, when the camera applications are in vertical screen state include predetermined position in second screen.Therefore, it when mobile terminal is switched to transverse screen state, is no longer to continue with control button when being maintained at vertical screen state and is shown on the first screen, but include on the second screen by control button so that the operation of camera applications is more abundant, improves user experience.
Description
Technical field
This application involves technical field of mobile terminals, more specifically, be related to a kind of control method of camera applications, device,
Mobile terminal and computer-readable medium.
Background technology
Existing mobile terminal is often fitted with camera applications, and user is taken pictures using the camera applications.But camera is answered
The position of control button (for example, shoot button) is often changeless, and user experience is not high.
Invention content
Present applicant proposes a kind of control method of camera applications, device, mobile terminal and computer-readable mediums, to change
Kind drawbacks described above.
In a first aspect, the embodiment of the present application provides a kind of control method of camera applications, it is applied to mobile terminal, it is described
Mobile terminal includes first surface, the second surface opposite with the first surface, the connection first surface and second surface
Side, be set to the first screen of the first surface and be set to the second screen of the side.First screen
It is adjacent with second screen.The method includes:When the camera applications are run on first screen, described in detection
Whether mobile terminal is in transverse screen state;When the mobile terminal is in transverse screen state, obtain second screen with it is described
The relative position of first screen;According to the relative position of second screen and first screen, at the camera applications
The control button that first screen is shown in when vertical screen state is shown in the predetermined position of second screen.
Second aspect, the embodiment of the present application also provides the control devices of camera applications, are applied to mobile terminal, the shifting
Dynamic terminal includes first surface, the second surface opposite with the first surface, the connection first surface and second surface
Side, the first screen for being set to the first surface and the second screen for being set to the side.First screen with
Second screen is adjacent.Described device includes:Detection unit, acquiring unit and display unit.Detection unit, for when described
Camera applications detect whether the mobile terminal is in transverse screen state when being run on first screen.Acquiring unit is used for
When the mobile terminal is in transverse screen state, the relative position of second screen and first screen is obtained.Display is single
Member, for the relative position according to second screen and first screen, when the camera applications are in vertical screen state
The control button for being shown in first screen is shown in the predetermined position of second screen.
The third aspect, the embodiment of the present application also provides a kind of mobile terminals, including:Memory, processor, the first table
Face, the second surface opposite with the first surface, the connection first surface and second surface side, be set to described the
First screen on one surface and the second screen for being set to the side.First screen is adjacent with second screen.
The memory, first screen and the second screen are coupled with the processor;The memory store instruction, when described
So that the processor executes following operation when instruction is executed by the processor:When the camera applications are in first screen
When upper operation, detect whether the mobile terminal is in transverse screen state;When the mobile terminal is in transverse screen state, institute is obtained
State the relative position of the second screen and first screen;According to the relative position of second screen and first screen,
Include in the control button of first screen when camera applications are in vertical screen state include in second screen
Predetermined position.
Fourth aspect, the embodiment of the present application also provides a kind of computers for the program code that can perform with processor can
Medium is read, said program code makes the processor execute the above method.
Control method, device, mobile terminal and computer-readable Jie of a kind of camera applications provided by the embodiments of the present application
Matter, the first surface of mobile terminal are provided with the first screen, and side is provided with the second screen, and the first screen and with the second screen
Adjacent, i.e., mobile terminal is unilateral double-sided screen terminal.When camera applications are run on first screen, i.e., at mobile terminal
Under screening-mode, detect whether the mobile terminal is in transverse screen state;When the mobile terminal is in transverse screen state, root
Include described when the camera applications are in vertical screen state according to the relative position of second screen and first screen
The control button of first screen is shown in the predetermined position of second screen.Therefore, it is switched to transverse screen shape in mobile terminal
When state, be no longer to continue with control button when being maintained at vertical screen state and be shown on the first screen, but by control button include
On second screen so that the operation of camera applications is more abundant, improves user experience.
Other feature and advantage of the embodiment of the present application will illustrate in subsequent specification, also, partly from specification
In become apparent, or understood by implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can
It realizes and obtains by specifically noted structure in the specification, claims and attached drawing write.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the structural schematic diagram at the first visual angle of the mobile terminal that one embodiment of the application provides;
Fig. 2 shows the structural schematic diagrams at the second visual angle of the mobile terminal of one embodiment of the application offer;
Fig. 3 shows the structural schematic diagram for the mobile terminal that another embodiment of the application provides;
Fig. 4 shows the method flow diagram of the control method of camera applications provided by the embodiments of the present application;
Fig. 5 shows the schematic diagram of the screen state of mobile terminal provided by the embodiments of the present application;
Fig. 6 shows the boundary of the first screen and the second screen of the vertical screen state of mobile terminal provided by the embodiments of the present application
The schematic diagram in face;
Fig. 7 shows the schematic diagram of mobile terminal provided by the embodiments of the present application rotated in the first way;
Fig. 8 shows the schematic diagram of mobile terminal provided by the embodiments of the present application rotated in a second manner;
Fig. 9 shows the schematic diagram of mobile terminal provided by the embodiments of the present application rotated with Third Way;
Figure 10 shows the schematic diagram of mobile terminal provided by the embodiments of the present application rotated with fourth way;
Figure 11 shows the first screen and the second screen of the transverse screen state for the mobile terminal that one embodiment of the application provides
Interface schematic diagram;
Figure 12 shows the first screen and the second screen of the transverse screen state for the mobile terminal that another embodiment of the application provides
The schematic diagram at the interface of curtain
Figure 13 shows the first screen and the second screen of the transverse screen state for the mobile terminal that the another embodiment of the application provides
The schematic diagram at the interface of curtain;
Figure 14 shows the segmentation schematic diagram for the preview image that one embodiment of the application provides;
Figure 15 shows the segmentation schematic diagram for the preview image that another embodiment of the application provides;
Figure 16 shows the module frame chart of the control device of camera applications provided by the embodiments of the present application;
Figure 17 shows the mobile terminals provided by the embodiments of the present application for executing method provided by the embodiments of the present application
Module frame chart.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing
The every other embodiment obtained under the premise of going out creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the application's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
It please refers to Fig.1 and Fig. 2, shows a kind of mobile terminal 1 that one embodiment of the application provides.Fig. 1 is mobile terminal 1
Side view, Fig. 2 be mobile terminal 1 front view.The mobile terminal 1 includes shell 12, the first screen 120 and the second screen
130, shell 12 includes first surface 13, second surface 15, side 14, and first surface 13 and second surface 15 are opposite two
Face, and first surface 13 and second surface 15 are connected by side 14.First screen 120 and the second screen 130 are two opposite
The first surface 13 in shell 12, the second screen 130 is arranged in independent display screen, as an implementation, the first screen 120
Being set to the side 14 adjacent with first surface 13, then mobile terminal 1 is unilateral double-sided screen terminal, as an implementation,
Second screen 130 is arranged in a curve way on the side 14, a side of the first screen 120 and a side of the second screen 130
Side is adjacent, and the length of the first screen 120 is consistent with the length of the second screen 130.
It is the in the side of the close receiver 101 of the first screen 120 as shown in Fig. 2, be additionally provided with receiver 101 on shell 12
The top of one screen 120, the side of the separate receiver 101 of the first screen 120 are the bottom of the first screen 120.In Fig. 2, second
Screen 130 is arranged on the right side of the first screen 120, in addition, in the left side of the first screen, i.e., the second screen 130 can also be arranged
Mobile terminal 1 shown in Fig. 3.
Since the shooting button of present mobile terminal is fixed on some position of the first screen, for example, the first screen
Bottom so that user's Experience Degree when using camera applications is not high.Therefore, in order to solve this defect, based on above-mentioned double
The mobile terminal of screen, the embodiment of the present application provide a kind of application control method, apparatus, mobile terminal and computer-readable Jie
Matter includes in first screen when mobile terminal is in transverse screen state, when the camera applications are in vertical screen state
Control button is shown in the predetermined position of second screen, and each reality of the present patent application is specifically described below in conjunction with attached drawing
Apply example.
Referring to Fig. 4, showing the control method of camera applications provided by the embodiments of the present application.This method be applied to Fig. 1,
2, mobile terminal shown in 3 uses the user experience of camera applications for improving user.Specifically, this method includes:
S401, S402 and S403.
S401:When the camera applications are run on first screen, whether the mobile terminal is detected in cross
Screen state.
Application program running state table is stored in mobile terminal, the institute installed including current mobile terminal in the table
The mark state corresponding with the mark of each application program for having application program, for example, as shown in table 1 below:
Table 1
The mark of application program | State | Time point |
APP1 | Front stage operation state | 2017/11/3/13:20 |
APP2 | Background operation state | 2017/11/4/14:10 |
APP3 | Not running state | 2017/11/5/8:20 |
APP4 | Background operation state | 2017/11/5/10:03 |
APP5 | Background operation state | 2017/11/4/9:18 |
In above-mentioned table 1, APP1 is the mark of application program, can be that title or packet name of application program etc. are used to refer to
The content of application identity, corresponding time point are the time point when application program is switched to corresponding state, for example,
The time point of APP1 in table 1 identifies in 13: 20 this time point of on November 3rd, 2017, screens of the APP1 in mobile terminal
Upper operation switches to front stage operation state.
Wherein, the state of application program includes front stage operation state, background operation state and not running state.Front stage operation
State refers to that application program is run by interface on the screen, and user can be by interface and the application program interactive, for example, defeated
Enter to execute instruction or some information etc. are observed by interface.Background operation state refers to resource management of the application program in system
It is run in device, but typically no interface.For user when starting application program for the first time, the application program is in the first screen
It is run on screen, that is, is in front stage operation state, when user clicks home keys, after the Status Change of the application program is
Platform operating status.Not running state refers to that the application program is not actuated, that is, is not at front stage operation state, is transported not also in backstage
Row state.
In the embodiment of the present application, camera applications fixation is run on the first screen, i.e., if the state of camera applications is
Front stage operation state can then determine that camera applications are run on the first screen.
The screen state of mobile terminal include four kinds, i.e. the first vertical screen state, the first transverse screen state, the second vertical screen state and
Second transverse screen state.I.e. as shown in figure 5, Fig. 5 (a) shows the first vertical screen state of mobile terminal, in this state, with Fig. 5
Shown in view directions, the top of mobile terminal is upper, and under, i.e. the receiver of mobile terminal is moved upper for the bottom of mobile terminal
The home key (not shown) of dynamic terminal is under.Fig. 5 (b) shows the first transverse screen state of mobile terminal, in this state, mobile
The top of terminal is in left side, and the bottom of mobile terminal is on right side, and Fig. 5 (c) shows the second vertical screen state of mobile terminal, at this
Under state, the bottom of mobile terminal is upper, and under, Fig. 5 (d) shows the second transverse screen shape of mobile terminal at the top of mobile terminal
State, in this state, the top of mobile terminal is on right side, and the bottom of mobile terminal is in left side.Wherein, the first vertical screen state and
Two vertical screen states are referred to as vertical screen state, and the first transverse screen state and the second transverse screen state are referred to as transverse screen state.
Specifically, may be provided with the posture detecting unit that can detect mobile terminal posture, such as gyroscope in mobile terminal
Etc. the sensor that can carry out posture determination.The data acquired according to posture detecting unit can determine the posture of mobile terminal, from
And can determine mobile terminal is in which of aforementioned four state.For example, posture detecting unit includes gyroscope.
Known preset posture according to the gyroscopic inertia of gyroscope and mobile terminal relative to gyroscope rotor shaft direction, works as mobile terminal
Posture and preset posture between there is difference, when generating the movement of a direction of pitching, yaw or roll, because of direction top
Spiral shell instrument shaft keeps direction constant, detect mobile terminal relative to shaft angular relationship and preset posture relative to shaft
Angular relationship changes, then can determine the attitudes vibration of mobile terminal, determines the current pose of mobile terminal.
As an implementation, posture the presetting as mobile terminal when mobile terminal to be in the first vertical screen state
Posture is able to detect that the coordinate in the three dimensions of screen becomes when being rotated from the first vertical screen state to other screen states
It changes and rotation direction and rotational angle, when so can determine that rotated stopping, the rotation data of mobile terminal, wherein
Rotation data can be six-degree-of-freedom information, thus just can determine screen state, for example, with the state of Fig. 5 (a), along x-axis
After direction rotates clockwise 90 °, screen state is the first transverse screen state, i.e. state shown in Fig. 5 (b).
Furthermore it is also possible to which function in the system for passing through mobile terminal obtains the screen state of mobile terminal.For example, root
The state of screen is obtained according to function typedefNS_ENUM (NS Integer, UIDeviceOrientation), specifically,
Function returns the result as shown in table 2 below with the correspondence of screen state:
Table 2
Function returns the result | Screen state |
UIDeviceOrientationPortrait | First vertical screen state |
UIDeviceOrientationPortraitUpsideDown | Second vertical screen state |
UIDeviceOrientationLandscapeLeft | First transverse screen state |
UIDeviceOrientationLandscapeRight | Second transverse screen state |
The current screen state of mobile terminal can be obtained according to upper table 2.
S402:When the mobile terminal is in transverse screen state, the phase of second screen and first screen is obtained
To position.
Since under the first vertical screen state, the first screen may be mounted at the left side or right side of the second screen, Yi Jiyi
When dynamic terminal is in transverse screen state, it may may also then make at mobile terminal in the second transverse screen state in the first transverse screen state
When transverse screen state, it is possible that there are many relative positions of second screen and first screen, and specifically, the application is implemented
Example in, using the first vertical screen state described in Fig. 5 (a) as the vertical screen state in this method, i.e., in the embodiment of the present application erect
Under screen state, when camera applications are run on the first screen, shooting button is located at the bottom of the first screen, and such as Fig. 6 shows shifting
When the vertical screen state of dynamic terminal, schematic diagram that camera applications are run on the first screen.In Fig. 6, the first screen is equipped with photography
Functional area 120A, camera function region 120A are located at the bottom of the first screen, wherein camera function region 120A, which is equipped with, to be clapped
Button M, camera switching key T and function key are taken the photograph, wherein function key includes that multiple and different mode selecting key and photograph album are looked into
Readding button, wherein " time-lapse photography, video, portrait, photo and panorama " shown in Fig. 6 is 5 different mode selecting keys,
User clicks different mode selecting keys, and camera applications can switch to the corresponding pattern of mode selecting key that user chooses, Fig. 6
In be located at shooting button M on the left of box be photograph album consult button, user click the photograph album consult button, system can be by photograph album
Application switching will be run to running background on the screen of photograph album application switching to the first screen.In addition, under vertical screen state,
The display direction of the content of text of first screen be first direction, for example, the first direction be from the left side of the first screen to the right
Side shows, i.e. direction shown in F1 in Fig. 6 is first direction, such as " time-lapse photography, video, portrait, the photo and complete in Fig. 6
The text orientation of scape " is first direction, i.e. the direction from the left side of the first screen to the right.
In the following, using vertical screen state defined above as initial state, the second screen of description is opposite with first screen
Following several possibility of position:
The first, is when first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen position
In the top of first screen.As an implementation, mobile terminal, which is realized, obtains the first screen and the second screen in shell
Installation site relationship on body, i.e., in the state that Fig. 5 (a) is shown, the second screen is located at the left side or right side of the first screen,
When then by vertical screen state, the position relationship that the second screen is located at the right side of the first screen is denoted as first position relationship, i.e., shown in Fig. 2
Position relationship, the position relationship that the second screen is located to the left side of the first screen is denoted as second position relationship, i.e., shown in Fig. 3
Position relationship.Then first position relationship and second position relationship can be input to by user in mobile terminal.
Mobile terminal judges whether the posture of current mobile terminal is vertical screen state, before specific judgment mode can refer to
State description.When it is vertical screen state to determine current pose, pre-stored first screen and the second screen are read on shell
Installation site relationship, if read installation site relationship is first position relationship, as shown in fig. 7, if detect mobile terminal
Whether the first predetermined angle ra had rotated by vertical screen state counterclockwise, and before the surface of postrotational first screen and rotation
The surface out of plumb of first screen then can be determined that the second screen is located at the top of first screen, i.e., by the shape of Fig. 5 (a)
State has rotated to the state of Fig. 5 (b), i.e., the state of mobile terminal shown in dotted lines in Figure 7.Wherein, the first predetermined angle is to connect
Nearly 90 ° of angle, for example, the difference between the first predetermined angle ra and 90 ° is not more than 10 °, that is to say, that the first predetermined angle
Ra is selected between 80 ° to 100 °, and as an implementation, the direction of rotation of mobile terminal and XOY plane are coplanar.
Second, when first screen clockwise turns to transverse screen state by vertical screen state, second screen position
In the lower section of first screen.
When it is vertical screen state to determine current pose, pre-stored first screen and the second screen are read on shell
Installation site relationship, if read installation site relationship is first position relationship, as shown in figure 8, detection mobile terminal
Whether the first predetermined angle rotated clockwise by vertical screen state, and the surface of postrotational first screen and before rotation
The surface out of plumb of one screen then can be determined that the second screen is located at the lower section of first screen, i.e., by the state of Fig. 5 (a)
The state of Fig. 5 (d), i.e., the state of mobile terminal shown in dotted lines in Figure 8 are rotated to.
It should be noted that in the first scenario, if the second screen is located at after the top of first screen, i.e.,
In Fig. 7, the position of mobile terminal shown in dotted line, then rotate the second predetermined angle rb, wherein the second predetermined angle rb is close
180 °, for example, the difference between the second predetermined angle rb and 180 ° is not more than 10 °, that is to say, that the second predetermined angle rb is selected from
Between 170 ° to 190 °, then after rotating the second predetermined angle rb, the second screen of judgement is located at the lower section of first screen.
The third, is when first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen position
In the lower section of first screen.
When it is vertical screen state to determine current pose, pre-stored first screen and the second screen are read on shell
Installation site relationship, if read installation site relationship is second position relationship, i.e., the first screen shown in Fig. 3 and second
Installation site relationship between screen.As shown in figure 9, then detecting whether mobile terminal by vertical screen state has rotated first counterclockwise
Predetermined angle ra, and the surface out of plumb on the surface of postrotational first screen and the first screen before rotation, then can sentence
Fixed second screen is located at the lower section of first screen, i.e., the state of mobile terminal shown in dotted lines in Figure 9.
4th kind, when first screen clockwise turns to transverse screen state by vertical screen state, second screen position
In the top of first screen.
When it is vertical screen state to determine current pose, pre-stored first screen and the second screen are read on shell
Installation site relationship, if read installation site relationship is second position relationship, i.e., the first screen shown in Fig. 3 and second
Installation site relationship between screen.As shown in Figure 10, then detect whether mobile terminal by vertical screen state has rotated clockwise
One predetermined angle ra, and the surface out of plumb on the surface of postrotational first screen and the first screen before rotation, then can be with
Judge that the second screen is located at the top of first screen, i.e., the state of mobile terminal shown in dotted lines in Figure 10.
In addition, under the third screen state, continues to be rotated in the counterclockwise direction the second rotation angle rb, can also reach
To the state of mobile terminal shown in dotted lines in Figure 10, you can so that the second screen is located at the top of first screen, specifically
Foregoing description can be referred to, details are not described herein.
S403:According to the relative position of second screen and first screen, the camera applications are in vertical screen
The control button that first screen is shown in when state is shown in the predetermined position of second screen.
Wherein, control button may include shooting button and camera switching key.Shooting button M as shown in Figure 6
With camera switching key T.
Specifically, the second screen and the determination of the relative position of first screen can refer to foregoing description, herein no longer
It repeats.
When first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen is located at described first
When the top of screen namely the first situation of foregoing description.Include in second screen and institute by the shooting button
It states at the corresponding position in bottom of the first screen, as shown in figure 11, camera function region 120A is located at the bottom of the first screen, claps
It takes the photograph button M to be shown at the position corresponding with camera function region 120A of the second screen, then dominated by hand the of user at this time
The bottom position of one screen, left hand are held at the top position of the first screen, then shooting button M is located exactly at the right hand of user
Place, meet user using it is single it is anti-, micro- it is single, without image capture devices such as anti-or digital cameras when use habit, improve
The Experience Degree of user.
In addition, camera switching key T is used to switch in front camera and rear camera so that user can pass through
Camera switching key T selects different camera collection images, and when the first screen is in vertical screen state, camera switching is pressed
Key T can also be located at the top of the first screen in the bottom of the first screen, i.e. camera function region 120A.As
A kind of embodiment, when first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen is located at institute
When stating the top of the first screen, camera switching key T is in the second screen position corresponding with the top of the first screen
Place, then when the right hand of user operates the shooting button M on the second screen, left hand can operate camera switching key T, more meet
The use habit of user.
When first screen clockwise turns to transverse screen state by vertical screen state, second screen is located at described first
When the top of screen, i.e. the 4th kind of situation of foregoing description.Include then in second screen and institute by the shooting button
It states at the corresponding position in top of the first screen, includes in second screen and described by the camera switching key
At the corresponding position in bottom of one screen.As shown in figure 12, camera function region 120A is located at the bottom of the first screen, camera
Switching key T is shown at the position corresponding with camera function region 120A of the second screen, that is, be shown in the second screen with
At the corresponding position in bottom of first screen, shooting button M is shown in the position corresponding with the top of the first screen of the second screen
Place is set, therefore, the right hand of user is held at the top position of the first screen, and left hand keeps the bottom position of the first screen, then
Right hand shooting button M easy to operation, left hand camera switching key T easy to operation.
In addition, when the second screen is located at the lower section of the first screen, i.e., in second or the third feelings of foregoing description
Under condition, shooting button is shown at the position corresponding with the top of first screen or bottom of second screen, by institute
Camera switching key is stated to be shown at the position corresponding with the top of first screen or bottom of second screen.
That is at the position for two opposite sides that camera switching key and shooting button are located at the second screen.
As an implementation, shooting button is shown in the corresponding with the bottom of the first screen of second screen
Position at, and camera switching key is shown in the position corresponding with the top of the first screen of second screen
Place.As shown in figure 13.
Furthermore, it is contemplated that when the first screen is in transverse screen state, increase user in the text for observing the first screen
The mobile terminal is in the vertical screen state by the user experience of content when the mobile terminal is in transverse screen state
The first screens of Shi Suoshu are adjusted to show in a second direction along the content of text that first direction is shown, the first direction perpendicular to
The second direction.Wherein, first direction when vertical screen state can be the left side display text to the right by the first screen
Direction, in Fig. 6, direction shown in F1 is first direction.And in different transverse screen states, second direction is different.Such as
When one transverse screen state, second direction is that the direction of bottom is directed toward by top, direction F2 as shown in Figure 11, if in the second cross
When screen state, second direction is that the direction at top is directed toward by bottom, and in Figure 12, direction shown in F2 is second direction.Therefore,
When getting the first screen according to the mode of foregoing description and being in the first transverse screen state or the second transverse screen state, just can determine that
First screen is used for the second direction of display text, then the text shown the first screen described in when vertical screen state along first direction
Content is adjusted to show in a second direction.
Furthermore when running camera applications on the first screen, it is equipped with the first preview screen display area on the first screen,
The first preview screen display area is used to show the preview image of camera applications acquisition.And in the embodiment of the present application, for
The Experience Degree of user is provided, second screen is equipped with the second preview screen display area, first preview screen viewing area
Domain and second preview screen display area are adjacent.Then when mobile terminal is in transverse screen state, the camera applications are obtained
The preview image of acquisition is closed according to the position of first preview screen display area and second preview screen display area
System, the first image and the second image are divided by the preview image.Specifically, first preview screen display area and institute
State the position relationship of the second preview screen display area includes that the first preview screen display area is located at second preview picture
Above and below the display area of face, then the judgement that can be located at by the first screen above-mentioned above and below second screen
Mode, to judge the position relationship of the first preview screen display area and second preview screen display area.For example, first
Screen is located at the top of the second screen, then it represents that the first preview screen display area is located at second preview screen display area
Top, and the first screen is located at the lower section of the second screen, then it represents that it is pre- that the first preview screen display area is located at described second
Look at the lower section of active area.
As an implementation, the length phase of the first preview screen display area and the second preview screen display area
Together, and the width of the two is proportional, for example, the first preview screen display area be A pixels, the second preview screen display area
Width is B pixels, then the width ratio of the two is A/B.
When the first preview screen display area is located at the lower section of second preview screen display area, by preview image from
Under, the first image and the second image, i.e. the first image and the second figure are divided into according to the ratio of B/ (A+B) and A/ (A+B)
The length of picture is identical, and the ratio of the width of the width of the first image and the second image is B/A, that is, the width of the first image
It is corresponding with the second preview screen display area, and the width of the second image is corresponding with the first preview screen display area.Such as Figure 14
Shown, image shown in Figure 14 (a) is preview image, then it is aobvious to be located at second preview screen for the first preview screen display area
Preview image is divided into the first image by the lower section for showing region, i.e. image shown in Figure 14 (b), and will be by preview image point
It is cut into the second image, i.e. the width of image shown in Figure 14 (c), the width of the first image and the second image is added as preview graph
The width of picture, and the ratio of the width of the width of the first image and the second image is B/A, by described first image described first
Preview screen display area is shown;Second image is shown in second preview screen display area.Then such as Figure 11 institutes
Show.
In addition, when the first preview screen display area is located at the top of second preview screen display area, by preview
Image is divided into the first image and the second image from top to bottom, according to the ratio of A/ (A+B) and B/ (A+B), i.e. the first image and
The length of second image is identical, and the ratio of the width of the width of the first image and the second image is A/B, that is, the first image
Width it is corresponding with the first preview screen display area, and the width of the second image is corresponding with the second preview screen display area.
As shown in figure 15, Figure 15 (a) be shown in image be preview image, then it is pre- to be located at described second for the first preview screen display area
It lookes at the top of active area, preview image is divided into the first image, i.e. image shown in Figure 15 (b), and will be pre-
Image segmentation is look at into the second image, i.e. image shown in Figure 15 (c).The width of first image is added i.e. with the width of the second image
For the width of preview image, and the ratio of the width of the width of the first image and the second image is A/B, and described first image is existed
First preview screen display area is shown;Second image is shown in second preview screen display area.Then
As shown in figure 13.
6 are please referred to Fig.1, shows the control device 1600 of camera applications provided by the embodiments of the present application.The device application
The mobile terminal shown in Fig. 1,2,3 uses the user experience of camera applications for improving user.Specifically, the device packet
It includes:Detection unit 1601, acquiring unit 1602 and display unit 1603.
Detection unit 1601, it is described mobile whole for when the camera applications are run on first screen, detecting
Whether end is in transverse screen state.
Acquiring unit 1602, for when the mobile terminal be in transverse screen state, acquisition second screen with it is described
The relative position of first screen.
Display unit 1603, for the relative position according to second screen and first screen, by the camera
The control button that first screen is shown in when using in vertical screen state is shown in the predetermined position of second screen.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Referring to Fig. 1, based on above-mentioned method and apparatus, one embodiment of the application also provides a kind of mobile terminal 1,
It includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and the first screen being arranged on the shell 12
120 and second screen 130.Metal can be used in the shell 12, such as steel, aluminium alloy are made.In the present embodiment, first screen
Curtain 120 generally includes the first display screen 121, may also comprise and carries out touch control operation to first display screen 121 for responding
Circuit etc., the second screen 130 also generally include second display screen 131, may also comprise for responding to the second display screen 131
Carry out the circuit etc. of touch control operation.Display screen can be a liquid crystal display (Liquid Crystal Display, LCD),
In some embodiments, the display screen is a touch screen simultaneously.
Please refer to 17, in actual application scenarios, the mobile terminal 1 can be used as intelligent mobile phone terminal progress
It uses, the electronic body portion 10 also typically includes one or more (one is only shown in figure) processors in this case
102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118, power module 122.It will appreciated by the skilled person that with 17 shown in structure be only illustrate, not to institute
The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include than with it is more shown in 17 or
The less component of person, or with the correspondence different from shown in 17.
It will appreciated by the skilled person that for the processor 102, every other component belongs to
It is coupled by multiple Peripheral Interfaces 124 between peripheral hardware, the processor 102 and these peripheral hardwares.The Peripheral Interface 124 can
Based on following standard implementation:(the Universal Asynchronous Receiver/ of Universal Asynchronous Receive/sending device 200
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of screen or storage control for connecting memory, wherein display screen includes the first display screen and the
Two display screens.In addition, these controllers can also be detached from the Peripheral Interface 124, and it is integrated in the processor
In 102 or in corresponding peripheral hardware.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, to perform various functions application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or display screen.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and its group
It closes.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, to
It is communicated with communication network or other equipment.The RF modules 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF modules 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, receiver 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly
Audio interface between 10.Specifically, the voicefrequency circuit 110 receives voice data from the processor 102, by sound number
According to electric signal is converted to, by electric signal transmission to the receiver 101.The receiver 101, which converts electrical signals to human ear, to be heard
Sound wave.The voicefrequency circuit 110 receives electric signal also from the microphone 105, converts electrical signals to voice data, and
By data transmission in network telephony to the processor 102 to be further processed.Audio data can be from the memory 104
Or it is obtained by the RF modules 106.In addition, audio data can also store into the memory 104 or pass through institute
RF modules 106 are stated to be sent.
The sensor 114 is arranged in the electronic body portion 10 or 120 or second screen 130 of the first screen
Interior, the example of the sensor 114 includes but is not limited to:Acceleration transducer 114F, gyroscope 114G, magnetometer and its
His sensor.
Specifically, gyroscope 114G can detect the posture of mobile terminal, so that it is determined that the direction of all parts, determines aobvious
The direction of display screen, the direction etc. for determining screen.Acceleration transducer 114F can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the mobile terminal posture application (such as
Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc..In addition,
The electronic body portion 10 can also correspond to the other sensors such as gyroscope, magnetometer, barometer, hygrometer, thermometer, herein not
It repeats again.
In the present embodiment, the input module 118 may include the touch screen being arranged on first screen 120
109, the touch screen 109 collect user on it or neighbouring touch operation (for example user is any using finger, stylus etc.
Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), it is hereby achieved that with
The touch gestures at family, and corresponding attachment device is driven according to a pre-set procedure.Optionally, the touch screen 109 can wrap
Include touch detecting apparatus and touch controller.Wherein, the touch orientation of the touch detecting apparatus detection user, and detect touch
The signal brought is operated, the touch controller is transmitted a signal to;The touch controller is from the touch detecting apparatus
Touch information is received, and the touch information is converted into contact coordinate, then gives the processor 102, and the place can be received
It manages the order that device 102 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes the touch detection function of the touch screen 109.In addition to the touch screen 109, in other change embodiments,
The input module 118 can also include other input equipments, such as button 107.The button 107 for example may include for inputting
The character keys of character, and the control button for triggering control function.The example of the control button includes " returning to master
Screen " button, on/off button etc..
The letter that first screen, 120 and second screen 130 is used to show information input by user, be supplied to user
The various graphical user interface in breath and the electronic body portion 10, these graphical user interface can be by figure, text, figure
Mark, number, video and its arbitrary combination are constituted, in an example, the touch screen 109 may be disposed on display screen to
An entirety is constituted with display screen, wherein touch can be arranged in one or two of the first display screen and second display screen
Screen.
The power module 122 is used to provide supply of electric power to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and electronic body portion 10 or display mould
The generation, management of electric power and the relevant component of distribution in block.
The mobile terminal further includes locator 119, and the locator 119 is used to determine the reality residing for the mobile terminal
Border position.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal, the positioning using positioning service
Service, it should be understood that the location information (such as latitude and longitude coordinates) of the mobile terminal is obtained by specific location technology,
It is marked on the electronic map by the technology of the position of positioning object or service.
It should be understood that above-mentioned mobile terminal is not limited to intelligent mobile phone terminal, should refer to can be in movement
The middle computer equipment used.Specifically, mobile terminal, refers to the mobile computer device for being equipped with intelligent operating system,
Mobile terminal includes but not limited to smart mobile phone, smartwatch, tablet computer, etc..
Shown in sum up, a kind of control method of camera applications, device, mobile terminal and calculating provided by the embodiments of the present application
Machine readable medium, the first surface of mobile terminal are provided with the first screen, and side is provided with the second screen, and the first screen and with
Second screen is adjacent, i.e., mobile terminal is unilateral double-sided screen terminal.When camera applications are run on first screen, that is, move
Dynamic terminal is under screening-mode, detects whether the mobile terminal is in transverse screen state;When the mobile terminal is in transverse screen
When state, according to the relative position of second screen and first screen, when the camera applications are in vertical screen state
The control button for being shown in first screen is shown in the predetermined position of second screen.Therefore, it is cut in mobile terminal
When changing to transverse screen state, no longer it is to continue with control button when being maintained at vertical screen state and is shown on the first screen, but will control
Button is shown on the second screen so that the operation of camera applications is more abundant, improves user experience.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.In addition, in each embodiment of the application
In each functional unit can be integrated in a processing module, can also be that each unit physically exists alone, can also two
A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of application
Type.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with
Technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;And
These modifications or replacements, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of control method of camera applications, which is characterized in that be applied to mobile terminal, the mobile terminal includes the first table
Face, the second surface opposite with the first surface, the connection first surface and second surface side, be set to described the
First screen on one surface and the second screen for being set to the side, first screen is adjacent with second screen,
The method includes:
When the camera applications are run on first screen, detect whether the mobile terminal is in transverse screen state;
When the mobile terminal is in transverse screen state, the relative position of second screen and first screen is obtained;
According to the relative position of second screen and first screen, shown when the camera applications are in vertical screen state
It is shown in the predetermined position of second screen in the control button of first screen.
2. according to the method described in claim 1, it is characterized in that, the control button includes shooting button, when the movement
When terminal is in vertical screen state, the shooting button is shown in first bottom of screen;It is described according to second screen with
The relative position of first screen, include when the camera applications are in vertical screen state first screen control by
Key is shown in the predetermined position of second screen, including:
When first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen is located at first screen
Top when, include at second screen position corresponding with the bottom of the first screen by the shooting button;
When first screen clockwise turns to transverse screen state by vertical screen state, second screen is located at first screen
Top when, include at second screen position corresponding with the top of the first screen by the shooting button.
3. according to the method described in claim 2, it is characterized in that, the control button further includes camera switching key, institute
State the relative position according to second screen and first screen, include when the camera applications are in vertical screen state
The control button of first screen is shown in the predetermined position of second screen, further includes:
When first screen rotates to be transverse screen state counterclockwise by vertical screen state, second screen is located at first screen
Top when, include position corresponding with the top of the first screen in second screen by the camera switching key
Set place;
When first screen clockwise turns to transverse screen state by vertical screen state, second screen is located at first screen
Top when, include position corresponding with the bottom of the first screen in second screen by the camera switching key
Set place.
4. according to the method described in claim 1, it is characterized in that, the control button includes shooting button, when the movement
When terminal is in vertical screen state, the shooting button is shown in first bottom of screen;It is described according to second screen with
The relative position of first screen, include when the camera applications are in vertical screen state first screen control by
Key is shown in the predetermined position of second screen, including:
When first screen rotates to be transverse screen state by vertical screen state, second screen is located at the lower section of first screen
When, include at second screen position corresponding with the top of first screen or bottom by the shooting button.
5. according to the method described in claim 4, it is characterized in that, the control button further includes camera switching key, institute
State the relative position according to second screen and first screen, include when the camera applications are in vertical screen state
The control button of first screen is shown in the predetermined position of second screen, further includes:
When first screen rotates to be transverse screen state by vertical screen state, second screen is located at the lower section of first screen
When, include position corresponding with the top of first screen or bottom in second screen by the camera switching key
Set place.
6. according to any methods of claim 1-5, which is characterized in that further include:
When the mobile terminal is in transverse screen state, when the mobile terminal is in the vertical screen state described in the first screen
It is adjusted to show in a second direction along the content of text that first direction is shown, the first direction is perpendicular to the second direction.
7. according to any methods of claim 1-5, which is characterized in that first screen is aobvious equipped with the first preview screen
Show region, second screen is equipped with the second preview screen display area, first preview screen display area and described the
Two preview screen display areas are adjacent, and the method further includes:
If the mobile terminal is in transverse screen state, the preview image of the camera applications acquisition is obtained;
It, will be described pre- according to the position relationship of first preview screen display area and second preview screen display area
Image segmentation is look at into the first image and the second image;
Described first image is shown in first preview screen display area;
Second image is shown in second preview screen display area.
8. a kind of control device of camera applications, which is characterized in that be applied to mobile terminal, the mobile terminal includes the first table
Face, the second surface opposite with the first surface, the connection first surface and second surface side, be set to described the
First screen on one surface and the second screen for being set to the side, first screen is adjacent with second screen,
Described device includes:
Detection unit, for when the camera applications are run on first screen, detecting whether the mobile terminal is located
In transverse screen state;
Acquiring unit, for when the mobile terminal is in transverse screen state, obtaining second screen and first screen
Relative position;
The camera applications are in by display unit for the relative position according to second screen and first screen
The control button that first screen is shown in when vertical screen state is shown in the predetermined position of second screen.
9. a kind of mobile terminal, which is characterized in that including:It is memory, processor, first surface, opposite with the first surface
Second surface, the connection first surface and second surface side, be set to the first surface the first screen and
It is set to the second screen of the side, first screen is adjacent with second screen, the memory, first screen
Curtain and the second screen are coupled with the processor;The memory store instruction, when described instruction is executed by the processor
When so that the processor executes following operation:
When the camera applications are run on first screen, detect whether the mobile terminal is in transverse screen state;
When the mobile terminal is in transverse screen state, the relative position of second screen and first screen is obtained;
According to the relative position of second screen and first screen, shown when the camera applications are in vertical screen state
It is shown in the predetermined position of second screen in the control button of first screen.
10. a kind of computer-readable medium for the program code that can perform with processor, which is characterized in that said program code
The processor is set to execute any one of claim 1-7 the methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810036917.5A CN108366163B (en) | 2018-01-15 | 2018-01-15 | Control method and device for camera application, mobile terminal and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810036917.5A CN108366163B (en) | 2018-01-15 | 2018-01-15 | Control method and device for camera application, mobile terminal and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108366163A true CN108366163A (en) | 2018-08-03 |
CN108366163B CN108366163B (en) | 2020-11-17 |
Family
ID=63006272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810036917.5A Active CN108366163B (en) | 2018-01-15 | 2018-01-15 | Control method and device for camera application, mobile terminal and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366163B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947343A (en) * | 2019-01-21 | 2019-06-28 | 维沃移动通信有限公司 | A kind of control method and terminal device of application |
CN110727488A (en) * | 2019-09-09 | 2020-01-24 | 联想(北京)有限公司 | Information processing method, electronic equipment and computer readable storage medium |
CN111240541A (en) * | 2019-12-31 | 2020-06-05 | 歌尔科技有限公司 | Interface switching method, electronic equipment and computer readable storage medium |
CN111966254A (en) * | 2020-08-06 | 2020-11-20 | 惠州Tcl移动通信有限公司 | Image shooting method and device, storage medium and terminal |
CN112698745A (en) * | 2020-12-28 | 2021-04-23 | 维沃移动通信有限公司 | Control display method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110273540A1 (en) * | 2010-05-06 | 2011-11-10 | Lg Electronics Inc. | Method for operating an image display apparatus and an image display apparatus |
CN104615353A (en) * | 2015-02-15 | 2015-05-13 | 三星电子(中国)研发中心 | Webpage display method and device |
CN104866222A (en) * | 2015-05-08 | 2015-08-26 | 广州三星通信技术研究有限公司 | Method and apparatus for displaying controls used in terminal |
CN106095226A (en) * | 2016-06-01 | 2016-11-09 | 广州三星通信技术研究有限公司 | The method and apparatus of application program is run in electric terminal |
CN106648422A (en) * | 2016-11-18 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Application display control method and apparatus |
CN106775425A (en) * | 2017-01-13 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of terminal and its function button display methods |
CN106878543A (en) * | 2016-12-29 | 2017-06-20 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal operation management method, device and terminal |
CN107562362A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Photographing operation method, apparatus and terminal |
-
2018
- 2018-01-15 CN CN201810036917.5A patent/CN108366163B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110273540A1 (en) * | 2010-05-06 | 2011-11-10 | Lg Electronics Inc. | Method for operating an image display apparatus and an image display apparatus |
CN104615353A (en) * | 2015-02-15 | 2015-05-13 | 三星电子(中国)研发中心 | Webpage display method and device |
CN104866222A (en) * | 2015-05-08 | 2015-08-26 | 广州三星通信技术研究有限公司 | Method and apparatus for displaying controls used in terminal |
CN106095226A (en) * | 2016-06-01 | 2016-11-09 | 广州三星通信技术研究有限公司 | The method and apparatus of application program is run in electric terminal |
CN106648422A (en) * | 2016-11-18 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Application display control method and apparatus |
CN106878543A (en) * | 2016-12-29 | 2017-06-20 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal operation management method, device and terminal |
CN106775425A (en) * | 2017-01-13 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of terminal and its function button display methods |
CN107562362A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Photographing operation method, apparatus and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947343A (en) * | 2019-01-21 | 2019-06-28 | 维沃移动通信有限公司 | A kind of control method and terminal device of application |
CN110727488A (en) * | 2019-09-09 | 2020-01-24 | 联想(北京)有限公司 | Information processing method, electronic equipment and computer readable storage medium |
CN110727488B (en) * | 2019-09-09 | 2022-03-25 | 联想(北京)有限公司 | Information processing method, electronic equipment and computer readable storage medium |
CN111240541A (en) * | 2019-12-31 | 2020-06-05 | 歌尔科技有限公司 | Interface switching method, electronic equipment and computer readable storage medium |
CN111240541B (en) * | 2019-12-31 | 2023-06-13 | 歌尔科技有限公司 | Interface switching method, electronic device and computer readable storage medium |
CN111966254A (en) * | 2020-08-06 | 2020-11-20 | 惠州Tcl移动通信有限公司 | Image shooting method and device, storage medium and terminal |
CN111966254B (en) * | 2020-08-06 | 2022-06-10 | 惠州Tcl移动通信有限公司 | Image shooting method and device, storage medium and terminal |
CN112698745A (en) * | 2020-12-28 | 2021-04-23 | 维沃移动通信有限公司 | Control display method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108366163B (en) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3690625B1 (en) | Method and device for dynamically displaying icon according to background image | |
CN108366163A (en) | Control method, device, mobile terminal and the computer-readable medium of camera applications | |
US8619152B2 (en) | Mobile terminal and operating method thereof | |
CN107592466B (en) | Photographing method and mobile terminal | |
CN115525383B (en) | Wallpaper display method and device, mobile terminal and storage medium | |
CN108093099A (en) | Mobile terminal falling protection method and system and mobile terminal | |
CN108668077A (en) | Camera control method, device, mobile terminal and computer-readable medium | |
CN108710456A (en) | Application icon processing method, device and mobile terminal | |
CN108769506A (en) | Image-pickup method, device, mobile terminal and computer-readable medium | |
CN108717343A (en) | Application icon processing method, device and mobile terminal | |
CN108255674A (en) | multi-process browser process log collecting method, device and mobile terminal | |
CN108390992A (en) | Message display method, device, mobile terminal and storage medium | |
CN108388671A (en) | Information sharing method, device, mobile terminal and computer-readable medium | |
CN108540718A (en) | Image pickup method, device, mobile terminal and storage medium | |
CN108712602A (en) | Camera control method, device, mobile terminal and storage medium | |
CN109218982A (en) | Sight spot information acquisition methods, device, mobile terminal and storage medium | |
CN109068063B (en) | Three-dimensional image data processing and displaying method and device and mobile terminal | |
JP6862564B2 (en) | Methods, devices and non-volatile computer-readable media for image composition | |
CN110769154B (en) | Shooting method and electronic equipment | |
CN108317992A (en) | A kind of object distance measurement method and terminal device | |
CN109117037B (en) | Image processing method and terminal equipment | |
JP7472281B2 (en) | Electronic device and focusing method | |
CN110119231A (en) | Message display method, device, mobile terminal and storage medium | |
CN111770275A (en) | Shooting method and device, electronic equipment and readable storage medium | |
CN108391050B (en) | Image processing method 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |