CN109992181A - A kind of method, wearable device and storage medium being adapted to application program for mobile terminal interface - Google Patents
A kind of method, wearable device and storage medium being adapted to application program for mobile terminal interface Download PDFInfo
- Publication number
- CN109992181A CN109992181A CN201910236348.3A CN201910236348A CN109992181A CN 109992181 A CN109992181 A CN 109992181A CN 201910236348 A CN201910236348 A CN 201910236348A CN 109992181 A CN109992181 A CN 109992181A
- Authority
- CN
- China
- Prior art keywords
- application program
- wearable device
- resolution ratio
- mobile terminal
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- 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
-
- 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of method being adapted to application program for mobile terminal interface disclosed by the invention, when application program for mobile terminal is installed to wearable device, the application program is not adapted to the resolution ratio of the wearable device;The resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, sets the resolution ratio of the application program to the resolution ratio of the mobile terminal;The sliding control for supporting sliding is added in the root node of the wearable device, the display state of the Application Program Interface is adjusted by the sliding control.In addition, invention additionally discloses a kind of wearable device and computer readable storage mediums.When installing application program for mobile terminal on wearable device, it is laid out using the resolution ratio of mobile terminal, addition sliding control adjusts interface, solve wearable device causes Application Program Interface to be extruded due to showing that screen is smaller, show it is incomplete, and need one by one each interface of adaptation application program the problem of.
Description
Technical field
The present invention relates to wearable device fields, in particular to a kind of adaptation application program for mobile terminal interface
Method, wearable device and storage medium.
Background technique
Wearable device is called wearable smart machine, is to carry out intelligence to daily wearing using wearable technology to set
The general name for counting, developing the equipment that can be dressed can not depend on smart phone and realize complete or partial function.It is wearable to set
Standby is size and the equipment itself of display screen with the most apparent contrast of smart phone.It, can in order to reduce energy consumption and convenient for wearing
Wearable device is typically designed to small size.And it is size-constrained due to wearable device, so often the high width of screen is wide
The several times of degree.
The application program that wearable device supports installation to design exclusively for wearable device also supports installation mobile terminal to answer
Use program.Wearable device can be adapted to exclusively for the application program of wearable device design, but application program for mobile terminal
Because being designed for wearable device, if you need to be mounted on wearable device, without adaptation, can not normally make
With.
By taking bracelet as an example, for bracelet since screen width is narrower than mobile phone screen, resolution ratio is significantly less than smart phone screen.And
Major applications program is shown completely in mobile phone terminal, but be will appear on bracelet and is extruded, and is shown not congruent phenomenon, is influenced user
Use, need flower very great strength to go to each interface of adaptation application if adaptation, it is time-consuming and laborious.
Summary of the invention
The embodiment of the invention provides a kind of method, wearable device and storages for being adapted to application program for mobile terminal interface
Medium is laid out when installing application program for mobile terminal on wearable device using the resolution ratio of mobile terminal, and addition is slided
Dynamic event adjusts interface, at least solve in the related technology wearable device since screen is smaller leads to Application Program Interface for display
Be extruded, show it is incomplete, and need one by one each interface of adaptation application program the problem of.
According to an aspect of an embodiment of the present invention, a kind of method for being adapted to application program for mobile terminal interface is provided,
Applied to wearable device, comprising:
When application program is installed to the wearable device, detect whether the application program is mobile terminal application journey
Sequence;
When detecting the application program is application program for mobile terminal, the application program is not adapted to described wearable
The resolution ratio of equipment;
The resolution ratio of the application program is arranged the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally
For the resolution ratio of the mobile terminal;
The sliding control for supporting sliding is added in the root node of the wearable device, is adjusted by the sliding control
The display state of the Application Program Interface;
The Application Program Interface after adjustment is shown in the display screen of the wearable device.
Optionally, before the resolution ratio for obtaining mobile terminal, further includes:
The resolution ratio of wearable device is obtained, the resolution ratio of the wearable device includes the first display screen height and first
Display screen width.
Optionally, described when application program is installed to the wearable device, detect whether the application program is shifting
Dynamic end application, comprising:
When application program is installed to the wearable device, the application program source is detected, the application program is
Application program for mobile terminal or wearable device application program;
When the application program is wearable device application program, the application program directly executes can wear described in adaptation
The operation for wearing the resolution ratio of equipment shows the Application Program Interface in the display screen of the wearable device;
When the application program is application program for mobile terminal, the application program does not execute that adaptation is described wearable to be set
The operation of standby resolution ratio.
Optionally, described when detecting the application program is application program for mobile terminal, the application program is uncomfortable
Resolution ratio with the wearable device, comprising:
When detecting the application program is application program for mobile terminal, forbid to wear described in the application program acquisition
The resolution ratio of equipment is worn, and does not execute adapting operation.
Optionally, the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, by the application program
Resolution ratio be set as the resolution ratio of the mobile terminal, comprising:
Obtain the resolution ratio of the application program mobile terminal of adaptation originally, the resolution ratio of the mobile terminal includes the
Two display screen height and second display screen width;
Modification returns to the system interface of resolution ratio, and the resolution ratio of the application program is set the mobile terminal by default
Resolution ratio.
Optionally, described that the sliding control for supporting sliding is added in the root node of the wearable device, by described
Sliding control adjusts the display state of the Application Program Interface, comprising:
The sliding control for supporting sliding is added in the root node of the wearable device;
The sliding control is the lateral slide-bar being arranged in the display screen, passes through the lateral touch command received
The Application Program Interface is shown in a manner of horizontally slipping;And/or
The sliding control is to be arranged in the display screen to slide vertically item, passes through the vertical touch command received
The Application Program Interface is shown in a manner of sliding up and down.
Optionally, the method also includes:
Obtain the first magnitude difference of first screen height and the second screen height;
Obtain the second magnitude difference of first screen width and the second screen width.
Optionally, the Application Program Interface shown in the display screen of the wearable device after adjustment,
Include:
When the display screen of the wearable device initially shows the application program, the application program is shown centered on
In on the display screen of the wearable device;
According to first magnitude difference and second magnitude difference, touch control operation is executed;
When the display screen of the wearable device receives lateral touch command to the left, the display of the wearable device
Screen shows the right side interface of the application program;And/or
When the display screen of the wearable device receives lateral touch command to the right, the display of the wearable device
Screen shows the left side interface of the application program;And/or
When the display screen of the wearable device receives upward vertical touch command, the display of the wearable device
Screen shows the downside interface of the application program;And/or
When the display screen of the wearable device receives downwardly vertical touch command, the display of the wearable device
Screen shows the upside interface of the application program.
Other side according to an embodiment of the present invention provides a kind of wearable device, comprising:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step of computer program realizes the method when being executed by the processor.
Other side according to an embodiment of the present invention, provides a kind of storage medium, and the storage medium is stored with one
A or multiple programs, one or more of programs can be executed by one or more processor, to realize the method
The step of.
Compared to the prior art, a kind of method at adaptation application program for mobile terminal interface proposed by the invention, can wear
Equipment and storage medium are worn, when application program for mobile terminal is installed to wearable device, the application program is not adapted to described
The resolution ratio of wearable device;The resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, by the application program
Resolution ratio be set as the resolution ratio of the mobile terminal;The cunning for supporting sliding is added in the root node of the wearable device
Dynamic control adjusts the display state of the Application Program Interface by the sliding control;In the display of the wearable device
The Application Program Interface after adjustment is shown in screen.When installing application program for mobile terminal on wearable device, use
The resolution ratio of mobile terminal is laid out, addition sliding control adjust interface, solve wearable device due to display screen compared with
It is small that Application Program Interface is caused to be extruded, show it is incomplete, and need one by one each interface of adaptation application program the problem of, improve
The usage experience of user.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is a kind of process signal of method for being adapted to application program for mobile terminal interface disclosed by the embodiments of the present invention
Figure;
Fig. 6 is a kind of operation signal of method for being adapted to application program for mobile terminal interface disclosed by the embodiments of the present invention
Figure;
Fig. 7 is a kind of structural block diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 8 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move
Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually
End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio
Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display
The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention
A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio
Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable
The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn
The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101
What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device
It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes
Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing
The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message
Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one
Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio
Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example
Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server
With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server
Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind
User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple
Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code
Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division
S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE
Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term
Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged
Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its
And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely
Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through WiFi module 102,
The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102
Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1
WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root
It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100
When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound
Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,
It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,
Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor
Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using
Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint
Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets
For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen
Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment
It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing
Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device
User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with
The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple
It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments,
Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein
Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101
The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain
One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071
The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example
Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo
Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can
For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with
Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in
Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply
111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,
The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set
Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention
Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in
Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device
Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned wearable device hardware configuration, each embodiment of the method for the present invention is proposed.
The embodiment of the invention discloses a kind of method, wearable device and storages for being adapted to application program for mobile terminal interface
Medium is laid out when installing application program for mobile terminal on wearable device using the resolution ratio of mobile terminal, and addition is slided
Dynamic control adjusts interface, and solve wearable device causes Application Program Interface to be extruded due to showing that screen is smaller, and display is not
Entirely, the problem of and needing each interface of adaptation application program one by one, improves the usage experience of user.It carries out individually below detailed
It describes in detail bright.
Embodiment one
The method at adaptation application program for mobile terminal interface provided in this embodiment is suitable for various wearable devices, such as
Suitable for the wearable device that can be conversed and/or communicate, it is also applied for the wearable device that cannot be conversed and/or communicate, this can
Which wearable device specifically has the function of not as the limitation to wearable device provided in this embodiment, as long as it is that have to show
Show interface, equipped with application program, the method for being able to achieve adaptation application program for mobile terminal interface provided in this embodiment.
In the present embodiment, the resolution ratio with mobile terminal is 1920*1080, and the resolution ratio of wearable device is 108*192
This method is explained as an example.
A kind of method being adapted to application program for mobile terminal interface provided in this embodiment is shown in Figure 5, comprising:
Step S501: when application program is installed to the wearable device, detect whether the application program is mobile
End application.
Wherein, it is also necessary to obtain the resolution ratio of wearable device, the resolution ratio of the wearable device includes the first display
Screen height and the first display screen width.
Resolution ratio is screen parameter, including screen height and screen width.Tool can be obtained by UI interface dimensions to obtain
Resolution ratio, for example, those skilled in the art can be got by [[UIScreen mainScreen] bounds] it is wearable
The resolution ratio of device screen specifically can determine that screen is wide by [UIScreen mainScreen] .bounds.size.width
Degree, and screen height is determined by [UIScreen mainScreen] .bounds.size.height.Point of wearable device
Resolution includes: the first display screen height and the first display screen width, that is to say, that the first display screen height is wearable device
Screen height, the first display screen width are the screen width of wearable device.
In practical applications, when application program is installed to the wearable device, the application program source, institute are detected
Stating application program is application program for mobile terminal or wearable device application program.Because wearable device supports that installation is special
For the application program that wearable device designs, installation application program for mobile terminal is also supported.Exclusively for wearable device design
Application program can be adapted to wearable device, but application program for mobile terminal is because designed for wearable device, such as
It need to be mounted on wearable device, it, can not normal use without adaptation.
So needing to detect the application program installed, judge the application program for mobile terminal application journey
Sequence or wearable device application program.
When the application program is wearable device application program, the application program directly executes can wear described in adaptation
The operation for wearing the resolution ratio of equipment shows the Application Program Interface in the display screen of the wearable device, specific to be adapted to
Process is the prior art, is not being repeated herein.
When the application program is application program for mobile terminal, the application program does not execute that adaptation is described wearable to be set
The operation of standby resolution ratio.
Step S502: when detecting the application program is application program for mobile terminal, the application program is not adapted to
The resolution ratio of the wearable device.
In practical applications, when detecting the application program is application program for mobile terminal, forbid described using journey
Sequence obtains the resolution ratio of the wearable device, and does not execute adapting operation.
It should be noted that for application program for mobile terminal, because it is designed exclusively for wearable device
, and wearable device is typically designed to small size, resolution ratio is significantly less than mobile terminal screen, if you need to be mounted on originally
Application program on mobile terminal is mounted on wearable device, can not normal use without adaptation.
Flower very great strength is needed to go to each interface of adaptation application if adaptation, it is time-consuming and laborious.So forbidding described using journey
Sequence obtains the resolution ratio of the wearable device, and does not execute adapting operation, goes layout to apply using the resolution ratio of mobile terminal
The interface of program.
Step S503: the resolution ratio for the mobile terminal that the application program is adapted to originally is obtained, by the application program
Resolution ratio is set as the resolution ratio of the mobile terminal.
In practical applications, need to obtain the resolution ratio for the mobile terminal that the application program is adapted to originally, the movement
The resolution ratio of terminal includes second display screen height and second display screen width.It is described to obtain what the application program was adapted to originally
The method of the resolution ratio of mobile terminal can obtain tool by UI interface dimensions and obtain resolution ratio, implement step in step
S501 is it is stated that details are not described herein.
In practical applications, the system interface that resolution ratio can be returned by modification does not allow application program to obtain true
Hardware resolution information, default set the resolution ratio of the application program to the resolution ratio of the mobile terminal.
In practical applications, a label can be done, when needing adaptation application, then does above-mentioned this processing.
For example, in the present embodiment, the resolution ratio with mobile terminal is 1920*1080, the resolution of wearable device
Rate is that 108*192 explains this method as an example.If application program is because be the application that install originally on mobile terminals
Program, then its resolution ratio 1920*1080, that is to say, that if be directly installed on wearable device, because of wearable device
Resolution ratio be 108*192, application program can not be shown completely at all on wearable device, be easy to appear and be extruded, display
Not congruent phenomenon, influences the use of user.If adaptation needs to modify interface, increase development cost.If returned by modification
The system interface of resolution ratio, does not allow application program to obtain true hardware resolution information, and default is divided the application program
Resolution is set as the resolution ratio of the mobile terminal, then application program would not be extruded on wearable device, loses
Phenomena such as true.Interface each in this way is that 1920*1080 distributes each control size according to resolution ratio, is not in interface layout
The phenomenon that being extruded.
Step S504: the sliding control for supporting sliding is added in the root node of the wearable device, passes through the cunning
Dynamic control adjusts the display state of the Application Program Interface.
In practical applications, the resolution ratio of the application program is set to by defaulting the resolution of the mobile terminal
Phenomena such as rate, application program are not in be extruded on wearable device, distortion is that promotion user experience is much also not achieved
, because application program is still shown not entirely.For example, system has used 1920*1080 to be laid out, but the width of wearable device
Degree only 192, shows incomplete.
In practical applications, in order to user can complete view interface, in root layout i.e. on DecorView, addition one
Layer ScrollView, adds slip event, and user, can browser interface by sliding.Including the following contents:
The sliding control for supporting sliding is added in the root node of the wearable device;
The sliding control is the lateral slide-bar being arranged in the display screen, passes through the lateral touch command received
The Application Program Interface is shown in a manner of horizontally slipping;And/or
The sliding control is to be arranged in the display screen to slide vertically item, passes through the vertical touch command received
The Application Program Interface is shown in a manner of sliding up and down.
Step S505: the Application Program Interface after adjustment is shown in the display screen of the wearable device.
In practical applications, it is also necessary to obtain the first magnitude difference of first screen height and the second screen height;
And obtain the second magnitude difference of first screen width and the second screen width.
When the display screen of the wearable device initially shows the application program, the application program is shown centered on
In on the display screen of the wearable device.According to first magnitude difference and second magnitude difference, touch-control behaviour is executed
Make.Because the first screen height is possible to be greater than the second screen height, it is also possible to which, less than the second screen height, the first screen is wide
Degree is possible to be greater than the second screen width, it is also possible to less than the second screen width, need the actual conditions according to interface, carry out
Touch control operation.
When the display screen of the wearable device receives lateral touch command to the left, the display of the wearable device
Screen shows the right side interface of the application program;And/or when the display screen of the wearable device receives lateral touch-control to the right
When instruction, the display screen of the wearable device shows the left side interface of the application program;And/or work as the wearable device
Display screen when receiving upward vertical touch command, the display screen of the wearable device shows the downside of the application program
Interface;And/or when the display screen of the wearable device receives downwardly vertical touch command, the wearable device is shown
Display screen shows the upside interface of the application program.
It is adjusted by above-mentioned sliding, application program is just complete with display, and user is with regard to can completely browser interface.Such as Fig. 6
Shown, Fig. 6 is a kind of operation chart of method for being adapted to application program for mobile terminal interface disclosed by the embodiments of the present invention, when
The resolution ratio of mobile terminal is 1920*1080, and when the resolution ratio of wearable device is 108*192, i.e. the content of application program is wide
Degree is 1080, and the width of bracelet is 192, and the content width of application program is greater than the width of bracelet, the initial display of application program
State is imperfect display interface, and user, being capable of complete view interface by touching slide to the left.
As it can be seen that a kind of method for being adapted to application program for mobile terminal interface described in implementation example figure 5, when mobile terminal is answered
When being installed with program to wearable device, the application program is not adapted to the resolution ratio of the wearable device;It is answered described in acquisition
With the resolution ratio for the mobile terminal that program is adapted to originally, it sets the resolution ratio of the application program to point of the mobile terminal
Resolution;The sliding control for supporting sliding is added in the root node of the wearable device, institute is adjusted by the sliding control
State the display state of Application Program Interface;The application program after adjustment is shown in the display screen of the wearable device
Interface.It when installing application program for mobile terminal on wearable device, is laid out using the resolution ratio of mobile terminal, addition is slided
Dynamic control adjusts interface, and solve wearable device causes Application Program Interface to be extruded due to showing that screen is smaller, and display is not
Entirely, the problem of and needing each interface of adaptation application program one by one, improves the usage experience of user.
Embodiment two
According to embodiments of the present invention, it additionally provides a kind of for implementing the wearable device of the above method.
Fig. 7 is a kind of structural block diagram of wearable device according to an embodiment of the present invention, as shown in figure 8, this wearable sets
Standby may include: one or more (one is only shown in figure) processors 702, memory 701, processor 702 and memory 701
It is connected by communication bus.
Wherein, memory 701 can be used for storing software program and module, as the adaptation in the embodiment of the present invention is mobile eventually
Corresponding program instruction/the module of method of Application Program Interface is held, processor 702 is stored in memory 701 by operation
Software program and module realize above-mentioned adaptation mobile terminal application thereby executing various function application and data processing
The method of program interface.Memory 701 may include high speed random access memory 701, can also include nonvolatile memory 701,
Such as one or more magnetic storage device, flash memory or other non-volatile solid state memories 701.In some instances, it deposits
Reservoir 701 can further comprise the memory 701 remotely located relative to processor 702, these remote memories 701 can lead to
Network connection is crossed to terminal.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile communication
Net and combinations thereof.
Above-mentioned wearable device further includes that transmitting device (not shown) is used to receive or send out via a network
Send data.Above-mentioned network specific example may include cable network and wireless network.In an example, transmitting device includes one
A network adapter (Network Interface Controller, NIC), can pass through cable and other network equipments and road
It is connected by device so as to be communicated with internet or local area network.In an example, transmitting device is radio frequency (Radio
Frequency, RF) module, it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 701 is for storing application program;
The method program at the adaptation application program for mobile terminal interface that processor 702 can call memory 701 to store, with
Execute following step:
When application program is installed to the wearable device, detect whether the application program is mobile terminal application journey
Sequence;
When detecting the application program is application program for mobile terminal, the application program is not adapted to described wearable
The resolution ratio of equipment;
The resolution ratio of the application program is arranged the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally
For the resolution ratio of the mobile terminal;
The sliding control for supporting sliding is added in the root node of the wearable device, is adjusted by the sliding control
The display state of the Application Program Interface;
The Application Program Interface after adjustment is shown in the display screen of the wearable device.
Optionally, before the resolution ratio for obtaining mobile terminal, further includes:
The resolution ratio of wearable device is obtained, the resolution ratio of the wearable device includes the first display screen height and first
Display screen width.
Optionally, described when application program is installed to the wearable device, detect whether the application program is shifting
Dynamic end application, comprising:
When application program is installed to the wearable device, the application program source is detected, the application program is
Application program for mobile terminal or wearable device application program;
When the application program is wearable device application program, the application program directly executes can wear described in adaptation
The operation for wearing the resolution ratio of equipment shows the Application Program Interface in the display screen of the wearable device;
When the application program is application program for mobile terminal, the application program does not execute that adaptation is described wearable to be set
The operation of standby resolution ratio.
Optionally, described when detecting the application program is application program for mobile terminal, the application program is uncomfortable
Resolution ratio with the wearable device, comprising:
When detecting the application program is application program for mobile terminal, forbid to wear described in the application program acquisition
The resolution ratio of equipment is worn, and does not execute adapting operation.
Optionally, the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, by the application program
Resolution ratio be set as the resolution ratio of the mobile terminal, comprising:
Obtain the resolution ratio of the application program mobile terminal of adaptation originally, the resolution ratio of the mobile terminal includes the
Two display screen height and second display screen width;
Modification returns to the system interface of resolution ratio, and the resolution ratio of the application program is set the mobile terminal by default
Resolution ratio.
Optionally, described that the sliding control for supporting sliding is added in the root node of the wearable device, by described
Sliding control adjusts the display state of the Application Program Interface, comprising:
The sliding control for supporting sliding is added in the root node of the wearable device;
The sliding control is the lateral slide-bar being arranged in the display screen, passes through the lateral touch command received
The Application Program Interface is shown in a manner of horizontally slipping;And/or
The sliding control is to be arranged in the display screen to slide vertically item, passes through the vertical touch command received
The Application Program Interface is shown in a manner of sliding up and down.
Optionally, the method also includes:
Obtain the first magnitude difference of first screen height and the second screen height;
Obtain the second magnitude difference of first screen width and the second screen width.
Optionally, the Application Program Interface shown in the display screen of the wearable device after adjustment,
Include:
When the display screen of the wearable device initially shows the application program, the application program is shown centered on
In on the display screen of the wearable device;
According to first magnitude difference and second magnitude difference, touch control operation is executed;
When the display screen of the wearable device receives lateral touch command to the left, the display of the wearable device
Screen shows the right side interface of the application program;And/or
When the display screen of the wearable device receives lateral touch command to the right, the display of the wearable device
Screen shows the left side interface of the application program;And/or
When the display screen of the wearable device receives upward vertical touch command, the display of the wearable device
Screen shows the downside interface of the application program;And/or
When the display screen of the wearable device receives downwardly vertical touch command, the display of the wearable device
Screen shows the upside interface of the application program.
Wearable device provided by the present embodiment is used when installing application program for mobile terminal on wearable device
The resolution ratio of mobile terminal is laid out, addition sliding control adjust interface, solve wearable device due to display screen compared with
It is small that Application Program Interface is caused to be extruded, show it is incomplete, and need one by one each interface of adaptation application program the problem of, improve
The usage experience of user.
Based on above-mentioned each embodiment, it can be seen that if the wearable device be wrist-watch or bracelet, it is described can
The screen of wearable device can not overlay device watchband region, can also be with the watchband region of overlay device.Here, the present invention mentions
A kind of optional embodiment out, in the present embodiment, the wearable device is wrist-watch or bracelet, described wearable to set
Standby includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.Optionally, described
The screen of wearable device or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 8 institute
Show, Fig. 8 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, described wearable to set
Standby screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the wearable device
Screen can also be all covered on the watchband of the wearable device.
Embodiment three
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store in a storage medium,
At least one program is performed, comprising the following steps:
When application program is installed to the wearable device, detect whether the application program is mobile terminal application journey
Sequence;
When detecting the application program is application program for mobile terminal, the application program is not adapted to described wearable
The resolution ratio of equipment;
The resolution ratio of the application program is arranged the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally
For the resolution ratio of the mobile terminal;
The sliding control for supporting sliding is added in the root node of the wearable device, is adjusted by the sliding control
The display state of the Application Program Interface;
The Application Program Interface after adjustment is shown in the display screen of the wearable device.
Optionally, before the resolution ratio for obtaining mobile terminal, further includes:
The resolution ratio of wearable device is obtained, the resolution ratio of the wearable device includes the first display screen height and first
Display screen width.
Optionally, described when application program is installed to the wearable device, detect whether the application program is shifting
Dynamic end application, comprising:
When application program is installed to the wearable device, the application program source is detected, the application program is
Application program for mobile terminal or wearable device application program;
When the application program is wearable device application program, the application program directly executes can wear described in adaptation
The operation for wearing the resolution ratio of equipment shows the Application Program Interface in the display screen of the wearable device;
When the application program is application program for mobile terminal, the application program does not execute that adaptation is described wearable to be set
The operation of standby resolution ratio.
Optionally, described when detecting the application program is application program for mobile terminal, the application program is uncomfortable
Resolution ratio with the wearable device, comprising:
When detecting the application program is application program for mobile terminal, forbid to wear described in the application program acquisition
The resolution ratio of equipment is worn, and does not execute adapting operation.
Optionally, the resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, by the application program
Resolution ratio be set as the resolution ratio of the mobile terminal, comprising:
Obtain the resolution ratio of the application program mobile terminal of adaptation originally, the resolution ratio of the mobile terminal includes the
Two display screen height and second display screen width;
Modification returns to the system interface of resolution ratio, and the resolution ratio of the application program is set the mobile terminal by default
Resolution ratio.
Optionally, described that the sliding control for supporting sliding is added in the root node of the wearable device, by described
Sliding control adjusts the display state of the Application Program Interface, comprising:
The sliding control for supporting sliding is added in the root node of the wearable device;
The sliding control is the lateral slide-bar being arranged in the display screen, passes through the lateral touch command received
The Application Program Interface is shown in a manner of horizontally slipping;And/or
The sliding control is to be arranged in the display screen to slide vertically item, passes through the vertical touch command received
The Application Program Interface is shown in a manner of sliding up and down.
Optionally, the method also includes:
Obtain the first magnitude difference of first screen height and the second screen height;
Obtain the second magnitude difference of first screen width and the second screen width.
Optionally, the Application Program Interface shown in the display screen of the wearable device after adjustment,
Include:
When the display screen of the wearable device initially shows the application program, the application program is shown centered on
In on the display screen of the wearable device;
According to first magnitude difference and second magnitude difference, touch control operation is executed;
When the display screen of the wearable device receives lateral touch command to the left, the display of the wearable device
Screen shows the right side interface of the application program;And/or
When the display screen of the wearable device receives lateral touch command to the right, the display of the wearable device
Screen shows the left side interface of the application program;And/or
When the display screen of the wearable device receives upward vertical touch command, the display of the wearable device
Screen shows the downside interface of the application program;And/or
When the display screen of the wearable device receives downwardly vertical touch command, the display of the wearable device
Screen shows the upside interface of the application program.
Storage medium provided by the present embodiment uses shifting when installing application program for mobile terminal on wearable device
The resolution ratio of dynamic terminal is laid out, and addition sliding control adjusts interface, solves wearable device since display screen is smaller
Cause Application Program Interface to be extruded, show it is incomplete, and need one by one each interface of adaptation application program the problem of, improve
The usage experience of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of method for being adapted to application program for mobile terminal interface, is applied to wearable device, which is characterized in that the method
Include:
When application program is installed to the wearable device, detect whether the application program is application program for mobile terminal;
When detecting the application program is application program for mobile terminal, the application program is not adapted to the wearable device
Resolution ratio;
The resolution ratio for obtaining the mobile terminal that the application program is adapted to originally, sets institute for the resolution ratio of the application program
State the resolution ratio of mobile terminal;
The sliding control for supporting sliding is added in the root node of the wearable device, by described in sliding control adjustment
The display state of Application Program Interface;
The Application Program Interface after adjustment is shown in the display screen of the wearable device.
2. the method according to claim 1, wherein before the resolution ratio for obtaining mobile terminal, further includes:
The resolution ratio of wearable device is obtained, the resolution ratio of the wearable device includes the first display screen height and the first display
Shield width.
3. the method according to claim 1, wherein described when application program is installed to the wearable device
When, detect whether the application program is application program for mobile terminal, comprising:
When application program is installed to the wearable device, the application program source is detected, the application program is movement
End application or wearable device application program;
When the application program is wearable device application program, the application program, which directly executes, is adapted to described wearable set
The operation of standby resolution ratio shows the Application Program Interface in the display screen of the wearable device;
When the application program is application program for mobile terminal, the application program does not execute the adaptation wearable device
The operation of resolution ratio.
4. the method according to claim 1, wherein described ought detect that the application program is answered for mobile terminal
When with program, the application program is not adapted to the resolution ratio of the wearable device, comprising:
When detecting the application program is application program for mobile terminal, the application program is forbidden to obtain described wearable set
Standby resolution ratio, and do not execute adapting operation.
5. the method according to claim 1, wherein the mobile end for obtaining the application program and being adapted to originally
The resolution ratio at end sets the resolution ratio of the application program to the resolution ratio of the mobile terminal, comprising:
The resolution ratio for the mobile terminal that the application program is adapted to originally is obtained, the resolution ratio of the mobile terminal includes second aobvious
Display screen height and second display screen width;
Modification returns to the system interface of resolution ratio, and default sets the resolution ratio of the application program to point of the mobile terminal
Resolution.
6. the method according to claim 1, wherein described be added branch in the root node of the wearable device
The sliding control for holding sliding adjusts the display state of the Application Program Interface by the sliding control, comprising:
The sliding control for supporting sliding is added in the root node of the wearable device;
The sliding control is the lateral slide-bar being arranged in the display screen, by the lateral touch command that receives with a left side
The mode of right sliding shows the Application Program Interface;And/or
The sliding control is to be arranged in the display screen to slide vertically item, by more than the vertical touch command that receives
The mode of lower slider shows the Application Program Interface.
7. method according to any one of claims 1-5, which is characterized in that the method also includes:
Obtain the first magnitude difference of first screen height and the second screen height;
Obtain the second magnitude difference of first screen width and the second screen width.
8. the method according to the description of claim 7 is characterized in that described show tune in the display screen of the wearable device
The Application Program Interface after whole, comprising:
When the display screen of the wearable device initially shows the application program, the application program is shown centered in institute
It states on the display screen of wearable device;
According to first magnitude difference and second magnitude difference, touch control operation is executed;
When the display screen of the wearable device receives lateral touch command to the left, the display screen display of the wearable device
Show the right side interface of the application program;And/or
When the display screen of the wearable device receives lateral touch command to the right, the display screen display of the wearable device
Show the left side interface of the application program;And/or
When the display screen of the wearable device receives upward vertical touch command, the display screen display of the wearable device
Show the downside interface of the application program;And/or
When the display screen of the wearable device receives downwardly vertical touch command, the display screen display of the wearable device
Show the upside interface of the application program.
9. a kind of wearable device, which is characterized in that the wearable device includes memory, at least one processor and storage
And can be at least one program of at least one described processor execution on the memory, at least one described program is by institute
State the step realized in any one of the claims 1-8 the method when at least one processor executes.
10. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or
The multiple programs of person can be executed by one or more processor, to realize the step in any one of claim 1-8 the method
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910236348.3A CN109992181B (en) | 2019-03-27 | 2019-03-27 | Method for adapting application program interface of mobile terminal, wearable device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910236348.3A CN109992181B (en) | 2019-03-27 | 2019-03-27 | Method for adapting application program interface of mobile terminal, wearable device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109992181A true CN109992181A (en) | 2019-07-09 |
CN109992181B CN109992181B (en) | 2021-09-14 |
Family
ID=67131702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910236348.3A Active CN109992181B (en) | 2019-03-27 | 2019-03-27 | Method for adapting application program interface of mobile terminal, wearable device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992181B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503655A (en) * | 2014-11-28 | 2015-04-08 | 晨星半导体股份有限公司 | Application program interface display control method and device |
CN105373385A (en) * | 2015-11-23 | 2016-03-02 | 四川长虹电器股份有限公司 | Multi-resolution UI (User Interface) adaption scripting development method of Android application |
CN108334391A (en) * | 2017-12-31 | 2018-07-27 | 广州金十信息科技有限公司 | A kind of multisystem shows adaptation method, electronic equipment and storage medium |
US20180232120A1 (en) * | 2015-08-17 | 2018-08-16 | Lg Electronics Inc. | Wearable device and controlling method thereof |
CN109375967A (en) * | 2018-08-27 | 2019-02-22 | 北京达佳互联信息技术有限公司 | Application Program Interface display methods and device, mobile terminal and storage medium |
-
2019
- 2019-03-27 CN CN201910236348.3A patent/CN109992181B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503655A (en) * | 2014-11-28 | 2015-04-08 | 晨星半导体股份有限公司 | Application program interface display control method and device |
US20180232120A1 (en) * | 2015-08-17 | 2018-08-16 | Lg Electronics Inc. | Wearable device and controlling method thereof |
CN105373385A (en) * | 2015-11-23 | 2016-03-02 | 四川长虹电器股份有限公司 | Multi-resolution UI (User Interface) adaption scripting development method of Android application |
CN108334391A (en) * | 2017-12-31 | 2018-07-27 | 广州金十信息科技有限公司 | A kind of multisystem shows adaptation method, electronic equipment and storage medium |
CN109375967A (en) * | 2018-08-27 | 2019-02-22 | 北京达佳互联信息技术有限公司 | Application Program Interface display methods and device, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109992181B (en) | 2021-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109976609A (en) | Slide response method, wearable device and computer readable storage medium | |
CN110362368A (en) | Picture customization display methods, relevant device and the storage medium of wearable device | |
CN110062279A (en) | Video method of cutting out, wearable device and computer readable storage medium | |
CN110134312A (en) | Control method, wearable device and computer readable storage medium | |
CN110401434A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN110099176A (en) | Breath screen display methods, wearable device and computer readable storage medium | |
CN110175066A (en) | Wearable device, interaction control method and computer readable storage medium | |
CN110083289A (en) | A kind of button display methods, wearable device and computer readable storage medium | |
CN109947325A (en) | Application icon display methods, wearable device and computer readable storage medium | |
CN109947501A (en) | Starting processing method, wearable device and the storage medium of application program | |
CN109933400A (en) | Display interface layout method, wearable device and computer readable storage medium | |
CN110071866A (en) | A kind of instant messaging application control method, wearable device and storage medium | |
CN110191230A (en) | Application interface display methods, mobile terminal and readable storage medium storing program for executing | |
CN110187764A (en) | A kind of barrage display methods, wearable device and storage medium | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN110109603A (en) | A kind of page operation method, wearable device and computer readable storage medium | |
CN110167113A (en) | A kind of apparatus control method, wearable device and computer readable storage medium | |
CN110120208A (en) | A kind of method, wearable device and storage medium that automatic adjustment screen is shown | |
CN109992181A (en) | A kind of method, wearable device and storage medium being adapted to application program for mobile terminal interface | |
CN110187950A (en) | Adjust method, wearable device and the storage medium of picture position | |
CN110113481A (en) | Open method, terminal, wearable device and the medium of corresponding application on wearable device | |
CN110018775A (en) | A kind of content display method, terminal and computer readable storage medium | |
CN110147158A (en) | A kind of power consumption control method, wearable device and computer readable storage medium | |
CN110069294A (en) | Configuration method, system, wearable device and the medium that third-party application adapts to | |
CN110083205A (en) | Page switching method, wearable device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |