Abstract:
A method and a terminal for reporting sensor data are provided. The method for reporting sensor data includes: when a processor needs to process only sensor data collected by a sensor, sending, by the processor, an indication that the processor is to enter a sleep state, and entering the sleep state; after the processor enters the sleep state, receiving and temporarily storing, by a sensor hub, the sensor data collected and reported by the sensor into an event information table, recording, by the sensor hub, corresponding time at which the sensor collects the sensor data, and further temporarily storing the time into the event information table; and when the processor is restored to a working state, reporting, by the sensor hub, the event information table to the processor, so that the processor parses the event information table to complete corresponding processing.
Abstract:
A method includes determining a connection line between two eyes in each piece of profile picture information by identifying profile picture information of each viewer of at least two viewers, and determining a positive direction of each connection line according to the connection line between the two eyes in each piece of profile picture information and a preset positive direction determining rule. When the positive directions of all the connection lines are the same, calculating an included angle between the positive direction of each connection line and a positive direction of a reference line, and performing averaging on all the included angles to obtain a first included angle; and determining a display mode of a screen according to the first included angle.
Abstract:
An electronic apparatus is provided that is applicable to the field of electronic technologies. The electronic apparatus is equipped with at least one magnetic sensor for obtaining a change of an external magnetic field and controlling content displayed on a screen according to the change. In the present invention, an electronic apparatus is equipped with at least one magnetic sensor for obtaining a change of an external magnetic field and controlling content displayed on a screen according to the change; therefore, a corresponding operation may be conveniently and quickly performed only by moving a magnetic pen close to the electronic apparatus.
Abstract:
Embodiments of the present disclosure provide a method and a terminal for accessing a file of a terminal, to implement uniform management of a built-in SD card and an external SD card in a smart terminal, thereby effectively improving utilization of storage space of the smart terminal. The method includes: receiving a request for accessing a file, where the access request includes a first file path that is an access path of the file; converting the first file path into a second file path according to a path mapping list of the user space file system when the first file path points to the user space file system, where the second file path is an actual storage path of the file in the at least two storage areas; and accessing the file according to the second file path.
Abstract:
Embodiments of the present invention disclose a method, an apparatus, and a system for controlling a mobile terminal, and a mobile terminal. The method includes: after being successfully connected to the mobile terminal, simulating an earphone wire control key event, and generating control trigger information corresponding to the mobile terminal; and sending the control trigger information to the mobile terminal through an earphone wire control key interface to control the mobile terminal. The apparatus includes a CPU, an earphone output plug, and an earphone wire control key interface, where the CPU includes a generating module and a sending module. The system includes the mobile terminal and the foregoing apparatus for controlling a mobile terminal. In the embodiments, a peripheral controls the mobile terminal by using an earphone interface of the mobile terminal, thereby realizing function extension of the earphone interface of the mobile terminal.
Abstract:
A method for generating a display frame and a terminal device is disclosed. When an execution result of a render operation of each application currently running on a terminal device or a compose operation of an application framework layer of a terminal device meets a predetermined condition, a render execution manner of each application and a compose execution manner of the application framework layer are adjusted. Each application executes a render operation in an adjusted render execution manner to render an image of each application. The application framework layer executes a compose operation in an adjusted compose execution manner to compose a display frame from the images of the applications.
Abstract:
Embodiments of a file transfer method and a terminal disclosed herein belong to the field of data transfer. The method includes: detecting, by a file sending terminal, a screen touching action of a user; after confirming that the screen touching action is a preset file transfer action, determining a to-be-transferred file according to the screen touching action, and determining a file receiving terminal that establishes a connection with the file sending terminal, where the preset file transfer action has a corresponding file transfer instruction; and performing, by the file sending terminal, a corresponding transfer operation according to the file transfer instruction. Therefore, a used connection manner does not need to be selected each time a file is transferred, implementing fast file transfer by using simple screen touching actions.
Abstract:
A method is provided for adjusting a storage space of a partition of an embedded multimedia card and a terminal. The method includes: determining a current external SD card mode of a terminal, where the external SD card mode includes an external SD card installed mode or an external SD card uninstalled mode; receiving instruction information, where the instruction information is used for instructing the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, or used for instructing the terminal to switch from the external SD card installed mode to the external SD card uninstalled mode; and adjusting a size of a storage space of a partition of an embedded multimedia card according to the instruction information.
Abstract:
An information processing method, device and apparatus are disclosed. An information processing apparatus acquires a mode-enabling gesture information of a user. An input mode corresponding to the mode-enabling gesture information is enabled. The input mode includes a keyboard input mode and a mouse input mode. Gesture information of the user is acquired in the input mode. The gesture information includes at least one of tap-gesture information and slide-gesture information. An operation instruction corresponding to the gesture information is generated according to a preset correspondence between gesture information and an operation instruction.
Abstract:
A data collecting method and apparatus, and a mobile terminal are provided. The data collecting method may be applied in an apparatus including multiple data collecting units. The method includes collecting, by at least two data collecting units, initial data simultaneously at their respective collecting frequencies and at a collection starting moment and collecting, at a synchronous collecting frequency, the initial data collected by the at least two data collecting units so as to obtain synchronous data. The synchronous collecting frequency is a common divisor frequency of the respective collecting frequencies of the at least two data collecting units.